Commit 3a5ce5c0 authored by Jamie Tanna's avatar Jamie Tanna

Allow rendering RSVP locations as `h-card`s or `h-adr`s

As noted in 8b48459c and www-api#150,
the format of events the site is expecting weren't full `h-card` or
`h-adr`s, which then broke the site's rendering.

Some files have changed a fair bit due to the pretty-printing formats
being different between Ruby (how we're writing these files) vs Java
(how they were mostly originally written).

This need change only in the way that the site renders, as events now
being submitted as a valid `h-adr` or `h-card` will be passed through
without inspecting.
parent c261ba3e
Pipeline #118312104 passed with stages
in 8 minutes and 4 seconds
......@@ -23,14 +23,19 @@
"2019-09-02T21:00:00+0100"
],
"location": {
"street-address": [
"Fothergill House, 16 King Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"Fothergill House, 16 King Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2019-09-24T21:30:00+01:00"
],
"location": {
"street-address": [
"Rebel Recruiters, Huntingdon St"
],
"locality": [
"Nottinghamshire"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"Rebel Recruiters, Huntingdon St"
],
"locality": [
"Nottinghamshire"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2019-10-03T21:00:00+01:00"
],
"location": {
"street-address": [
"Antenna, 9A Beck St"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"Antenna, 9A Beck St"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2017-02-02T18:30:00Z"
],
"location": {
"street-address": [
"Accelerate Places, The Poynt, 45 Wollaton Street, Nottingham, NG1 5FW"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"Accelerate Places, The Poynt, 45 Wollaton Street, Nottingham, NG1 5FW"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2017-01-10T18:30:00Z"
],
"location": {
"street-address": [
"JH, 34a Stoney Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"JH, 34a Stoney Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2019-04-08T21:15:00+01:00"
],
"location": {
"street-address": [
"Antenna, Beck Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"Antenna, Beck Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -26,17 +26,22 @@
"2019-05-29T19:30:00+0100"
],
"location": {
"street-address": [
"Ludorati Cafe, 72 Maid Marian Way"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
],
"postal-code": [
"NG1 6BJ"
"properties": {
"street-address": [
"Ludorati Cafe, 72 Maid Marian Way"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
],
"postal-code": [
"NG1 6BJ"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -32,14 +32,19 @@
"2019-06-26T09:00:00+0100"
],
"location": {
"street-address": [
"Fothergill House, 16 King Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"Fothergill House, 16 King Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2017-08-08T18:30:00+01:00"
],
"location": {
"street-address": [
"JH, 34a Stoney Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"JH, 34a Stoney Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2019-04-11T21:00:00+01:00"
],
"location": {
"street-address": [
"JH, 34a Stoney Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"JH, 34a Stoney Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -29,14 +29,19 @@
"2019-09-09T21:00:00+01:00"
],
"location": {
"street-address": [
"Antenna, Beck Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"Antenna, Beck Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2018-05-23T21:00:00+01:00"
],
"location": {
"street-address": [
"Capital One, Station Street, NG2 3HX"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"Capital One, Station Street, NG2 3HX"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2016-08-01T18:30:00+01:00"
],
"location": {
"street-address": [
"Antenna, Beck Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"Antenna, Beck Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2018-06-14T21:00:00+01:00"
],
"location": {
"street-address": [
"JH, 34a Stoney Street, Nottingham, NG1 1NB"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"JH, 34a Stoney Street, Nottingham, NG1 1NB"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2017-06-13T18:30:00+01:00"
],
"location": {
"street-address": [
"JH, 34a Stoney Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"JH, 34a Stoney Street"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2019-05-09T21:00:00+01:00"
],
"location": {
"street-address": [
"JH, 34a Stoney Street, Nottingham, NG1 1NB"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
"properties": {
"street-address": [
"JH, 34a Stoney Street, Nottingham, NG1 1NB"
],
"locality": [
"Nottingham"
],
"country-name": [
"United Kingdom"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2014-10-05T17:00:00Z"
],
"location": {
"street-address": [
"39-45 Finsbury Square, City Gate House"
],
"locality": [
"London"
],
"postal-code": [
"EC2A 1PQ"
"properties": {
"street-address": [
"39-45 Finsbury Square, City Gate House"
],
"locality": [
"London"
],
"postal-code": [
"EC2A 1PQ"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2014-11-15T17:00:00Z"
],
"location": {
"street-address": [
"The University of Nottingham - Jubilee Campus, Wollaton Road"
],
"locality": [
null
],
"postal-code": [
"NG8 1BB"
"properties": {
"street-address": [
"The University of Nottingham - Jubilee Campus, Wollaton Road"
],
"locality": [
null
],
"postal-code": [
"NG8 1BB"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2014-11-30T16:00:00Z"
],
"location": {
"street-address": [
"Station Street"
],
"locality": [
"Nottingham"
],
"postal-code": [
"NG2 3BJ"
"properties": {
"street-address": [
"Station Street"
],
"locality": [
"Nottingham"
],
"postal-code": [
"NG2 3BJ"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2015-09-25T15:30:00Z"
],
"location": {
"street-address": [
"Computer Science, Jubilee Tampus"
],
"locality": [
"Nottingham"
],
"postal-code": [
"NG8 1BB"
"properties": {
"street-address": [
"Computer Science, Jubilee Tampus"
],
"locality": [
"Nottingham"
],
"postal-code": [
"NG8 1BB"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2015-12-01T22:00:00Z"
],
"location": {
"street-address": [
"24-32 Carlton Street"
],
"locality": [
"Nottingham"
],
"postal-code": [
"NG1 1NN"
"properties": {
"street-address": [
"24-32 Carlton Street"
],
"locality": [
"Nottingham"
],
"postal-code": [
"NG1 1NN"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2015-12-20T17:00:00Z"
],
"location": {
"street-address": [
"London Road"
],
"locality": [
"Peterborough"
],
"postal-code": [
"PE2 8AL"
"properties": {
"street-address": [
"London Road"
],
"locality": [
"Peterborough"
],
"postal-code": [
"PE2 8AL"
]
},
"type": [
"h-adr"
]
}
}
......
......@@ -30,14 +30,19 @@
"2016-03-20T18:00:00Z"
],
"location": {
"street-address": [
"Old Market Square"
],
"locality": [
"Nottingham"
],
"postal-code": [
"NG1 2DT"
"properties": {
"street-address": [
"Old Market Square"
],
"locality": [
"Nottingham"
],
"postal-code": [
"NG1 2DT"
]
},
"type": [
"h-adr"