Skip to content

Commit

Permalink
Add upcoming events
Browse files Browse the repository at this point in the history
(closes #25)
  • Loading branch information
bhousel committed Mar 21, 2018
1 parent 69b195f commit 18e1e34
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 1 deletion.
32 changes: 31 additions & 1 deletion resources/north-america/us/Mapping-DC-meetup.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,35 @@
"languageCodes": ["en"],
"description": "Improve OpenStreetMap in the DC area",
"url": "https://mappingdc.org/",
"contacts": [{"name": "Brian DeRocher", "email": "[email protected]"}]
"contacts": [{"name": "Brian DeRocher", "email": "[email protected]"}],
"events": [
{
"name": "April Meetup",
"description": "Meets every other month on the 2nd Tuesday",
"when": "2018-04-10 18:00",
"where": "Capitol City Brewing Company, 1100 New York Ave NW, Washington, DC",
"url": "https://www.meetup.com/MappingDC/events/qqvnvhyxgbnb/"
},
{
"name": "June Meetup",
"description": "Meets every other month on the 2nd Tuesday",
"when": "2018-06-12 18:00",
"where": "Capitol City Brewing Company, 1100 New York Ave NW, Washington, DC",
"url": "https://www.meetup.com/MappingDC/events/qqvnvhyxjbqb/"
},
{
"name": "August Meetup",
"description": "Meets every other month on the 2nd Tuesday",
"when": "2018-08-14 18:00",
"where": "Capitol City Brewing Company, 1100 New York Ave NW, Washington, DC",
"url": "https://www.meetup.com/MappingDC/events/qqvnvhyxlbsb/"
},
{
"name": "October Meetup",
"description": "Meets every other month on the 2nd Tuesday",
"when": "2018-10-09 18:00",
"where": "Capitol City Brewing Company, 1100 New York Ave NW, Washington, DC",
"url": "https://www.meetup.com/MappingDC/events/qqvnvhyxnbmb/"
}
]
}
37 changes: 37 additions & 0 deletions schema/resource.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,43 @@
},
"email": {
"description": "The contact person's email address",
"type": "string",
"format": "email"
}
}
}
},
"events": {
"description": "Featured events for this resource",
"type": "array",
"uniqueItems": true,
"items": {
"type": "object",
"required": [
"name",
"description",
"when",
"where"
],
"properties": {
"name": {
"description": "Name of the event",
"type": "string"
},
"description": {
"description": "One line description of the event",
"type": "string"
},
"when": {
"description": "When the event is (Should be a string parseable by Date.parse, and assumed to be local time zone for the event)",
"type": "string"
},
"where": {
"description": "Where the event is",
"type": "string"
},
"url": {
"description": "A url link for the event",
"type": "string"
}
}
Expand Down

0 comments on commit 18e1e34

Please sign in to comment.