GLL-Better / opendata

Documentation, Changelog and Issues related to the GLL RPDE endpoint
1 stars 1 forks source link

Updates to activity list #4

Closed nickevansuk closed 7 years ago

nickevansuk commented 7 years ago

Reviewing the activity list, there's a few changes required to bring it in line with the modelling spec and primer:

See 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:

{
  "@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/"
}
itsterry commented 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

Voice

Mobile: +44 (0) 77 68 91 81 93 Office: +44 (0) 20 7193 0909

IM

Google Chat: itsterry@gmail.com Skype: itsterry

Company

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:

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 .

itsterry commented 7 years ago

I think we can close this one now?

Live url: https://www.better.org.uk/odi/activities.json

nickevansuk commented 7 years ago

Just missing one point from above:

All else looks great :)

itsterry commented 7 years ago

How's this?: https://www.better.org.uk/odi/activities.json

nickevansuk commented 7 years ago

bellissimo :)