hbz / oerworldmap

OER World Map
https://oerworldmap.org/
Other
30 stars 16 forks source link

JSON Schema: Set "type" to "array" for "license" #346

Closed acka47 closed 8 years ago

acka47 commented 9 years ago

Currently I am working on adding http://www.africanstorybook.org/ to the map. As many other services they enable chosing between different licenses (CC-BY and CC-BY-NC, see http://www.africanstorybook.org/content/our-story). Thus, it makes sense to enable indicating several licenses for one service.

@literarymachine I can adjust the schema. I may also adjust the current data as I don't think there are already many services with license information. Of course it would be more safe to adjust this by a script...

literarymachine commented 9 years ago

Changing license to allow multiple values will make it necessary to update the elasticsearch mapping. Thus, all data will have to be ingested into a new index. While at this, I might as well script the changes to the existing data.

acka47 commented 9 years ago

OK. I will request a pull soon.

acka47 commented 9 years ago

Reminder for myself: Add the African Storybook project as soon as this is deployed.

literarymachine commented 9 years ago

On beta.

Changing license to allow multiple values will make it necessary to update the elasticsearch mapping.

@acka47: I was mistaken here, changing the type to array does not require a new mapping because the values remain strings. Would you mind adjusting the current Service descriptions manually?

acka47 commented 9 years ago

I adjusted and re-posted toe beta the following stories: OER research hub, IndioEduca story, Opening Canons, Folhas (removing the license info), Serlo

Looks good. +1 Let me know when I should re-post them to production...

literarymachine commented 9 years ago

Deployed to production. /cc @acka47