Initial commit
[yaffs-website] / node_modules / json-schema / draft-03 / examples / address
1 {\r
2         "description" : "An Address following the convention of http://microformats.org/wiki/hcard",\r
3         "type" : "object",\r
4         "properties" : {\r
5                 "post-office-box" : { "type" : "string" },\r
6                 "extended-address" : { "type" : "string" },\r
7                 "street-address" : { "type":"string" },\r
8                 "locality" : { "type" : "string", "required" : true },\r
9                 "region" : { "type" : "string", "required" : true },\r
10                 "postal-code" : { "type" : "string" },\r
11                 "country-name" : { "type" : "string", "required" : true }\r
12         },\r
13         "dependencies" : {\r
14                 "post-office-box" : "street-address",\r
15                 "extended-address" : "street-address",\r
16                 "street-address" : "region",\r
17                 "locality" : "region",\r
18                 "region" : "country-name"\r
19         }\r
20 }