summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/annotation-model/collections/5.1-collectionTotalValidated.json
blob: 51b3ff263a2fe75b5f7919294eda522c3a06d716 (plain)
1
2
3
4
5
6
7
8
9
10
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "5.1-collectionTotalValidated.json",
  "assertionType": "must",
  "expectedResult": "valid",
  "onUnexpectedResult" : "failAndContinue",
  "errorMessage": "ERROR: Annotation Collection has total key with non-numeric value, a negative numeric value, or more than one value.",
  "title": "**Annotation Collection _total_ key**, if present, is **a non-negative integer value** - [model 5.1](https://www.w3.org/TR/annotation-model/#annotation-collection)",
  "$ref": "collections.json#/definitions/totalDefinition"
}