Source code

Revision control

Copy as Markdown

Other Tools

{
"id": "3.3.7-bodyCanonical.json",
"assertionType": "may",
"expectedResult": "valid",
"onUnexpectedResult" : "passAndContinue",
"errorMessage": "The description of a body rresource may include canonical key with a single value that is of format uri.",
"title": "Implements **body _canonical_ key** with a **single value** that is of **format uri** [model 3.3.7](https://www.w3.org/TR/annotation-model/#bodies-and-targets)",
"description": "True when Annotation includes one or more bodies, one or more of which include canonical key with a single value of format uri. (Section 3.3.7)",
"type": "object",
"required": ["body"],
"properties":
{
"body":
{
"oneOf": [
{ "anyOf": [
{ "$ref": "otherProperties.json#/definitions/canonicalPropertyFound" },
{ "$ref": "otherProperties.json#/definitions/itemCanonicalPropertyFound" },
{ "$ref": "otherProperties.json#/definitions/sourceCanonicalPropertyFound" }
]
},
{ "not":
{ "items":
{ "not":
{ "anyOf": [
{ "$ref": "otherProperties.json#/definitions/canonicalPropertyFound" },
{ "$ref": "otherProperties.json#/definitions/itemCanonicalPropertyFound" },
{ "$ref": "otherProperties.json#/definitions/sourceCanonicalPropertyFound" }
]
}
}
}
}
]
}
}
}