Update web-platform-tests to revision 3137d1d2d7757366a69f8a449b458b5057e0e81e

This commit is contained in:
Ms2ger 2016-12-28 09:51:21 +01:00
parent 81ca858678
commit d6ba94ca28
2339 changed files with 89274 additions and 9328 deletions

View file

@ -18,5 +18,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -39,11 +39,7 @@
"annotations/bodiesTargets/3.2.4-bodyETB.json",
"annotations/bodiesTargets/3.2.4-bodyETBTypeTextualBody.json",
"annotations/bodiesTargets/3.2.4-bodyETBTypeText.json",
"annotations/bodiesTargets/3.2.7-bodyChoiceSet.json",
"annotations/bodiesTargets/3.2.7-bodyChoice.json",
"annotations/bodiesTargets/3.2.8-bodyList.json",
"annotations/bodiesTargets/3.2.8-bodyComposite.json",
"annotations/bodiesTargets/3.2.8-bodyIndependents.json",
"annotations/bodiesTargets/3.2.1-targSingleFormat.json",
"annotations/bodiesTargets/3.2.1-targSingleLanguage.json",
"annotations/bodiesTargets/3.3.1-targSingleCreator.json",
@ -61,11 +57,7 @@
"annotations/bodiesTargets/3.3.7-targCanonical.json",
"annotations/bodiesTargets/3.3.7-targVia.json",
"annotations/bodiesTargets/3.2.1-targEWR.json",
"annotations/bodiesTargets/3.2.7-targChoiceSet.json",
"annotations/bodiesTargets/3.2.7-targChoice.json",
"annotations/bodiesTargets/3.2.8-targList.json",
"annotations/bodiesTargets/3.2.8-targComposite.json",
"annotations/bodiesTargets/3.2.8-targIndependents.json",
"annotations/bodiesTargets/4-bodySpecificResource.json",
"annotations/bodiesTargets/4-targSpecificResource.json",
"annotations/specificResource/4.3.3-refinedBy.json",

View file

@ -21,5 +21,6 @@
{ "not": { "items": { "not": { "$ref": "bodyTarget.json#/definitions/itemEwrDetected" } } } }
]
}
}
},
"required": [ "target" ]
}

View file

@ -33,5 +33,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -33,5 +33,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -33,5 +33,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -33,5 +33,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -33,5 +33,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -33,5 +33,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -33,5 +33,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -1,29 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "3.2.7-bodyChoiceSet.json",
"assertionType": "may",
"expectedResult": "valid",
"onUnexpectedResult" : "passAndContinue",
"errorMessage": "A Body may be a Choice or Set.",
"title": "Implements **Choice or Set** with type and items key as a body - [model 3.2.7](https://www.w3.org/TR/annotation-model/#choice-of-bodies-and-targets)",
"description": "True when a Choice or Set is used as a body. (Section 3.2.7)",
"type": "object",
"required": ["body"],
"properties":
{
"body":
{
"oneOf": [
{ "$ref": "choiceSet.json#/definitions/choiceOrSetDetected" },
{ "not":
{
"items":
{ "not":
{ "$ref": "choiceSet.json#/definitions/choiceOrSetDetected" }
}
}
}
]
}
}
}

View file

@ -24,5 +24,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -1,28 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "3.2.7-targChoiceSet.json",
"assertionType": "may",
"expectedResult": "valid",
"onUnexpectedResult" : "passAndContinue",
"errorMessage": "A Target may be a Choice or Set.",
"title": "Implements **Choice or Set** with type and items key as a target - [model 3.2.7](https://www.w3.org/TR/annotation-model/#choice-of-bodies-and-targets)",
"description": "True when a Choice or Set is used as a target. (Section 3.2.7)",
"type": "object",
"properties":
{
"target":
{
"oneOf": [
{ "$ref": "choiceSet.json#/definitions/choiceOrSetDetected" },
{ "not":
{
"items":
{ "not":
{ "$ref": "choiceSet.json#/definitions/choiceOrSetDetected" }
}
}
}
]
}
}
}

View file

@ -1,29 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "3.2.8-bodyComposite.json",
"assertionType": "may",
"expectedResult": "valid",
"onUnexpectedResult" : "passAndContinue",
"errorMessage": "A Composite resource may be used as an Annotation Body (not found).",
"title": "Implements **Composite** with **_type_ and _items_ keys** as a body of the Annotation [model 3.2.8](https://www.w3.org/TR/annotation-model/#sets-of-bodies-and-targets)",
"description": "True when Annotation includes one or more Composite resources as Annotation body(ies). (Section 3.2.8)",
"type": "object",
"required": ["body"],
"properties":
{
"body":
{
"oneOf": [
{ "$ref": "choiceSet.json#/definitions/compositeDetected" },
{ "not":
{
"items":
{ "not":
{ "$ref": "choiceSet.json#/definitions/compositeDetected" }
}
}
}
]
}
}
}

