-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmobile-library-stops.json
More file actions
200 lines (200 loc) · 5.83 KB
/
Copy pathmobile-library-stops.json
File metadata and controls
200 lines (200 loc) · 5.83 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
{
"fields": [
{
"name": "organisation",
"title": "Organisation",
"description": "The organisation operating the mobile library",
"type": "string",
"format": "default",
"constraints": {
"required": true
}
},
{
"name": "mobile",
"title": "Mobile Name",
"description": "A name for the mobile library",
"type": "string",
"format": "default",
"constraints": {
"required": true
}
},
{
"name": "route",
"title": "Route",
"description": "A name for the route e.g. Route B",
"type": "string",
"format": "default",
"constraints": {
"required": true
}
},
{
"name": "community",
"title": "Community",
"description": "The community served by the stop e.g. village or town name",
"type": "string",
"format": "default",
"constraints": {
"required": false
}
},
{
"name": "stop",
"title": "Stop",
"description": "The individual stop name",
"type": "string",
"format": "default",
"constraints": {
"required": true
}
},
{
"name": "address",
"title": "Address",
"description": "An address for the stop",
"type": "string",
"format": "default",
"constraints": {
"required": false
}
},
{
"name": "postcode",
"title": "Postcode",
"type": "string",
"description": "Nearest postcode for the stop",
"format": "default",
"constraints": {
"required": false,
"pattern": "^$|^([A-Za-z][A-Ha-hJ-Yj-y]?[0-9][A-Za-z0-9]? ?[0-9][A-Za-z]{2}|[Gg][Ii][Rr] ?0[Aa]{2})$"
}
},
{
"name": "geox",
"title": "Geopoint X",
"description": "X coordinate (e.g. longitude) for stop location",
"type": "number",
"format": "default",
"constraints": {
"required": false
}
},
{
"name": "geoy",
"title": "Geopoint Y",
"description": "Y coordinate (e.g. latitude) for stop location",
"type": "number",
"format": "default",
"constraints": {
"required": false
}
},
{
"name": "day",
"title": "Day",
"description": "The day of the week the mobile library visits this stop",
"type": "string",
"format": "default",
"constraints": {
"required": true,
"enum": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
]
}
},
{
"name": "type",
"title": "Type",
"description": "The type of stop this is",
"type": "string",
"format": "default",
"constraints": {
"required": true,
"enum": [
"Public",
"Private",
"Dynamic",
"Other"
]
}
},
{
"name": "arrival",
"title": "Arrival Time",
"type": "time",
"format": "%H:%M",
"description": "The time the mobile library arrives at the stop",
"constraints": {
"required": true
}
},
{
"name": "departure",
"title": "Departure Time",
"type": "time",
"format": "%H:%M",
"description": "The time the mobile library departs the stop",
"constraints": {
"required": true
}
},
{
"name": "frequency",
"title": "Frequency",
"type": "string",
"format": "default",
"description": "The schedule for repeated visits to this stop in iCal Recurrence Rule format",
"constraints": {
"required": true
}
},
{
"name": "start",
"title": "Start Date",
"type": "date",
"format": "default",
"description": "The start date for this stop and timetable",
"constraints": {
"required": true
}
},
{
"name": "end",
"title": "End Date",
"type": "date",
"format": "default",
"description": "The end date for this stop and timetable",
"constraints": {
"required": false
}
},
{
"name": "exceptions",
"title": "Exception Dates",
"type": "string",
"format": "default",
"description": "A comma separated list of exception dates for this stop and timetable",
"constraints": {
"required": false
}
},
{
"name": "timetable",
"title": "Timetable Link",
"type": "string",
"format": "uri",
"description": "A link to a web page, or PDF for the stop, route, mobile or service timetable",
"constraints": {
"required": false
}
}
]
}