| 1 | { |
| 2 | "description" : "An Address following the convention of http://microformats.org/wiki/hcard", |
| 3 | "type" : "object", |
| 4 | "properties" : { |
| 5 | "post-office-box" : { "type" : "string" }, |
| 6 | "extended-address" : { "type" : "string" }, |
| 7 | "street-address" : { "type":"string" }, |
| 8 | "locality" : { "type" : "string", "required" : true }, |
| 9 | "region" : { "type" : "string", "required" : true }, |
| 10 | "postal-code" : { "type" : "string" }, |
| 11 | "country-name" : { "type" : "string", "required" : true } |
| 12 | }, |
| 13 | "dependencies" : { |
| 14 | "post-office-box" : "street-address", |
| 15 | "extended-address" : "street-address", |
| 16 | "street-address" : "region", |
| 17 | "locality" : "region", |
| 18 | "region" : "country-name" |
| 19 | } |
| 20 | } |