diff options
Diffstat (limited to 'testing/web-platform/tests/annotation-model/collections/pages/3.3.1-pageCreatorImplemented.json')
-rw-r--r-- | testing/web-platform/tests/annotation-model/collections/pages/3.3.1-pageCreatorImplemented.json | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/annotation-model/collections/pages/3.3.1-pageCreatorImplemented.json b/testing/web-platform/tests/annotation-model/collections/pages/3.3.1-pageCreatorImplemented.json new file mode 100644 index 0000000000..6ae95413e2 --- /dev/null +++ b/testing/web-platform/tests/annotation-model/collections/pages/3.3.1-pageCreatorImplemented.json @@ -0,0 +1,28 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "id": "3.3.1-pageCreatorImplemented.json", + "assertionType": "may", + "expectedResult": "valid", + "onUnexpectedResult" : "passAndContinue", + "errorMessage": "Valid Annotation Page-level creator key (i.e., in description of Collection included using partOf key) not found. Annotation Page may have zero or more creators inherited from Collection.", + "title": "Implements **Annotation Page-level _creator_ key** (i.e., in description of Collection included using partOf key) which has one or more values, each of which is a **string of format uri** or an **object** - [model 3.3.1](https://www.w3.org/TR/annotation-model/#lifecycle-information)", + "type": "object", + "properties": + { + "partOf": + { "$ref": "#/definitions/creatorImplemented" } + }, + "required": [ "partOf" ], + "definitions": + { + "creatorImplemented": + { + "allOf": + [ + { "$ref": "otherProperties.json#/definitions/creatorValidIfPresent"}, + { "type": "object", + "required": [ "creator" ] } + ] + } + } +} |