summaryrefslogtreecommitdiff
path: root/test/schemas/country.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/schemas/country.json')
-rw-r--r--test/schemas/country.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/schemas/country.json b/test/schemas/country.json
new file mode 100644
index 0000000..730eb0d
--- /dev/null
+++ b/test/schemas/country.json
@@ -0,0 +1,10 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema",
+ "name": "Country",
+ "properties": {
+ "name": {"type": "string"},
+ "population": {"type": "integer"},
+ "overlord": { "$ref": "person.json#" }
+ },
+ "additionalProperties": false
+} \ No newline at end of file