View file

@ -1,29 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "3.2.8-bodyIndependents.json",
"assertionType": "may",
"expectedResult": "valid",
"onUnexpectedResult" : "passAndContinue",
"errorMessage": "A Independents resource may be used as an Annotation Body (not found).",
"title": "Implements **Independents** with **_type_ and _items_ keys** as a body of the Annotation [model 3.2.8](https://www.w3.org/TR/annotation-model/#sets-of-bodies-and-targets)",
"description": "True when Annotation includes one or more Independents resources as Annotation body(ies). (Section 3.2.8)",
"type": "object",
"required": ["body"],
"properties":
{
"body":
{
"oneOf": [
{ "$ref": "choiceSet.json#/definitions/independentsDetected" },
{ "not":
{
"items":
{ "not":
{ "$ref": "choiceSet.json#/definitions/independentsDetected" }
}
}
}
]
}
}
}

View file

@ -1,29 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "3.2.8-bodyList.json",
"assertionType": "may",
"expectedResult": "valid",
"onUnexpectedResult" : "passAndContinue",
"errorMessage": "A List resource may be used as an Annotation Body (not found).",
"title": "Implements **List** with **_type_ and _items_ keys** as a body of the Annotation [model 3.2.8](https://www.w3.org/TR/annotation-model/#sets-of-bodies-and-targets)",
"description": "True when Annotation includes one or more List resources as Annotation body(ies). (Section 3.2.8)",
"type": "object",
"required": ["body"],
"properties":
{
"body":
{
"oneOf": [
{ "$ref": "choiceSet.json#/definitions/listDetected" },
{ "not":
{
"items":
{ "not":
{ "$ref": "choiceSet.json#/definitions/listDetected" }
}
}
}
]
}
}
}

View file

@ -1,28 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "3.2.8-targComposite.json",
"assertionType": "may",
"expectedResult": "valid",
"onUnexpectedResult" : "passAndContinue",
"errorMessage": "A Composite resource may be used as an Annotation Target (not found).",
"title": "Implements **Composite** with **_type_ and _items_ keys** as a target of the Annotation [model 3.2.8](https://www.w3.org/TR/annotation-model/#sets-of-targets-and-targets)",
"description": "True when Annotation includes one or more Composite resources as Annotation target(ies). (Section 3.2.8)",
"type": "object",
"properties":
{
"target":
{
"oneOf": [
{ "$ref": "choiceSet.json#/definitions/compositeDetected" },
{ "not":
{
"items":
{ "not":
{ "$ref": "choiceSet.json#/definitions/compositeDetected" }
}
}
}
]
}
}
}

View file

@ -1,28 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "3.2.8-targIndependents.json",
"assertionType": "may",
"expectedResult": "valid",
"onUnexpectedResult" : "passAndContinue",
"errorMessage": "A Independents resource may be used as an Annotation Target (not found).",
"title": "Implements **Independents** with **_type_ and _items_ keys** as a target of the Annotation [model 3.2.8](https://www.w3.org/TR/annotation-model/#sets-of-targets-and-targets)",
"description": "True when Annotation includes one or more Independents resources as Annotation target(ies). (Section 3.2.8)",
"type": "object",
"properties":
{
"target":
{
"oneOf": [
{ "$ref": "choiceSet.json#/definitions/independentsDetected" },
{ "not":
{
"items":
{ "not":
{ "$ref": "choiceSet.json#/definitions/independentsDetected" }
}
}
}
]
}
}
}

View file

@ -1,28 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "3.2.8-targList.json",
"assertionType": "may",
"expectedResult": "valid",
"onUnexpectedResult" : "passAndContinue",
"errorMessage": "A List resource may be used as an Annotation Target (not found).",
"title": "Implements **List** with **_type_ and _items_ keys** as a target of the Annotation [model 3.2.8](https://www.w3.org/TR/annotation-model/#sets-of-targets-and-targets)",
"description": "True when Annotation includes one or more List resources as Annotation target(ies). (Section 3.2.8)",
"type": "object",
"properties":
{
"target":
{
"oneOf": [
{ "$ref": "choiceSet.json#/definitions/listDetected" },
{ "not":
{
"items":
{ "not":
{ "$ref": "choiceSet.json#/definitions/listDetected" }
}
}
}
]
}
}
}

View file

@ -34,5 +34,6 @@
]
}
}
},
"required": [ "target" ]
}

View file

@ -33,5 +33,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -33,5 +33,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -33,5 +33,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -33,5 +33,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -34,5 +34,6 @@
]
}
}
},
"required": [ "target" ]
}

View file

@ -32,5 +32,6 @@
]
}
}
},
"required": [ "target" ]
}

View file

