Skip to content

Commit c165d2e

Browse files
Merge branch 'main' into add-name-field
2 parents e587323 + 5d33520 commit c165d2e

4 files changed

+34
-1
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ When making changes to the node_registry.json file please only change or add the
3434
- `description` (a short description of your node, optional)
3535
- `location` (latitude and longitude of your organization, optional)
3636
- `contact` (an email address that can be used by users to contact you if they have questions about your node)
37+
- `registration_status` (indicates whether the node is currently accepting new users or not)
38+
- values must be one of:
39+
- `open`: accepting new registration requests
40+
- `limited`: accepting new registrations under limited circumstances
41+
- `closed`: not accepting new registration requests
3742
- `links` (contains a list of link objects that describe URLs for each node)
3843
- each link object must contain a `rel` and `href` key.
3944
- some link objects are required, see the table below for details
@@ -58,6 +63,7 @@ for a description of some link values that may be useful.
5863
| `copyright` <br> `license` <br> `terms-of-service` | link to legal information of the node | |
5964
| `describedby` | link to full documentation and details of the node, its purpose and so on | |
6065
| `edit` | A self-reference to this repo or anywhere a user can request an update to a node | |
66+
| `registration` | link to a page or email address where a new user can request an account | |
6167
| `service` | link to the landing page of the node | Yes |
6268
| `service-desc` | link to the `/components` endpoint of the node | |
6369
| `icon` | link to the logo of the specific node (or the maintainer/institution's logo) | |

doc/node_registry.example.json

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"date_added": "2023-05-04T17:09:07+0000",
55
"affiliation": "University of Toronto",
66
"description": "This is the best node there is!",
7+
"registration_status": "open",
78
"links": [
89
{
910
"rel": "service",

node_registry.json

+17
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"latitude": 43.65
99
},
1010
"contact": "[email protected]",
11+
"registration_status": "limited",
1112
"links": [
1213
{
1314
"rel": "service",
@@ -28,6 +29,11 @@
2829
"rel": "version",
2930
"type": "application/json",
3031
"href": "https://daccs.cs.toronto.edu/version"
32+
},
33+
{
34+
"rel": "registration",
35+
"type": "text/html",
36+
"href": "https://docs.google.com/forms/d/e/1FAIpQLSf3w3bBBkEcI7ehonci56rQnHsz-OPltnbwls9KogvhXWxTFQ/viewform"
3137
}
3238
]
3339
},
@@ -40,6 +46,7 @@
4046
"latitude": 45.5
4147
},
4248
"contact": "[email protected]",
49+
"registration_status": "limited",
4350
"links": [
4451
{
4552
"rel": "service",
@@ -60,6 +67,11 @@
6067
"rel": "version",
6168
"type": "application/json",
6269
"href": "https://pavics.ouranos.ca/version"
70+
},
71+
{
72+
"rel": "registration",
73+
"type": "text/html",
74+
"href": "https://forms.office.com/Pages/ResponsePage.aspx?id=jf6iw_Q8V02umCWsOYvz8Pa-ghpkFLtEhY0_uNsYGzNUM0RKREtBODQ4S0ZXNEZEUFlZRExJWkhVQSQlQCN0PWcu"
6375
}
6476
]
6577
},
@@ -72,6 +84,7 @@
7284
"latitude": 45.5303976
7385
},
7486
"contact": "[email protected]",
87+
"registration_status": "limited",
7588
"links": [
7689
{
7790
"rel": "service",
@@ -92,6 +105,10 @@
92105
"rel": "version",
93106
"type": "application/json",
94107
"href": "https://hirondelle.crim.ca/version"
108+
},
109+
{
110+
"rel": "registration",
111+
"href": "mailto:[email protected]"
95112
}
96113
]
97114
}

node_registry.schema.json

+10-1
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,21 @@
156156
"contact": {
157157
"type": "string",
158158
"format": "email"
159+
},
160+
"registration_status": {
161+
"type": "string",
162+
"enum": [
163+
"open",
164+
"limited",
165+
"closed"
166+
]
159167
}
160168
},
161169
"required": [
162170
"contact",
163171
"links",
164-
"name"
172+
"name",
173+
"registration_status"
165174
],
166175
"additionalProperties": false
167176
}

0 commit comments

Comments
 (0)