install-nix-action/node_modules/json-schema/draft-03/examples/address
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +01:00

20 lines
No EOL
692 B
Text

{
"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"
}
}