1+ {
2+ "fields" : [
3+ {
4+ "name" : " Local authority" ,
5+ "description" : " Local authority responsible for the library service" ,
6+ "type" : " string" ,
7+ "format" : " default" ,
8+ "constraints" : {
9+ "required" : true
10+ }
11+ },
12+ {
13+ "name" : " Library name" ,
14+ "description" : " Full public name by which the library is known" ,
15+ "type" : " string" ,
16+ "format" : " default" ,
17+ "constraints" : {
18+ "required" : true
19+ }
20+ },
21+ {
22+ "name" : " Address 1" ,
23+ "description" : " Address line 1" ,
24+ "type" : " string" ,
25+ "format" : " default" ,
26+ "constraints" : {
27+ "required" : false
28+ }
29+ },
30+ {
31+ "name" : " Address 2" ,
32+ "description" : " Address line 2" ,
33+ "type" : " string" ,
34+ "format" : " default" ,
35+ "constraints" : {
36+ "required" : false
37+ }
38+ },
39+ {
40+ "name" : " Address 3" ,
41+ "description" : " Address line 3" ,
42+ "type" : " string" ,
43+ "format" : " default" ,
44+ "constraints" : {
45+ "required" : false
46+ }
47+ },
48+ {
49+ "name" : " Postcode" ,
50+ "type" : " string" ,
51+ "description" : " Postcode for the library" ,
52+ "format" : " default" ,
53+ "constraints" : {
54+ "required" : true ,
55+ "pattern" : " ^([A-Z][A-HJ-Y]?[0-9][A-Z0-9]? ?[0-9][A-Z]{2}|GIR ?0A{2})$"
56+ }
57+ },
58+ {
59+ "name" : " Unique property reference number" ,
60+ "type" : " integer" ,
61+ "description" : " Unique property reference number for the building unit the library is located in" ,
62+ "format" : " default" ,
63+ "constraints" : {
64+ "required" : true ,
65+ "unique" : true
66+ }
67+ },
68+ {
69+ "name" : " Statutory 1 April 2010" ,
70+ "type" : " string" ,
71+ "description" : " Whether the library was part of the statutory service on 1 April 2010" ,
72+ "format" : " default" ,
73+ "constraints" : {
74+ "required" : true ,
75+ "enum" : [
76+ " Yes" ,
77+ " No"
78+ ]
79+ }
80+ },
81+ {
82+ "name" : " Statutory 1 July 2016" ,
83+ "type" : " string" ,
84+ "description" : " Whether the library was part of the statutory service on 1 July 2016" ,
85+ "format" : " default" ,
86+ "constraints" : {
87+ "required" : true ,
88+ "enum" : [
89+ " Yes" ,
90+ " No"
91+ ]
92+ }
93+ },
94+ {
95+ "name" : " Statutory 1 July 2019" ,
96+ "type" : " string" ,
97+ "description" : " Whether the library was part of the statutory service on 1 July 2019" ,
98+ "format" : " default" ,
99+ "constraints" : {
100+ "required" : true ,
101+ "enum" : [
102+ " Yes" ,
103+ " No"
104+ ]
105+ }
106+ },
107+ {
108+ "name" : " Type of library" ,
109+ "type" : " string" ,
110+ "description" : " The category of public library" ,
111+ "format" : " default" ,
112+ "constraints" : {
113+ "required" : true ,
114+ "enum" : [
115+ " LAL" ,
116+ " LAL-" ,
117+ " CL" ,
118+ " CRL" ,
119+ " ICL"
120+ ]
121+ }
122+ },
123+ {
124+ "name" : " Year closed" ,
125+ "type" : " year" ,
126+ "description" : " Year the library closed" ,
127+ "format" : " default" ,
128+ "constraints" : {
129+ "required" : false
130+ }
131+ },
132+ {
133+ "name" : " Year opened" ,
134+ "type" : " year" ,
135+ "description" : " Year the library opened if a new library since 2010" ,
136+ "format" : " default" ,
137+ "constraints" : {
138+ "required" : false
139+ }
140+ },
141+ {
142+ "name" : " Colocation" ,
143+ "type" : " string" ,
144+ "description" : " Whether the library is stand-alone or co-located within the building property unit" ,
145+ "format" : " default" ,
146+ "constraints" : {
147+ "required" : true ,
148+ "enum" : [
149+ " Yes" ,
150+ " No"
151+ ]
152+ }
153+ },
154+ {
155+ "name" : " Colocated with" ,
156+ "type" : " string" ,
157+ "description" : " What the library is co-located with if applicable" ,
158+ "format" : " default" ,
159+ "constraints" : {
160+ "required" : false
161+ }
162+ },
163+ {
164+ "name" : " Notes" ,
165+ "type" : " string" ,
166+ "description" : " Notes about the library status or future changes" ,
167+ "format" : " default" ,
168+ "constraints" : {
169+ "required" : false
170+ }
171+ },
172+ {
173+ "name" : " Monday open" ,
174+ "type" : " time" ,
175+ "description" : " Opening time of the library on Mondays. If not open on that day use 00:00" ,
176+ "format" : " %H:%M" ,
177+ "constraints" : {
178+ "required" : true
179+ }
180+ },
181+ {
182+ "name" : " Monday close" ,
183+ "type" : " time" ,
184+ "description" : " Closing time of the library on Mondays. If not open on that day use 00:00" ,
185+ "format" : " %H:%M" ,
186+ "constraints" : {
187+ "required" : true
188+ }
189+ },
190+ {
191+ "name" : " Tuesday open" ,
192+ "type" : " time" ,
193+ "description" : " Opening time of the library on Tuesdays. If not open on that day use 00:00" ,
194+ "format" : " %H:%M" ,
195+ "constraints" : {
196+ "required" : true
197+ }
198+ },
199+ {
200+ "name" : " Tuesday close" ,
201+ "type" : " time" ,
202+ "description" : " Closing time of the library on Tuesdays. If not open on that day use 00:00" ,
203+ "format" : " %H:%M" ,
204+ "constraints" : {
205+ "required" : true
206+ }
207+ },
208+ {
209+ "name" : " Wednesday open" ,
210+ "type" : " time" ,
211+ "description" : " Opening time of the library on Wednesdays. If not open on that day use 00:00" ,
212+ "format" : " %H:%M" ,
213+ "constraints" : {
214+ "required" : true
215+ }
216+ },
217+ {
218+ "name" : " Wednesday close" ,
219+ "type" : " time" ,
220+ "description" : " Closing time of the library on Wednesdays. If not open on that day use 00:00" ,
221+ "format" : " %H:%M" ,
222+ "constraints" : {
223+ "required" : true
224+ }
225+ },
226+ {
227+ "name" : " Thursday open" ,
228+ "type" : " time" ,
229+ "description" : " Opening time of the library on Thursdays. If not open on that day use 00:00" ,
230+ "format" : " %H:%M" ,
231+ "constraints" : {
232+ "required" : true
233+ }
234+ },
235+ {
236+ "name" : " Thursday close" ,
237+ "type" : " time" ,
238+ "description" : " Closing time of the library on Thursdays. If not open on that day use 00:00" ,
239+ "format" : " %H:%M" ,
240+ "constraints" : {
241+ "required" : true
242+ }
243+ },
244+ {
245+ "name" : " Friday open" ,
246+ "type" : " time" ,
247+ "description" : " Opening time of the library on Fridays. If not open on that day use 00:00" ,
248+ "format" : " %H:%M" ,
249+ "constraints" : {
250+ "required" : true
251+ }
252+ },
253+ {
254+ "name" : " Friday close" ,
255+ "type" : " time" ,
256+ "description" : " Closing time of the library on Fridays. If not open on that day use 00:00" ,
257+ "format" : " %H:%M" ,
258+ "constraints" : {
259+ "required" : true
260+ }
261+ },
262+ {
263+ "name" : " Saturday open" ,
264+ "type" : " time" ,
265+ "description" : " Opening time of the library on Saturdays. If not open on that day use 00:00" ,
266+ "format" : " %H:%M" ,
267+ "constraints" : {
268+ "required" : true
269+ }
270+ },
271+ {
272+ "name" : " Saturday close" ,
273+ "type" : " time" ,
274+ "description" : " Closing time of the library on Saturdays. If not open on that day use 00:00" ,
275+ "format" : " %H:%M" ,
276+ "constraints" : {
277+ "required" : true
278+ }
279+ },
280+ {
281+ "name" : " Sunday open" ,
282+ "type" : " time" ,
283+ "description" : " Opening time of the library on Sundays. If not open on that day use 00:00" ,
284+ "format" : " %H:%M" ,
285+ "constraints" : {
286+ "required" : true
287+ }
288+ },
289+ {
290+ "name" : " Sunday close" ,
291+ "type" : " time" ,
292+ "description" : " Closing time of the library on Sundays. If not open on that day use 00:00" ,
293+ "format" : " %H:%M" ,
294+ "constraints" : {
295+ "required" : true
296+ }
297+ },
298+ {
299+ "name" : " Staffed hours" ,
300+ "type" : " number" ,
301+ "description" : " Total number of hours the library is staffed (by paid staff and/or volunteers) each week" ,
302+ "format" : " default" ,
303+ "constraints" : {
304+ "required" : true
305+ }
306+ },
307+ {
308+ "name" : " Contact email" ,
309+ "type" : " string" ,
310+ "description" : " The generic or team email (not personal) for the library. If no general library email is available, the library service one." ,
311+ "format" : " email" ,
312+ "constraints" : {
313+ "required" : true
314+ }
315+ },
316+ {
317+ "name" : " Library URL" ,
318+ "type" : " string" ,
319+ "description" : " The specific URL for the library." ,
320+ "format" : " uri" ,
321+ "constraints" : {
322+ "required" : true
323+ }
324+ }
325+ ]
326+ }
0 commit comments