@ -33,5 +33,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -33,5 +33,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -23,5 +23,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -1,25 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "4-bodyChoiceSetFound.json",
"assertionType": "may",
"expectedResult": "valid",
"onUnexpectedResult" : "passAndContinue",
"errorMessage": "A Body may be a Choice or Set.",
"title": "If a **Choice or Set** is a body, it does NOT have a **_source_ key** - [model 4](https://www.w3.org/TR/annotation-model/#specific-resources)",
"description": "True when no Choice or Set bodies or when none of the Choice or Set bodies include the source key. (Section 4)",
"type": "object",
"properties":
{
"body":
{
"oneOf": [
{ "$ref": "choiceSet.json#/definitions/choiceOrSetDetected" } ,
{ "type": "Array",
"minItems": 1,
"not":
{ "items": { "not": { "$ref": "choiceSet.json#/definitions/choiceOrSetDetected" } } }
}
]
}
}
}

View file

@ -1,25 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "4-targChoiceSetFound.json",
"assertionType": "may",
"expectedResult": "valid",
"onUnexpectedResult" : "passAndContinue",
"errorMessage": "A Target may be a Choice or Set.",
"title": "Implements a **Choice or Set** as target - [model 3.2.7](https://www.w3.org/TR/annotation-model/#choice-of-bodies-and-targets)",
"description": "True when Choice or Set is a target. (Section 3.2.7)",
"type": "object",
"properties":
{
"target":
{
"oneOf": [
{ "$ref": "choiceSet.json#/definitions/choiceOrSetDetected" } ,
{ "type": "Array",
"minItems": 1,
"not":
{ "items": { "not": { "$ref": "choiceSet.json#/definitions/choiceOrSetDetected" } } }
}
]
}
}
}

View file

@ -29,5 +29,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -31,5 +31,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -31,5 +31,6 @@
}
]
}
}
},
"required": [ "target" ]
}

View file

@ -0,0 +1,38 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "3.2.2-targType.json",
"assertionType": "may",
"expectedResult": "valid",
"onUnexpectedResult" : "passAndContinue",
"errorMessage": "The description of a Target may include type key with one or more values that are each drawn from the model's list of resource classes.",
"title": "Implements **target _type_ key** with one or more values each of which is drawn from the **model's list of resource classes** [model 3.2.1](https://www.w3.org/TR/annotation-model/#bodies-and-targets)",
"description": "True when Annotation includes one or more Targets, one or more of which include type key with one or more values that are each drawn from the model's list of resource classes. (Section 3.2.1)",
"type": "object",
"required": [ "target" ],
"properties":
{
"target":
{
"oneOf": [
{ "anyOf": [
{ "$ref": "bodyTarget.json#/definitions/recognizedTypeFound" },
{ "$ref": "bodyTarget.json#/definitions/itemRecognizedTypeFound" },
{ "$ref": "bodyTarget.json#/definitions/sourceFormatPropertyFound" }
]
},
{ "not":
{ "items":
{ "not":
{ "anyOf": [
{ "$ref": "bodyTarget.json#/definitions/recognizedTypeFound" },
{ "$ref": "bodyTarget.json#/definitions/itemRecognizedTypeFound" },
{ "$ref": "bodyTarget.json#/definitions/sourceRecognizedTypeFound" }
]
}
}
}
}
]
}
}
}

View file

@ -0,0 +1,38 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "3.3.3-targAudience.json",
"assertionType": "may",
"expectedResult": "valid",
"onUnexpectedResult" : "passAndContinue",
"errorMessage": "The description of a target may include audience key which has one or more values with each audience instance described using schema.org/Audience classes and properties.",
"title": "Implements **target _audience_ key** which has one or more values with each audience instance described using **[schema.org/Audience](http://schema.org/Audience) classes and properties** - [model 3.3.3](https://www.w3.org/TR/annotation-model/#intended-audience)",
"description": "True when Annotation includes one or more targets, one or more of which include audience key which has one or more values with each audience instance described using schema.org/Audience classes and properties.. (Section 3.3.3)",
"type": "object",
"required": [ "target" ],
"properties":
{
"target":
{
"oneOf": [
{ "anyOf": [
{ "$ref": "otherProperties.json#/definitions/audiencePropertyFound" },
{ "$ref": "otherProperties.json#/definitions/itemAudiencePropertyFound" },
{ "$ref": "otherProperties.json#/definitions/sourceAudiencePropertyFound" }
]
},
{ "not":
{ "items":
{ "not":
{ "anyOf": [
{ "$ref": "otherProperties.json#/definitions/audiencePropertyFound" },
{ "$ref": "otherProperties.json#/definitions/itemAudiencePropertyFound" },
{ "$ref": "otherProperties.json#/definitions/sourceAudiencePropertyFound" }
]
}
}
}
}
]
}
}
}

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -81,7 +81,8 @@
}
]
}
}
},
"required": [ "target" ]
}
}
}

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":

View file

@ -67,7 +67,8 @@
}
]
}
}
},
"required": [ "target" ]
}
],
"definitions":