Add ci test: validate against RNG schema
Change-Id: Ic13374c57db47b15480cc3c1ff82301bae573fa8
diff --git a/schemas/csl-categories.rnc b/schemas/csl-categories.rnc
new file mode 100644
index 0000000..4e44b5c
--- /dev/null
+++ b/schemas/csl-categories.rnc
@@ -0,0 +1,38 @@
+namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
+
+
+## Categories for style metadata
+div {
+ category.citation-format =
+ "author" | "author-date" | "label" | "note" | "numeric"
+
+ ## Use "generic-base" for styles that are non-discipline specific, such as
+ ## APA, Harvard, etc.
+ category.field =
+ "anthropology"
+ | "astronomy"
+ | "biology"
+ | "botany"
+ | "chemistry"
+ | "communications"
+ | "engineering"
+ | "generic-base"
+ | "geography"
+ | "geology"
+ | "history"
+ | "humanities"
+ | "law"
+ | "linguistics"
+ | "literature"
+ | "math"
+ | "medicine"
+ | "philosophy"
+ | "physics"
+ | "political_science"
+ | "psychology"
+ | "science"
+ | "social_science"
+ | "sociology"
+ | "theology"
+ | "zoology"
+}