-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loosening the test for valid license URIs
Allow different versions of creative commons license statement while retaining a test to ensure the following: https://iiif.io/api/presentation/3.0/#rights "The value must be drawn from the set of Creative Commons license URIs, the RightsStatements.org rights statement URIs"
- Loading branch information
1 parent
2dc907e
commit 582712a
Showing
5 changed files
with
200 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"@context": "http://iiif.io/api/presentation/3/context.json", | ||
"id": "http://localhost:4000/recipe/0008-rights/manifest.json", | ||
"type": "Manifest", | ||
"label": { | ||
"en": [ | ||
"Picture of Göttingen taken during the 2019 IIIF Conference" | ||
] | ||
}, | ||
"summary": { | ||
"en": [ | ||
"<p>Picture taken by the <a href=\"https://github.com/glenrobson\">IIIF Technical Coordinator</a></p>" | ||
] | ||
}, | ||
"rights": "https://en.wikipedia.org/wiki/License", | ||
"requiredStatement": { | ||
"label": { | ||
"en": [ | ||
"Attribution" | ||
] | ||
}, | ||
"value": { | ||
"en": [ | ||
"<span>Glen Robson, IIIF Technical Coordinator. <a href=\"https://creativecommons.org/licenses/by-sa/3.0\">CC BY-SA 3.0</a> <img src=\"https://licensebuttons.net/l/by-sa/3.0/88x31.png\"/></span>" | ||
] | ||
} | ||
}, | ||
"items": [ | ||
{ | ||
"id": "http://localhost:4000/recipe/0008-rights/canvas/p1", | ||
"type": "Canvas", | ||
"height": 3024, | ||
"width": 4032, | ||
"items": [ | ||
{ | ||
"id": "http://localhost:4000/recipe/0008-rights/page/p1/1", | ||
"type": "AnnotationPage", | ||
"items": [ | ||
{ | ||
"id": "http://localhost:4000/recipe/0008-rights/annotation/p0001-image", | ||
"type": "Annotation", | ||
"motivation": "painting", | ||
"body": { | ||
"id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen/full/max/0/default.jpg", | ||
"type": "Image", | ||
"format": "image/jpeg", | ||
"height": 3024, | ||
"width": 4032, | ||
"service": [ | ||
{ | ||
"id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen", | ||
"profile": "level1", | ||
"type": "ImageService3" | ||
} | ||
] | ||
}, | ||
"target": "http://localhost:4000/recipe/0008-rights/canvas/p1" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"@context": "http://iiif.io/api/presentation/3/context.json", | ||
"id": "http://localhost:4000/recipe/0008-rights/manifest.json", | ||
"type": "Manifest", | ||
"label": { | ||
"en": [ | ||
"Picture of Göttingen taken during the 2019 IIIF Conference" | ||
] | ||
}, | ||
"summary": { | ||
"en": [ | ||
"<p>Picture taken by the <a href=\"https://github.com/glenrobson\">IIIF Technical Coordinator</a></p>" | ||
] | ||
}, | ||
"rights": "http://creativecommons.org/licenses/by-sa/3.0/", | ||
"requiredStatement": { | ||
"label": { | ||
"en": [ | ||
"Attribution" | ||
] | ||
}, | ||
"value": { | ||
"en": [ | ||
"<span>Glen Robson, IIIF Technical Coordinator. <a href=\"https://creativecommons.org/licenses/by-sa/3.0\">CC BY-SA 3.0</a> <img src=\"https://licensebuttons.net/l/by-sa/3.0/88x31.png\"/></span>" | ||
] | ||
} | ||
}, | ||
"items": [ | ||
{ | ||
"id": "http://localhost:4000/recipe/0008-rights/canvas/p1", | ||
"type": "Canvas", | ||
"height": 3024, | ||
"width": 4032, | ||
"items": [ | ||
{ | ||
"id": "http://localhost:4000/recipe/0008-rights/page/p1/1", | ||
"type": "AnnotationPage", | ||
"items": [ | ||
{ | ||
"id": "http://localhost:4000/recipe/0008-rights/annotation/p0001-image", | ||
"type": "Annotation", | ||
"motivation": "painting", | ||
"body": { | ||
"id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen/full/max/0/default.jpg", | ||
"type": "Image", | ||
"format": "image/jpeg", | ||
"height": 3024, | ||
"width": 4032, | ||
"service": [ | ||
{ | ||
"id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen", | ||
"profile": "level1", | ||
"type": "ImageService3" | ||
} | ||
] | ||
}, | ||
"target": "http://localhost:4000/recipe/0008-rights/canvas/p1" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"@context": "http://iiif.io/api/presentation/3/context.json", | ||
"id": "http://localhost:4000/recipe/0008-rights/manifest.json", | ||
"type": "Manifest", | ||
"label": { | ||
"en": [ | ||
"Picture of Göttingen taken during the 2019 IIIF Conference" | ||
] | ||
}, | ||
"summary": { | ||
"en": [ | ||
"<p>Picture taken by the <a href=\"https://github.com/glenrobson\">IIIF Technical Coordinator</a></p>" | ||
] | ||
}, | ||
"rights": "http://rightsstatements.org/vocab/NoC-NC/1.0/", | ||
"requiredStatement": { | ||
"label": { | ||
"en": [ | ||
"Attribution" | ||
] | ||
}, | ||
"value": { | ||
"en": [ | ||
"<span>Glen Robson, IIIF Technical Coordinator. <a href=\"https://creativecommons.org/licenses/by-sa/3.0\">CC BY-SA 3.0</a> <img src=\"https://licensebuttons.net/l/by-sa/3.0/88x31.png\"/></span>" | ||
] | ||
} | ||
}, | ||
"items": [ | ||
{ | ||
"id": "http://localhost:4000/recipe/0008-rights/canvas/p1", | ||
"type": "Canvas", | ||
"height": 3024, | ||
"width": 4032, | ||
"items": [ | ||
{ | ||
"id": "http://localhost:4000/recipe/0008-rights/page/p1/1", | ||
"type": "AnnotationPage", | ||
"items": [ | ||
{ | ||
"id": "http://localhost:4000/recipe/0008-rights/annotation/p0001-image", | ||
"type": "Annotation", | ||
"motivation": "painting", | ||
"body": { | ||
"id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen/full/max/0/default.jpg", | ||
"type": "Image", | ||
"format": "image/jpeg", | ||
"height": 3024, | ||
"width": 4032, | ||
"service": [ | ||
{ | ||
"id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen", | ||
"profile": "level1", | ||
"type": "ImageService3" | ||
} | ||
] | ||
}, | ||
"target": "http://localhost:4000/recipe/0008-rights/canvas/p1" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters