1+ {
2+ "fields" : [
3+ {
4+ "name" : " organisation" ,
5+ "title" : " Organisation" ,
6+ "description" : " The organisation operating the mobile library" ,
7+ "type" : " string" ,
8+ "format" : " default" ,
9+ "constraints" : {
10+ "required" : true
11+ }
12+ },
13+ {
14+ "name" : " mobile" ,
15+ "title" : " Mobile Name" ,
16+ "description" : " A name for the mobile library" ,
17+ "type" : " string" ,
18+ "format" : " default" ,
19+ "constraints" : {
20+ "required" : true
21+ }
22+ },
23+ {
24+ "name" : " route" ,
25+ "title" : " Route" ,
26+ "description" : " A name for the route" ,
27+ "type" : " string" ,
28+ "format" : " default" ,
29+ "constraints" : {
30+ "required" : true
31+ }
32+ },
33+ {
34+ "name" : " community" ,
35+ "title" : " Community" ,
36+ "description" : " The community served by the stop" ,
37+ "type" : " string" ,
38+ "format" : " default" ,
39+ "constraints" : {
40+ "required" : false
41+ }
42+ },
43+ {
44+ "name" : " stop" ,
45+ "title" : " Stop" ,
46+ "description" : " The individual stop name" ,
47+ "type" : " string" ,
48+ "format" : " default" ,
49+ "constraints" : {
50+ "required" : true
51+ }
52+ },
53+ {
54+ "name" : " address" ,
55+ "title" : " Address" ,
56+ "description" : " An address for the stop" ,
57+ "type" : " string" ,
58+ "format" : " default" ,
59+ "constraints" : {
60+ "required" : false
61+ }
62+ },
63+ {
64+ "name" : " postcode" ,
65+ "title" : " Postcode" ,
66+ "type" : " string" ,
67+ "description" : " Nearest postcode for the stop" ,
68+ "format" : " default" ,
69+ "constraints" : {
70+ "required" : false ,
71+ "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})$"
72+ }
73+ },
74+ {
75+ "name" : " geox" ,
76+ "title" : " Geopoint X" ,
77+ "description" : " X coordinate (e.g. longitude) for stop location" ,
78+ "type" : " number" ,
79+ "format" : " default" ,
80+ "constraints" : {
81+ "required" : true
82+ }
83+ },
84+ {
85+ "name" : " geoy" ,
86+ "title" : " Geopoint Y" ,
87+ "description" : " Y coordinate (e.g. latitude) for stop location" ,
88+ "type" : " number" ,
89+ "format" : " default" ,
90+ "constraints" : {
91+ "required" : true
92+ }
93+ },
94+ {
95+ "name" : " day" ,
96+ "title" : " Day" ,
97+ "description" : " The day of the week the mobile library visits this stop" ,
98+ "type" : " string" ,
99+ "format" : " default" ,
100+ "constraints" : {
101+ "required" : true ,
102+ "enum" : [
103+ " Monday" ,
104+ " Tuesday" ,
105+ " Wednesday" ,
106+ " Thursday" ,
107+ " Friday" ,
108+ " Saturday" ,
109+ " Sunday"
110+ ]
111+ }
112+ },
113+ {
114+ "name" : " arrival" ,
115+ "title" : " Arrival Time" ,
116+ "type" : " time" ,
117+ "format" : " default" ,
118+ "description" : " The time the mobile library arrives at the stop" ,
119+ "constraints" : {
120+ "required" : true
121+ }
122+ },
123+ {
124+ "name" : " departure" ,
125+ "title" : " Departure Time" ,
126+ "type" : " time" ,
127+ "format" : " default" ,
128+ "description" : " The time the mobile library leaves the stop" ,
129+ "constraints" : {
130+ "required" : true
131+ }
132+ },
133+ {
134+ "name" : " frequency" ,
135+ "title" : " Frequency" ,
136+ "type" : " string" ,
137+ "format" : " default" ,
138+ "description" : " The schedule for repeated visits to this stop in iCal Recurrence Rule format" ,
139+ "constraints" : {
140+ "required" : true
141+ }
142+ },
143+ {
144+ "name" : " start" ,
145+ "title" : " Start Date" ,
146+ "type" : " date" ,
147+ "format" : " default" ,
148+ "description" : " The date the timetable for this stop started" ,
149+ "constraints" : {
150+ "required" : true
151+ }
152+ },
153+ {
154+ "name" : " end" ,
155+ "title" : " End Date" ,
156+ "type" : " date" ,
157+ "format" : " default" ,
158+ "description" : " The date the timetable for this stop will end" ,
159+ "constraints" : {
160+ "required" : false
161+ }
162+ },
163+ {
164+ "name" : " timetable" ,
165+ "title" : " Timetable Link" ,
166+ "type" : " string" ,
167+ "format" : " uri" ,
168+ "description" : " A link to a web page, or PDF for the stop, route, or mobile timetable" ,
169+ "constraints" : {
170+ "required" : false
171+ }
172+ }
173+ ]
174+ }
0 commit comments