File: chirp.rnc

package info (click to toggle)
chirp 1%3A20200227%2Bpy3%2B20200213-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 10,568 kB
  • sloc: python: 95,766; ansic: 296; sh: 184; makefile: 40
file content (28 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 
# CHIRP XML Schema
# Copyright 2008 Dan Smith <dsmith@danplanet.com>
#

include "chirp_memory.rnc"
include "chirp_banks.rnc"

start = radio 

radio = element radio { 
   attribute version { chirpSchemaVersionType }?,
   comment?,
   memories,
   banks
}

comment = element comment { xsd:string }?

memories = element memories { 
   element memory { memoryType }* 
}

banks = element banks { 
   element bank { bankType }* 
}

chirpSchemaVersionType = xsd:string { pattern = "[0-9][0-9]*.[0-9][0-9]*.[0-9]{1,4}" }