IIIF/presentation-validator

Possible improvement: including https version of licences links?

giacomomarchioro opened this issue · 3 comments

Hello!
The example manifest response uses the HTTPS version of the licence page resulting in an invalid JSON for the current schema where these are not included.

"rights": {
"title": "Rights URI isn't from either Creative Commons or RightsStatements.org. Both require http links.",
"oneOf": [
{
"type": "string",
"format": "uri",
"pattern": "http://creativecommons.org/licenses/.*"
},
{
"type": "string",
"format": "uri",
"pattern": "http://creativecommons.org/publicdomain/mark/.*"
},
{
"type": "string",
"format": "uri",
"pattern": "http://rightsstatements.org/vocab/.*"
}
]
},

Maybe the https version could be added to the JSON schema?

Hi Giacomo,

I'm afraid the spec requires http in this section:

https://iiif.io/api/presentation/3.0/#rights

and there was a long discussion here on what to go for either http or https:

IIIF/api#1874

Your absolutely right though, the example does show a https url for the rights. I will submit a issue in the API repo to get this changed.

I've submitted an issue here: IIIF/api#2010

Thanks a lot, Glen, sorry, my mistake I think I missed this point when I read the specs!