Closed nickevansuk closed 7 years ago
Confirming:
inScheme changed to concepts
@context is already there (check end of list at https://www.better.org.uk/odi/activities.json )
license is already there (check end of list at https://www.better.org.uk/odi/activities.json )
notation has been added
These changes will go live with next code deployment (should be today at some point)
Terry Shuttleworth Morse Digital LLP
terry@morsedigital.com
Mobile: +44 (0) 77 68 91 81 93 Office: +44 (0) 20 7193 0909
Google Chat: itsterry@gmail.com Skype: itsterry
Registered in England No. OC368394 Vat No. GB 122 2042 79
On Wed, May 31, 2017 at 2:57 PM, Nick Evans notifications@github.com wrote:
Reviewing the activity list, there's a few changes required to bring it in line with the modelling spec and primer:
- inScheme should be concepts for the array of concepts.
- It should include "@context": "https://www.openactive.io/ns/oa.jsonld ".
- It should include "license": "https://creativecommons.org/ licenses/by/4.0/"
- It should include "notation": "123" for the internal ID of that activity in your database
See this link for a conformant example: http://www.client1.sport.sportstarta.com/api/concepts/activities
{ "@context": "https://www.openactive.io/ns/oa.jsonld", "type": "ConceptScheme", "url": "https://better.org.uk/odi/activities", "title": "Activities at Better Leisure Centres", "concepts": [ { "type": "Concept", "prefLabel": "Active for Life", "notation": "123", }, ... ], "license": "https://creativecommons.org/licenses/by/4.0/" }
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GLL-Better/opendata/issues/4, or mute the thread https://github.com/notifications/unsubscribe-auth/AAF6S3CEPNe6KcBmiN3wvIMtHpF_Ky7tks5r_XG1gaJpZM4Nrq9X .
I think we can close this one now?
Just missing one point from above:
All else looks great :)
How's this?: https://www.better.org.uk/odi/activities.json
bellissimo :)
Reviewing the activity list, there's a few changes required to bring it in line with the modelling spec and primer:
inScheme
should beconcepts
for the array of concepts."@context": "https://www.openactive.io/ns/oa.jsonld"
."license": "https://creativecommons.org/licenses/by/4.0/"
"notation": "123"
for the internal ID of that activity in your database"title"
instead of"description"
if only one of these is specifiedSee this link for a conformant example: http://www.client1.sport.sportstarta.com/api/concepts/activities
Example of resulting output after above changes made as follows: