diff options
Diffstat (limited to 'deps/node/deps/npm/node_modules/json-schema/draft-03/examples/address')
-rw-r--r-- | deps/node/deps/npm/node_modules/json-schema/draft-03/examples/address | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/deps/node/deps/npm/node_modules/json-schema/draft-03/examples/address b/deps/node/deps/npm/node_modules/json-schema/draft-03/examples/address new file mode 100644 index 00000000..074d34e8 --- /dev/null +++ b/deps/node/deps/npm/node_modules/json-schema/draft-03/examples/address @@ -0,0 +1,20 @@ +{ + "description" : "An Address following the convention of http://microformats.org/wiki/hcard", + "type" : "object", + "properties" : { + "post-office-box" : { "type" : "string" }, + "extended-address" : { "type" : "string" }, + "street-address" : { "type":"string" }, + "locality" : { "type" : "string", "required" : true }, + "region" : { "type" : "string", "required" : true }, + "postal-code" : { "type" : "string" }, + "country-name" : { "type" : "string", "required" : true } + }, + "dependencies" : { + "post-office-box" : "street-address", + "extended-address" : "street-address", + "street-address" : "region", + "locality" : "region", + "region" : "country-name" + } +}
\ No newline at end of file |