aboutsummaryrefslogtreecommitdiff
path: root/share/contrib/chirp.rnc
blob: 6ea271583c0ef09c8fdd181e9befc0262ff0c4ec (plain) (blame)
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}" }