-
Notifications
You must be signed in to change notification settings - Fork 15
/
14.json
1321 lines (1321 loc) · 49.6 KB
/
14.json
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$id": "https://schema.spaceapi.io/14.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "SpaceAPI v14",
"type": "object",
"properties": {
"api_compatibility": {
"description": "The versions your SpaceAPI endpoint supports",
"type": "array",
"items": {
"type": "string"
},
"contains": {
"const": "14"
}
},
"space": {
"description": "The name of your space",
"type": "string"
},
"logo": {
"description": "URL to your space logo",
"type": "string"
},
"url": {
"description": "URL to your space website",
"type": "string"
},
"location": {
"description": "Position data such as a postal address or geographic coordinates",
"type": "object",
"properties": {
"address": {
"description": "The postal address of your space (street, block, housenumber, zip code, city, whatever you usually need in your country, and the country itself).<br>Examples: <ul><li>Netzladen e.V., Breite Straße 74, 53111 Bonn, Germany</li></ul>",
"type": "string"
},
"lat": {
"description": "Latitude of your space location, in degree with decimal places. Use positive values for locations north of the equator, negative values for locations south of equator.",
"type": "number"
},
"lon": {
"description": "Longitude of your space location, in degree with decimal places. Use positive values for locations east of Greenwich, and negative values for locations west of Greenwich.",
"type": "number"
},
"timezone": {
"description": "The timezone the space is located in. It should be formatted according to the <a target=\"_blank\" href=\"https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\">TZ database location names</a>.",
"type": "string",
"examples": [
"Europe/Kyiv",
"Antarctica/Palmer"
]
}
},
"required": [
"lat",
"lon"
]
},
"spacefed": {
"description": "A flag indicating if the hackerspace uses SpaceFED, a federated login scheme so that visiting hackers can use the space WiFi with their home space credentials.",
"type": "object",
"properties": {
"spacenet": {
"description": "See the <a target=\"_blank\" href=\"https://spacefed.net/index.php/Category:Howto/Spacenet\">wiki</a>.",
"type": "boolean"
},
"spacesaml": {
"description": "See the <a target=\"_blank\" href=\"https://spacefed.net/index.php?title=Spacesaml\">wiki</a>.",
"type": "boolean"
}
},
"required": [
"spacenet",
"spacesaml"
]
},
"cam": {
"description": "URL(s) of webcams in your space",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
},
"state": {
"description": "A collection of status-related data: actual open/closed status, icons, last change timestamp etc.",
"type": "object",
"properties": {
"open": {
"description": "A flag which indicates whether the space is currently open or closed. The state 'undefined' can be achieved by omitting this field. A missing 'open' property carries the semantics of a temporary unavailability of the state, whereas the absence of the 'state' property itself means the state is generally not implemented for this space. This field is also allowed to explicitly have the value null for backwards compatibility with older schema versions, but this is deprecated and will be removed in a future version.",
"type": [
"boolean",
"null"
]
},
"lastchange": {
"description": "The Unix timestamp when the space status changed most recently",
"type": "number"
},
"trigger_person": {
"description": "The person who lastly changed the state e.g. opened or closed the space",
"type": "string"
},
"message": {
"description": "An additional free-form string, could be something like <samp>'open for public'</samp>, <samp>'members only'</samp> or whatever you want it to be",
"type": "string"
},
"icon": {
"description": "Icons that show the status graphically",
"type": "object",
"properties": {
"open": {
"description": "The URL to your customized space logo showing an open space",
"type": "string"
},
"closed": {
"description": "The URL to your customized space logo showing a closed space",
"type": "string"
}
},
"required": [
"open",
"closed"
]
}
}
},
"events": {
"description": "Events which happened recently in your space and which could be interesting to the public, like 'User X has entered/triggered/did something at timestamp Z'",
"type": "array",
"items": {
"required": [
"name",
"type",
"timestamp"
],
"type": "object",
"properties": {
"name": {
"description": "Name or other identity of the subject (e.g. <samp>J. Random Hacker</samp>, <samp>fridge</samp>, <samp>3D printer</samp>, …)",
"type": "string"
},
"type": {
"description": "Action (e.g. <samp>check-in</samp>, <samp>check-out</samp>, <samp>finish-print</samp>, …). Define your own actions and use them consistently, canonical actions are not (yet) specified",
"type": "string"
},
"timestamp": {
"description": "Unix timestamp when the event occurred",
"type": "number"
},
"extra": {
"description": "A custom text field to give more information about the event",
"type": "string"
}
}
}
},
"contact": {
"description": "Contact information about your space",
"type": "object",
"properties": {
"phone": {
"description": "Phone number, including country code with a leading plus sign",
"type": "string",
"examples": [
"+1 800 555 4567",
"+41 79 123 45 67"
]
},
"sip": {
"description": "URI for Voice-over-IP via SIP",
"type": "string",
"examples": [
"sip:yourspace@sip.example.org"
]
},
"keymasters": {
"description": "Persons who carry a key and are able to open the space upon request. One of the fields irc_nick, phone, email or twitter must be specified.",
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"name": {
"description": "Real name",
"type": "string"
},
"irc_nick": {
"description": "Contact the person with this nickname directly in irc if available. The irc channel to be used is defined in the contact/irc field.",
"type": "string"
},
"phone": {
"description": "Phone number, including country code with a leading plus sign",
"type": "string",
"examples": [
"+1 800 555 4567",
"+41 79 123 45 67"
]
},
"email": {
"description": "Email address which can be base64 encoded",
"type": "string"
},
"twitter": {
"description": "Twitter username with leading <code>@</code>",
"type": "string",
"examples": [
"@space_api"
]
},
"xmpp": {
"description": "XMPP (Jabber) ID",
"type": "string"
},
"mastodon": {
"description": "Mastodon username",
"type": "string",
"examples": [
"@ordnung@chaos.social"
]
},
"matrix": {
"description": "Matrix username (including domain)",
"type": "string",
"examples": [
"@user:example.org"
]
}
}
}
},
"irc": {
"description": "URL of the IRC channel",
"type": "string",
"examples": [
"irc://example.org/#channelname"
]
},
"twitter": {
"description": "Twitter username with leading <code>@</code>",
"type": "string",
"examples": [
"@space_api"
]
},
"mastodon": {
"description": "Mastodon username",
"type": "string",
"examples": [
"@ordnung@chaos.social"
]
},
"facebook": {
"description": "Facebook account URL",
"type": "string"
},
"identica": {
"description": "Identi.ca or StatusNet account, in the form <samp>yourspace@example.org</samp>",
"type": "string"
},
"foursquare": {
"description": "Foursquare ID, in the form <samp>4d8a9114d85f3704eab301dc</samp>",
"type": "string"
},
"email": {
"description": "E-mail address for contacting your space. If this is a mailing list consider to use the contact/ml field.",
"type": "string"
},
"ml": {
"description": "The e-mail address of your mailing list. If you use Google Groups then the e-mail looks like <samp>your-group@googlegroups.com</samp>.",
"type": "string"
},
"xmpp": {
"description": "A public Jabber/XMPP multi-user chatroom in the form <samp>chatroom@conference.example.net</samp>",
"type": "string"
},
"issue_mail": {
"description": "A separate email address for issue reports. This value can be Base64-encoded.",
"type": "string"
},
"gopher": {
"description": "A URL to find information about the Space in the Gopherspace",
"type": "string",
"examples": [
"gopher://gopher.binary-kitchen.de"
]
},
"matrix": {
"description": "Matrix channel/community for the Hackerspace",
"type": "string",
"examples": [
"#spaceroom:example.org",
"+spacecommunity:example.org"
]
},
"mumble": {
"description": "URL to a Mumble server/channel, as specified in https://wiki.mumble.info/wiki/Mumble_URL",
"type": "string",
"examples": [
"mumble://mumble.example.org/spaceroom?version=1.2.0"
]
}
}
},
"sensors": {
"description": "Data of various sensors in your space (e.g. temperature, humidity, amount of Club-Mate left, …). The only canonical property is the <em>temp</em> property, additional sensor types may be defined by you. In this case, you are requested to share your definition for inclusion in this specification.",
"type": "object",
"properties": {
"temperature": {
"description": "Temperature sensor. To convert from one unit of temperature to another consider <a href=\"http://en.wikipedia.org/wiki/Temperature_conversion_formulas\" target=\"_blank\">Wikipedia</a>.",
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"description": "The sensor value",
"type": "number"
},
"unit": {
"description": "The unit of the sensor value",
"type": "string",
"enum": [
"°C",
"°F",
"K",
"°De",
"°N",
"°R",
"°Ré",
"°Rø"
]
},
"location": {
"description": "The location of your sensor",
"type": "string",
"examples": [
"Outside",
"Inside",
"Ceiling",
"Room 1"
]
},
"name": {
"description": "This field is an additional field to give your sensor a name. This can be useful if you have multiple sensors in the same location.",
"type": "string"
},
"description": {
"description": "An extra field that you can use to attach some additional information to this sensor instance",
"type": "string"
}
},
"required": [
"value",
"unit",
"location"
]
}
},
"door_locked": {
"description": "Sensor type to indicate if a certain door is locked",
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"description": "The sensor value",
"type": "boolean"
},
"location": {
"description": "The location of your sensor",
"type": "string",
"examples": [
"Front door",
"Chill room",
"Lab"
]
},
"name": {
"description": "This field is an additional field to give your sensor a name. This can be useful if you have multiple sensors in the same location.",
"type": "string"
},
"description": {
"description": "An extra field that you can use to attach some additional information to this sensor instance",
"type": "string"
}
},
"required": [
"value",
"location"
]
}
},
"barometer": {
"description": "Barometer sensor",
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"description": "The sensor value",
"type": "number"
},
"unit": {
"description": "The unit of pressure used by your sensor<br>Note: The <code>hPA</code> unit is deprecated and should not be used anymore. Use the correct <code>hPa</code> unit instead.",
"type": "string",
"enum": [
"hPa",
"hPA"
]
},
"location": {
"description": "The location of your sensor",
"type": "string",
"examples": [
"Outside",
"Inside",
"Lab"
]
},
"name": {
"description": "This field is an additional field to give your sensor a name. This can be useful if you have multiple sensors in the same location.",
"type": "string"
},
"description": {
"description": "An extra field that you can use to attach some additional information to this sensor instance",
"type": "string"
}
},
"required": [
"value",
"unit",
"location"
]
}
},
"radiation": {
"description": "Compound radiation sensor. Check this <a rel=\"nofollow\" href=\"https://sites.google.com/site/diygeigercounter/gm-tubes-supported\" target=\"_blank\">resource</a>.",
"type": "object",
"properties": {
"alpha": {
"description": "An alpha sensor",
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"description": "Observed counts per minute (ocpm) or actual radiation value. If the value are the observed counts then the dead_time and conversion_factor fields must be defined as well. CPM formula: <div>cpm = ocpm ( 1 + 1 / (1 - ocpm x dead_time) )</div> Conversion formula: <div>µSv/h = cpm x conversion_factor</div>",
"type": "number"
},
"unit": {
"description": "Choose the appropriate unit for your radiation sensor instance",
"type": "string",
"enum": [
"cpm",
"r/h",
"µSv/h",
"mSv/a",
"µSv/a"
]
},
"dead_time": {
"description": "The dead time in µs. See the description of the value field to see how to use the dead time.",
"type": "number"
},
"conversion_factor": {
"description": "The conversion from the <em>cpm</em> unit to another unit hardly depends on your tube type. See the description of the value field to see how to use the conversion factor. <strong>Note:</strong> only trust your manufacturer if it comes to the actual factor value. The internet seems <a rel=\"nofollow\" href=\"http://sapporohibaku.wordpress.com/2011/10/15/conversion-factor/\" target=\"_blank\">full of wrong copy & pastes</a>, don't even trust your neighbour hackerspace. If in doubt ask the tube manufacturer.",
"type": "number"
},
"location": {
"description": "The location of your sensor",
"type": "string",
"examples": [
"Outside",
"Roof",
"Lab"
]
},
"name": {
"description": "This field is an additional field to give your sensor a name. This can be useful if you have multiple sensors in the same location.",
"type": "string"
},
"description": {
"description": "An extra field that you can use to attach some additional information to this sensor instance",
"type": "string"
}
},
"required": [
"value",
"unit"
]
}
},
"beta": {
"description": "A beta sensor",
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"description": "Observed counts per minute (ocpm) or actual radiation value. If the value are the observed counts then the dead_time and conversion_factor fields must be defined as well. CPM formula: <div>cpm = ocpm ( 1 + 1 / (1 - ocpm x dead_time) )</div> Conversion formula: <div>µSv/h = cpm x conversion_factor</div>",
"type": "number"
},
"unit": {
"description": "Choose the appropriate unit for your radiation sensor instance",
"type": "string",
"enum": [
"cpm",
"r/h",
"µSv/h",
"mSv/a",
"µSv/a"
]
},
"dead_time": {
"description": "The dead time in µs. See the description of the value field to see how to use the dead time.",
"type": "number"
},
"conversion_factor": {
"description": "The conversion from the <em>cpm</em> unit to another unit hardly depends on your tube type. See the description of the value field to see how to use the conversion factor. <strong>Note:</strong> only trust your manufacturer if it comes to the actual factor value. The internet seems <a rel=\"nofollow\" href=\"http://sapporohibaku.wordpress.com/2011/10/15/conversion-factor/\" target=\"_blank\">full of wrong copy & pastes</a>, don't even trust your neighbour hackerspace. If in doubt ask the tube manufacturer.",
"type": "number"
},
"location": {
"description": "The location of your sensor",
"type": "string",
"examples": [
"Outside",
"Roof",
"Lab"
]
},
"name": {
"description": "This field is an additional field to give your sensor a name. This can be useful if you have multiple sensors in the same location.",
"type": "string"
},
"description": {
"description": "An extra field that you can use to attach some additional information to this sensor instance",
"type": "string"
}
},
"required": [
"value",
"unit"
]
}
},
"gamma": {
"description": "A gamma sensor",
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"description": "Observed counts per minute (ocpm) or actual radiation value. If the value are the observed counts then the dead_time and conversion_factor fields must be defined as well. CPM formula: <div>cpm = ocpm ( 1 + 1 / (1 - ocpm x dead_time) )</div> Conversion formula: <div>µSv/h = cpm x conversion_factor</div>",
"type": "number"
},
"unit": {
"description": "Choose the appropriate unit for your radiation sensor instance",
"type": "string",
"enum": [
"cpm",
"r/h",
"µSv/h",
"mSv/a",
"µSv/a"
]
},
"dead_time": {
"description": "The dead time in µs. See the description of the value field to see how to use the dead time.",
"type": "number"
},
"conversion_factor": {
"description": "The conversion from the <em>cpm</em> unit to another unit hardly depends on your tube type. See the description of the value field to see how to use the conversion factor. <strong>Note:</strong> only trust your manufacturer if it comes to the actual factor value. The internet seems <a rel=\"nofollow\" href=\"http://sapporohibaku.wordpress.com/2011/10/15/conversion-factor/\" target=\"_blank\">full of wrong copy & pastes</a>, don't even trust your neighbour hackerspace. If in doubt ask the tube manufacturer.",
"type": "number"
},
"location": {
"description": "The location of your sensor",
"type": "string",
"examples": [
"Outside",
"Roof",
"Lab"
]
},
"name": {
"description": "This field is an additional field to give your sensor a name. This can be useful if you have multiple sensors in the same location.",
"type": "string"
},
"description": {
"description": "An extra field that you can use to attach some additional information to this sensor instance",
"type": "string"
}
},
"required": [
"value",
"unit"
]
}
},
"beta_gamma": {
"description": "A sensor which cannot filter beta and gamma radiation separately.",
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"description": "Observed counts per minute (ocpm) or actual radiation value. If the value are the observed counts then the dead_time and conversion_factor fields must be defined as well. CPM formula: <div>cpm = ocpm ( 1 + 1 / (1 - ocpm x dead_time) )</div> Conversion formula: <div>µSv/h = cpm x conversion_factor</div>",
"type": "number"
},
"unit": {
"description": "Choose the appropriate unit for your radiation sensor instance",
"type": "string",
"enum": [
"cpm",
"r/h",
"µSv/h",
"mSv/a",
"µSv/a"
]
},
"dead_time": {
"description": "The dead time in µs. See the description of the value field to see how to use the dead time.",
"type": "number"
},
"conversion_factor": {
"description": "The conversion from the <em>cpm</em> unit to another unit hardly depends on your tube type. See the description of the value field to see how to use the conversion factor. <strong>Note:</strong> only trust your manufacturer if it comes to the actual factor value. The internet seems <a rel=\"nofollow\" href=\"http://sapporohibaku.wordpress.com/2011/10/15/conversion-factor/\" target=\"_blank\">full of wrong copy & pastes</a>, don't even trust your neighbour hackerspace. If in doubt ask the tube manufacturer.",
"type": "number"
},
"location": {
"description": "The location of your sensor",
"type": "string",
"examples": [
"Outside",
"Roof",
"Lab"
]
},
"name": {
"description": "This field is an additional field to give your sensor a name. This can be useful if you have multiple sensors in the same location.",
"type": "string"
},
"description": {
"description": "An extra field that you can use to attach some additional information to this sensor instance",
"type": "string"
}
},
"required": [
"value",
"unit"
]
}
}
}
},
"humidity": {
"description": "Humidity sensor",
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"description": "The sensor value",
"type": "number"
},
"unit": {
"description": "The unit of the sensor value. You should always define the unit though if the sensor is a flag of a boolean type then you can of course omit it.",
"type": "string",
"enum": [
"%"
]
},
"location": {
"description": "The location of your sensor",
"type": "string",
"examples": [
"Outside",
"Roof",
"Lab"
]
},
"name": {
"description": "This field is an additional field to give your sensor a name. This can be useful if you have multiple sensors in the same location.",
"type": "string"
},
"description": {
"description": "An extra field that you can use to attach some additional information to this sensor instance",
"type": "string"
}
},
"required": [
"value",
"unit",
"location"
]
}
},
"beverage_supply": {
"description": "How much Mate and beer is in your fridge?",
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"description": "The sensor value",
"type": "number"
},
"unit": {
"description": "The unit, either <samp>btl</samp> for bottles or <samp>crt</samp> for crates",
"type": "string",
"enum": [
"btl",
"crt"
]
},
"location": {
"description": "The location of your sensor",
"type": "string",
"examples": [
"Entrance",
"Room 1",
"Fridge 3",
"Lab"
]
},
"name": {
"description": "This field is an additional field to give your sensor a name. This can be useful if you have multiple sensors in the same location.",
"type": "string"
},
"description": {
"description": "An extra field that you can use to attach some additional information to this sensor instance",
"type": "string"
}
},
"required": [
"value",
"unit"
]
}
},
"power_consumption": {
"description": "The power consumption of a specific device or of your whole space",
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"description": "The sensor value",
"type": "number"
},
"unit": {
"description": "The unit of the sensor value. You should always define the unit though if the sensor is a flag of a boolean type then you can of course omit it.",
"type": "string",
"enum": [
"mW",
"W",
"VA"
]
},
"location": {
"description": "The location of your sensor",
"type": "string",
"examples": [
"Room 1",
"Lab"
]
},
"name": {
"description": "This field is an additional field to give your sensor a name. This can be useful if you have multiple sensors in the same location.",
"type": "string"
},
"description": {
"description": "An extra field that you can use to attach some additional information to this sensor instance",
"type": "string"
}
},
"required": [
"value",
"unit",
"location"
]
}
},
"wind": {
"description": "Your wind sensor",
"type": "array",
"items": {
"type": "object",
"properties": {
"properties": {
"description": "",
"type": "object",
"properties": {
"speed": {
"description": "",
"type": "object",
"properties": {
"value": {
"description": "The sensor value",
"type": "number"
},
"unit": {
"description": "The unit of the sensor value. You should always define the unit though if the sensor is a flag of a boolean type then you can of course omit it.",
"type": "string",
"enum": [
"m/s",
"km/h",
"kn"
]
}
},
"required": [
"value",
"unit"
]
},
"gust": {
"description": "",
"type": "object",
"properties": {
"value": {
"description": "The sensor value",
"type": "number"
},
"unit": {
"description": "The unit of the sensor value. You should always define the unit though if the sensor is a flag of a boolean type then you can of course omit it.",
"type": "string",
"enum": [
"m/s",
"km/h",
"kn"
]
}
},
"required": [
"value",
"unit"
]
},
"direction": {
"description": "The wind direction in degrees",
"type": "object",
"properties": {
"value": {
"description": "The sensor value",
"type": "number"
},
"unit": {
"description": "The unit of the sensor value. You should always define the unit though if the sensor is a flag of a boolean type then you can of course omit it.",
"type": "string",
"enum": [
"°"
]
}
},
"required": [
"value",
"unit"
]
},
"elevation": {
"description": "Height above mean sea level",
"type": "object",
"properties": {
"value": {
"description": "The sensor value",
"type": "number"
},
"unit": {
"description": "The unit of the sensor value. You should always define the unit though if the sensor is a flag of a boolean type then you can of course omit it.",
"type": "string",
"enum": [
"m"
]
}
},
"required": [
"value",
"unit"
]
}
},
"required": [
"speed",
"gust",
"direction",
"elevation"
]
},
"location": {
"description": "The location of your sensor",
"type": "string",
"examples": [
"Roof",
"Entrance"
]
},
"name": {
"description": "This field is an additional field to give your sensor a name. This can be useful if you have multiple sensors in the same location.",
"type": "string"
},
"description": {
"description": "An extra field that you can use to attach some additional information to this sensor instance",
"type": "string"
}
},
"required": [
"properties",
"location"
]
}
},
"network_connections": {
"description": "This sensor type is to specify the currently active ethernet or wireless network devices. You can create different instances for each network type.",
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"description": "This field is optional but you can use it to the network type such as <samp>wifi</samp> or <samp>cable</samp>. You can even expose the number of <a href=\"https://spacefed.net/wiki/index.php/Spacenet\" target=\"_blank\">spacenet</a>-authenticated connections.",
"type": "string",
"enum": [
"wifi",
"cable",
"spacenet"
]
},
"value": {
"description": "The amount of network connections.",
"type": "number"
},
"machines": {
"description": "The machines that are currently connected with the network.",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"description": "The machine name.",
"type": "string"
},
"mac": {
"description": "The machine's MAC address of the format <samp>D3:3A:DB:EE:FF:00</samp>.",
"type": "string"
}
},
"required": [
"mac"
]
}
},
"location": {
"description": "The location of your sensor",
"type": "string",
"examples": [
"Lab",
"Room 1"
]
},
"name": {
"description": "This field is an additional field to give your sensor a name. This can be useful if you have multiple sensors in the same location.",
"type": "string"
},
"description": {
"description": "An extra field that you can use to attach some additional information to this sensor instance",
"type": "string"
}
},
"required": [
"value"
]
}
},
"account_balance": {
"description": "How rich is your hackerspace?",
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"description": "How much?",
"type": "number"
},
"unit": {
"description": "What's the currency? It should be formatted according to <a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\">ISO 4217</a> short-code format.",
"type": "string"
},
"location": {
"description": "If you have more than one account you can use this field to specify where it is.",
"type": "string"
},
"name": {
"description": "Give your sensor instance a name.",
"type": "string"
},
"description": {
"description": "An extra field that you can use to attach some additional information to this sensor instance",
"type": "string"
}
},
"required": [
"value",