-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathAddressbook.dtd
110 lines (110 loc) · 2.32 KB
/
Addressbook.dtd
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://github.com/route4me/route4me-json-schemas/blob/master/Addressbook.dtd",
"title": "Addressbook",
"type": "object",
"required": [
"address_1",
"cached_lat",
"cached_lng"
],
"properties": {
"member_id": {
"type": "string",
"title": "Member id",
"description": "Member id"
},
"address_1": {
"type": "string",
"title": "Address 1",
"description": "Address 1"
},
"address_2": {
"type": "string",
"title": "Address 2",
"description": "Address 2"
},
"address_alias": {
"type": "string",
"title": "Address alias",
"description": "Address alias"
},
"address_city": {
"type": "string",
"title": "Address city",
"description": "Address city"
},
"address_state_id": {
"type": "string",
"title": "Address state id",
"description": "Address state id"
},
"address_zip": {
"type": "string",
"title": "Address zip",
"description": "Address zip code"
},
"address_country_id": {
"type": "string",
"title": "Address country id",
"description": "Address country id"
},
"cached_lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"title": "Cached latitude",
"description": "Cached latitude"
},
"cached_lng": {
"type": "number",
"minimum": -180,
"maximum": 180,
"title": "Cached longitude",
"description": "Cached longitude"
},
"is_validated": {
"type": "boolean",
"title": "Is validated",
"description": "Is validated"
},
"address_phone_number": {
"type": "string",
"title": "Address phone number",
"description": "Address phone number"
},
"first_name": {
"type": "string",
"title": "First name",
"description": "First name"
},
"last_name": {
"type": "string",
"title": "Last name",
"description": "Last name"
},
"company_name": {
"type": "string",
"title": "Company name",
"description": "Company name"
},
"address_email": {
"type": "string",
"title": "Address email",
"description": "Address email"
},
"address_group": {
"type": "string",
"title": "Address group",
"description": "Address group"
},
"address_custom_data": {
"type": "array",
"items": {
"type": "string"
},
"title": "Address custom data",
"description": "Address custom data"
}
}
}