summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/annotation-model/collections/pages/5.2-pageTypeValidated.json
blob: cb0e2f362db762299b6e083c6f8e221c41896dbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "5.2-pageTypeValidated.json",
  "assertionType": "must",
  "expectedResult": "valid",
  "onUnexpectedResult" : "failAndContinue",
  "errorMessage": "ERROR: Annotation Page is missing type key or 'AnnotationPage' is not a value of type.",
  "title": "Implements **Annotation Page _type_ key** such that '**AnnotationPage**' is **a value of _type_** - [model 5.2](https://www.w3.org/TR/annotation-model/#annotation-page)",
  "oneOf": [
      { "$ref": "collections.json#/definitions/annotationPageTypeValueFound" },
      { "type": "object",
        "properties":
         {"first":
           { "$ref": "collections.json#/definitions/annotationPageTypeValueFound" }
         },
        "required": [ "first" ]
      }
  ]
}