source: trip-planner-front/node_modules/json-schema/draft-03/examples/address

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 673 bytes
Line 
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}
Note: See TracBrowser for help on using the repository browser.