diff options
author | David Johnson <david.johnson@oerc.ox.ac.uk> | 2016-06-25 10:46:42 -0700 |
---|---|---|
committer | Brian Waldon <brian@waldon.cc> | 2016-06-25 10:49:15 -0700 |
commit | 64a771d151a5defb9bca82042f2c78d513b33aa9 (patch) | |
tree | 6564e9d7d5afd866a469198778c7e7683c26b797 /test/schemas/country.json | |
parent | 9d89de02df78a5315ec9e75145eb4a6578c05598 (diff) | |
download | warlock-64a771d151a5defb9bca82042f2c78d513b33aa9.tar.gz |
Allow a resolver to be set on the Model
Diffstat (limited to 'test/schemas/country.json')
-rw-r--r-- | test/schemas/country.json | 10 |
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 |