1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 11:20:19 +00:00
musix-oss/node_modules/json-schema/draft-03/examples/address

20 lines
673 B
Plaintext
Raw Normal View History

2019-05-30 09:06:47 +00:00
{
"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"
}
}