You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -398,7 +403,7 @@ var SpaceApiSchemas = map[string]string{
398
403
"type": "number"
399
404
},
400
405
"lon": {
401
-
"description": "Longitude of your space location, in degree with decimal places. Use positive values for locations west of Greenwich, and negative values for locations east of Greenwich.",
406
+
"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.",
402
407
"type": "number"
403
408
}
404
409
},
@@ -439,11 +444,11 @@ var SpaceApiSchemas = map[string]string{
439
444
"minItems": 1
440
445
},
441
446
"stream": {
442
-
"description": "A mapping of stream types to stream URLs.If you use other stream types make a <a href=\"add-your-space\" target=\"_blank\">change request</a> or prefix yours with <samp>ext_</samp>.",
447
+
"description": "A mapping of stream types to stream URLs.If you use other stream types make a <a href=\"https://github.com/spaceapi/schema/pulls\" target=\"_blank\">pull request</a> or prefix yours with <samp>ext_</samp>.",
@@ -1118,7 +1123,7 @@ var SpaceApiSchemas = map[string]string{
1118
1123
]
1119
1124
},
1120
1125
"direction": {
1121
-
"description": "The wind direction in degrees. Use this <a href=\"https://github.com/slopjong/OpenSpaceLint/issues/80\" target=\"_blank_\">mapping</a> to convert the degrees into a string.",
1126
+
"description": "The wind direction in degrees.",
1122
1127
"type": "object",
1123
1128
"properties": {
1124
1129
"value": {
@@ -1254,7 +1259,7 @@ var SpaceApiSchemas = map[string]string{
1254
1259
"type": "number"
1255
1260
},
1256
1261
"unit": {
1257
-
"description": "What's the currency? If your currency is missing open a new <a href=\"https://github.com/slopjong/OpenSpaceLint/issues\" target=\"_blank\">issue</a> and request the addition of your currency according <a href=\"http://de.wikipedia.org/wiki/ISO_4217\" target=\"_blank\">ISO 4217</a>.",
1262
+
"description": "What's the currency? Please use the ones provided, in the next version you can use currency definitions according to <a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\">ISO 4217</a>",
1258
1263
"type": "string",
1259
1264
"enum": [
1260
1265
"BTC",
@@ -1506,9 +1511,11 @@ var SpaceApiSchemas = map[string]string{
@@ -1544,7 +1551,7 @@ var SpaceApiSchemas = map[string]string{
1544
1551
"type": "number"
1545
1552
},
1546
1553
"lon": {
1547
-
"description": "Longitude of your space location, in degree with decimal places. Use positive values for locations west of Greenwich, and negative values for locations east of Greenwich.",
1554
+
"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.",
1548
1555
"type": "number"
1549
1556
},
1550
1557
"timezone": {
@@ -1592,7 +1599,7 @@ var SpaceApiSchemas = map[string]string{
1592
1599
"description": "A mapping of stream types to stream URLs.If you use other stream types make a <a href=\"add-your-space\" target=\"_blank\">change request</a> or prefix yours with <samp>ext_</samp> .",
@@ -1611,11 +1618,8 @@ var SpaceApiSchemas = map[string]string{
1611
1618
"type": "object",
1612
1619
"properties": {
1613
1620
"open": {
1614
-
"description": "A flag which indicates if the space is currently open or closed. The state 'undefined' can be achieved by assigning this field the value 'null' (without the quotes). In most (all?) programming languages this is evaluated to false so that no app should break",
1615
-
"type": [
1616
-
"boolean",
1617
-
"null"
1618
-
]
1621
+
"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.",
1622
+
"type": "boolean"
1619
1623
},
1620
1624
"lastchange": {
1621
1625
"description": "The Unix timestamp when the space status changed most recently",
@@ -1647,10 +1651,7 @@ var SpaceApiSchemas = map[string]string{
1647
1651
"closed"
1648
1652
]
1649
1653
}
1650
-
},
1651
-
"required": [
1652
-
"open"
1653
-
]
1654
+
}
1654
1655
},
1655
1656
"events": {
1656
1657
"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'",
@@ -1724,6 +1725,14 @@ var SpaceApiSchemas = map[string]string{
"description": "Identi.ca or StatusNet account, in the form <samp>yourspace@example.org</samp>",
1755
1758
"type": "string"
@@ -1771,25 +1774,19 @@ var SpaceApiSchemas = map[string]string{
1771
1774
"type": "string"
1772
1775
},
1773
1776
"issue_mail": {
1774
-
"description": "A separate email address for issue reports (see the <em>issue_report_channels</em> field). This value can be Base64-encoded.",
1777
+
"description": "A separate email address for issue reports. This value can be Base64-encoded.",
1778
+
"type": "string"
1779
+
},
1780
+
"gopher": {
1781
+
"description": "A URL to find information about the Space in the Gopherspace. Example: gopher://gopher.binary-kitchen.de",
1782
+
"type": "string"
1783
+
},
1784
+
"matrix": {
1785
+
"description": "Matrix channel/community for the Hackerspace. Example: <samp>#spaceroom:example.org</samp> or <samp>+spacecommunity:example.org</samp>",
1775
1786
"type": "string"
1776
1787
}
1777
1788
}
1778
1789
},
1779
-
"issue_report_channels": {
1780
-
"description": "This array defines all communication channels where you want to get automated issue reports about your SpaceAPI endpoint from the revalidator. This field is meant for internal usage only and it should never be consumed by any app. At least one channel must be defined. Please consider that when using <samp>ml</samp> the mailing list moderator has to moderate incoming emails or add the sender email to the subscribers. If you don't break your SpaceAPI implementation you won't get any notifications ;-)",
1781
-
"type": "array",
1782
-
"items": {
1783
-
"type": "string",
1784
-
"enum": [
1785
-
"email",
1786
-
"issue_mail",
1787
-
"twitter",
1788
-
"ml"
1789
-
]
1790
-
},
1791
-
"minItems": 1
1792
-
},
1793
1790
"sensors": {
1794
1791
"description": "Data of various sensors in your space (e.g. temperature, humidity, amount of Club-Mate left, \u2026). 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.",
1795
1792
"type": "object",
@@ -2272,7 +2269,7 @@ var SpaceApiSchemas = map[string]string{
2272
2269
]
2273
2270
},
2274
2271
"direction": {
2275
-
"description": "The wind direction in degrees. Use this <a href=\"https://github.com/slopjong/OpenSpaceLint/issues/80\" target=\"_blank_\">mapping</a> to convert the degrees into a string.",
2272
+
"description": "The wind direction in degrees.",
2276
2273
"type": "object",
2277
2274
"properties": {
2278
2275
"value": {
@@ -2570,81 +2567,15 @@ var SpaceApiSchemas = map[string]string{
2570
2567
}
2571
2568
}
2572
2569
},
2573
-
"cache": {
2574
-
"description": "Specifies options about caching of your SpaceAPI endpoint. Use this if you want to avoid hundreds/thousands of application instances crawling your status.",
2575
-
"type": "object",
2576
-
"properties": {
2577
-
"schedule": {
2578
-
"description": "Cache update cycle. This field must match the basic regular expression <code>^[mhd]\\.[0-9]{2}$</code>, where the first field specifies a unit of time (<code>m</code> for 1 minute, <code>h</code> for 1 hour, <code>d</code> for 1 day), and the second field specifies how many of this unit should be skipped between updates. For example, <samp>m.10</samp> means one updates every 10 minutes, <samp>h.03</samp> means one update every 3 hours, and <samp>d.01</samp> means one update every day.",
2579
-
"type": "string",
2580
-
"enum": [
2581
-
"m.02",
2582
-
"m.05",
2583
-
"m.10",
2584
-
"m.15",
2585
-
"m.30",
2586
-
"h.01",
2587
-
"h.02",
2588
-
"h.04",
2589
-
"h.08",
2590
-
"h.12",
2591
-
"d.01"
2592
-
]
2593
-
}
2594
-
},
2595
-
"required": [
2596
-
"schedule"
2597
-
]
2598
-
},
2599
2570
"projects": {
2600
2571
"description": "Your project sites (links to GitHub, wikis or wherever your projects are hosted)",
2601
2572
"type": "array",
2602
2573
"items": {
2603
2574
"type": "string"
2604
2575
}
2605
2576
},
2606
-
"radio_show": {
2607
-
"description": "A list of radio shows that your hackerspace might broadcast.",
2608
-
"type": "array",
2609
-
"items": {
2610
-
"type": "object",
2611
-
"properties": {
2612
-
"name": {
2613
-
"description": "The name of the radio show.",
2614
-
"type": "string"
2615
-
},
2616
-
"url": {
2617
-
"description": "The stream URL which must end in a filename or a semicolon such as <br><ul><li>http://signal.hackerspaces.org:8090/signal.mp3</li><li>http://85.214.64.213:8060/;</ul>",
2618
-
"type": "string"
2619
-
},
2620
-
"type": {
2621
-
"description": "The stream encoder.",
2622
-
"type": "string",
2623
-
"enum": [
2624
-
"mp3",
2625
-
"ogg"
2626
-
]
2627
-
},
2628
-
"start": {
2629
-
"description": "Specify the start time by using the <a href=\"http://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\">ISO 8601</a> standard. This encodes the time as follows: <br><br><ul><li>Combined date and time in UTC: 2013-06-10T10:00Z</li><li>Combined date and time in localtime with the timezone offset: 2013-06-10T12:00+02:00</li><li>Combined date and time in localtime with the timezone offset: 2013-06-10T07:00-03:00</li></ul> The examples refer all to the same time.",
2630
-
"type": "string"
2631
-
},
2632
-
"end": {
2633
-
"description": "Specify the end time by using the <a href=\"http://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\">ISO 8601</a> standard. This encodes the time as follows: <br><br><ul><li>Combined date and time in UTC: 2013-06-10T10:00Z</li><li>Combined date and time in localtime with the timezone offset: 2013-06-10T12:00+02:00</li><li>Combined date and time in localtime with the timezone offset: 2013-06-10T07:00-03:00</li></ul> The examples refer all to the same time.",
2634
-
"type": "string"
2635
-
}
2636
-
},
2637
-
"required": [
2638
-
"name",
2639
-
"url",
2640
-
"type",
2641
-
"start",
2642
-
"end"
2643
-
]
2644
-
}
2645
-
},
2646
2577
"membership_plans": {
2647
-
"description": "A list of the different membership plans your hackerspace might have.",
2578
+
"description": "A list of the different membership plans your hackerspace might have. Set the value according to your billing process. For example, if your membership fee is 10€ per month, but you bill it yearly (aka. the member pays the fee once per year), set the amount to 120 an the billing_interval to yearly.",
2648
2579
"type": "array",
2649
2580
"items": {
2650
2581
"type": "object",
@@ -2661,8 +2592,8 @@ var SpaceApiSchemas = map[string]string{
2661
2592
"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.",
2662
2593
"type": "string"
2663
2594
},
2664
-
"renewal_interval": {
2665
-
"description": "How often is the membership renewed? If you select other, please specify in the description what your renewal interval is.",
2595
+
"billing_interval": {
2596
+
"description": "How often is the membership billed? If you select other, please specify in the description what your billing interval is.",
2666
2597
"type": "string",
2667
2598
"enum": [
2668
2599
"yearly",
@@ -2682,7 +2613,7 @@ var SpaceApiSchemas = map[string]string{
2682
2613
"name",
2683
2614
"value",
2684
2615
"currency",
2685
-
"renewal_interval"
2616
+
"billing_interval"
2686
2617
]
2687
2618
}
2688
2619
}
@@ -2693,14 +2624,13 @@ var SpaceApiSchemas = map[string]string{
0 commit comments