From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../bodiesTargets/3.2.7-bodyChoice.json | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 testing/web-platform/tests/annotation-model/annotations/bodiesTargets/3.2.7-bodyChoice.json (limited to 'testing/web-platform/tests/annotation-model/annotations/bodiesTargets/3.2.7-bodyChoice.json') diff --git a/testing/web-platform/tests/annotation-model/annotations/bodiesTargets/3.2.7-bodyChoice.json b/testing/web-platform/tests/annotation-model/annotations/bodiesTargets/3.2.7-bodyChoice.json new file mode 100644 index 0000000000..dcbc7f22af --- /dev/null +++ b/testing/web-platform/tests/annotation-model/annotations/bodiesTargets/3.2.7-bodyChoice.json @@ -0,0 +1,29 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "id": "3.2.7-bodyChoice.json", + "assertionType": "may", + "expectedResult": "valid", + "onUnexpectedResult" : "passAndContinue", + "errorMessage": "A Choice resource may be used as an Annotation Body (not found).", + "title": "Implements **Choice** with **_type_ and _items_ keys** as a body of the Annotation [model 3.2.7](https://www.w3.org/TR/annotation-model/#choice-of-bodies-and-targets)", + "description": "True when Annotation includes one or more Choice resources as Annotation body(ies). (Section 3.2.7)", + "type": "object", + "required": ["body"], + "properties": + { + "body": + { + "oneOf": [ + { "$ref": "choiceSet.json#/definitions/choiceDetected" }, + { "not": + { + "items": + { "not": + { "$ref": "choiceSet.json#/definitions/choiceDetected" } + } + } + } + ] + } + } +} \ No newline at end of file -- cgit v1.2.3