-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAddress.json
More file actions
90 lines (90 loc) · 2.52 KB
/
Address.json
File metadata and controls
90 lines (90 loc) · 2.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"description" : "A geographic address",
"example" : {
"City" : "Raleigh",
"Country" : {
"CallingCode" : "+1",
"Identifier" : 840,
"IsoThreeCode" : "USA",
"IsoTwoCode" : "US",
"IsoNumeric" : 840,
"Name" : "United States of America"
},
"Identifier" : 1,
"Latitude" : 35.77518,
"Longitude" : -78.6373,
"PostalCode" : 27601,
"Subdivision" : {
"Abbreviation" : "NC",
"Category" : "state",
"Identifier" : 18,
"IsoCode" : "US-NC",
"IsoTwoCode" : "US",
"Name" : "North Carolina"
},
"StreetAddress" : "100 East Davie Street",
"StreetAddressAdditional" : null,
"TimeZone" : {
"Abbreviation" : "EST",
"Common" : "Eastern",
"Identifier" : 51,
"MilitaryTimeZone" : "R",
"Name" : "America/New_York",
"ObservesDaylightSaving" : true,
"UtcOffset" : -5.0
}
},
"type" : "object",
"properties" : {
"City" : {
"description" : "The city name.",
"nullable" : true,
"type" : "string"
},
"Country" : {
"$ref" : "./Country.json"
},
"Identifier" : {
"description" : "The internal identifier of the address.",
"format" : "int64",
"nullable" : false,
"type" : "integer"
},
"Latitude" : {
"description" : "The geographic coordinate that specifies the north–south position of the address. If City, Country, PostalCode, Subdivision, and StreetAddress are not provided, then Latitude and Longitude are required.",
"format" : "double",
"nullable" : true,
"type" : "number"
},
"Longitude" : {
"description" : "The geographic coordinate that specifies the east-west position of the address. If City, Country, PostalCode, Subdivision, and StreetAddress are not provided, then Latitude and Longitude are required.",
"format" : "double",
"nullable" : true,
"type" : "number"
},
"PostalCode" : {
"description" : "The postal code of the address.",
"nullable" : true,
"type" : "string"
},
"Subdivision" : {
"$ref" : "./Subdivision.json"
},
"StreetAddress" : {
"description" : "The number and street name of the address.",
"nullable" : true,
"type" : "string"
},
"StreetAddressAdditional" : {
"description" : "Street location information in addition to StreetAddress.",
"nullable" : true,
"type" : "string"
},
"TimeZone" : {
"$ref" : "./TimeZone.json"
}
},
"xml" : {
"name" : "Address"
}
}