summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/annotation-model/collections/pages/5.2-pageTotalValidated.json
blob: ca57e286ed327d4fd567545f23aa6705dd247cce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "5.2-pageTotalValidated.json",
  "assertionType": "must",
  "expectedResult": "valid",
  "onUnexpectedResult" : "failAndContinue",
  "errorMessage": "ERROR: Annotation Page has total key (i.e., in description of Collection included using partOf key) with non-numeric value, a negative numeric value, or more than one value.",
  "title": "**Annotation Page _total_ key**, if present (i.e., in description of Collection included using partOf key), is **a non-negative integer value** - [model 5.2](https://www.w3.org/TR/annotation-model/#annotation-page)",
  "type": "object",
  "properties":
  {
    "partOf":
    { "$ref": "collections.json#/definitions/totalDefinition" }
  }
}