aboutsummaryrefslogtreecommitdiff
path: root/share/contrib/chirp.rnc
diff options
context:
space:
mode:
Diffstat (limited to 'share/contrib/chirp.rnc')
-rw-r--r--share/contrib/chirp.rnc28
1 files changed, 28 insertions, 0 deletions
diff --git a/share/contrib/chirp.rnc b/share/contrib/chirp.rnc
new file mode 100644
index 0000000..6ea2715
--- /dev/null
+++ b/share/contrib/chirp.rnc
@@ -0,0 +1,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}" }