Welcome to mirror list, hosted at ThFree Co, Russian Federation.

address « examples « draft-03 « json-schema « node_modules - github.com/austingebauer/devise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 401f20f1c4bfefdb25207e14969d9def2b1936ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
	"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"
	}
}