-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require points of contact for resources
(closes #12)
- Loading branch information
Showing
5 changed files
with
63 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,20 +43,26 @@ Each feature must have a unique `id` property, for example `usa_full`. | |
|
||
These are `*.json` files found under the `resources/` folder. | ||
Each resource file contains a single JSON object with information about | ||
the resource. | ||
the community resource. | ||
|
||
Each resource must have a unique `id` property. | ||
The `featureId` property links the resource to a single feature. | ||
|
||
```js | ||
{ | ||
"id": "OSM-US-Slack", | ||
"featureId": "usa_full", | ||
"type": "slack", | ||
"countryCode": "US", | ||
"name": "OpenStreetMap US Slack", | ||
"description": "Sign up at {url}", | ||
"url": "https://osmus-slack.herokuapp.com/" | ||
"id": "OSM-US-Slack", | ||
"featureId": "usa_full", | ||
"type": "slack", | ||
"countryCode": "US", | ||
"name": "OpenStreetMap US Slack", | ||
"description": "Sign up at {url}", | ||
"url": "https://osmus-slack.herokuapp.com/", | ||
"contacts": [ | ||
{ | ||
"name" : "Barney Rubble", | ||
"email" : "[email protected]" | ||
} | ||
] | ||
} | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,11 @@ | |
"countryCode": "US", | ||
"name": "OpenStreetMap US Slack", | ||
"description": "Sign up at {url}", | ||
"url": "https://osmus-slack.herokuapp.com/" | ||
"url": "https://osmus-slack.herokuapp.com/", | ||
"contacts": [ | ||
{"name": "Ian Dees", "email": "[email protected]"}, | ||
{"name": "Clifford Snow", "email": "[email protected]"} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"resources":{"OSM-US-Slack":{"id":"OSM-US-Slack","featureId":"usa_full","type":"slack","countryCode":"US","name":"OpenStreetMap US Slack","description":"Sign up at {url}","url":"https://osmus-slack.herokuapp.com/"}}} | ||
{"resources":{"OSM-US-Slack":{"id":"OSM-US-Slack","featureId":"usa_full","type":"slack","countryCode":"US","name":"OpenStreetMap US Slack","description":"Sign up at {url}","url":"https://osmus-slack.herokuapp.com/","contacts":[{"name":"Ian Dees","email":"[email protected]"},{"name":"Clifford Snow","email":"[email protected]"}]}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
{ | ||
"id": "OSM-US-Slack", | ||
"featureId": "usa_full", | ||
"type": "slack", | ||
"countryCode": "US", | ||
"name": "OpenStreetMap US Slack", | ||
"description": "Sign up at {url}", | ||
"url": "https://osmus-slack.herokuapp.com/" | ||
"id": "OSM-US-Slack", | ||
"featureId": "usa_full", | ||
"type": "slack", | ||
"countryCode": "US", | ||
"name": "OpenStreetMap US Slack", | ||
"description": "Sign up at {url}", | ||
"url": "https://osmus-slack.herokuapp.com/", | ||
"contacts": [ | ||
{ | ||
"name": "Ian Dees", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Clifford Snow", | ||
"email": "[email protected]" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters