aboutsummaryrefslogtreecommitdiff
path: root/share/contrib/chirp.rnc
diff options
context:
space:
mode:
authorMatthew Poletiek <matthew.poletiek@gmail.com>2020-12-08 21:03:16 -0600
committerMatthew Poletiek <matthew.poletiek@gmail.com>2020-12-08 21:03:16 -0600
commite99416456afd4aa8bde42016826f9a345291cbf3 (patch)
treea7a95639cd1cb5dbe2d91a2ca8e8defafac4296d /share/contrib/chirp.rnc
parent194cf4e5e0b6a2811103a9b739a72b9afe2b886c (diff)
downloadchirp-e99416456afd4aa8bde42016826f9a345291cbf3.tar.gz
chirp-e99416456afd4aa8bde42016826f9a345291cbf3.tar.xz
Initial Commit
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}" }