diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /third_party/python/jsonschema/json/test-schema.json | |
parent | Initial commit. (diff) | |
download | firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.tar.xz firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/python/jsonschema/json/test-schema.json')
-rw-r--r-- | third_party/python/jsonschema/json/test-schema.json | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/third_party/python/jsonschema/json/test-schema.json b/third_party/python/jsonschema/json/test-schema.json new file mode 100644 index 0000000000..670d2804cb --- /dev/null +++ b/third_party/python/jsonschema/json/test-schema.json @@ -0,0 +1,59 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "definitions": { + "outputItem": { + "type": "object", + "properties": { + "valid": {"type": "boolean"}, + "keywordLocation": {"type": "string"}, + "absoluteKeywordLocation": { + "type": "string", + "format": "uri" + }, + "instanceLocation": {"type": "string"}, + "annotations": { + "type": "array", + "items": {"$ref": "#/definitions/outputItem"} + }, + "errors": { + "type": "array", + "items": {"$ref": "#/definitions/outputItem"} + } + } + } + }, + "type": "array", + "items": { + "type": "object", + "required": ["description", "schema", "tests"], + "properties": { + "description": {"type": "string"}, + "schema": {}, + "tests": { + "type": "array", + "items": { + "type": "object", + "required": ["description", "data", "valid"], + "properties": { + "description": {"type": "string"}, + "data": {}, + "valid": {"type": "boolean"}, + "output": { + "type": "object", + "properties": { + "basic": {"$ref": "#/definitions/outputItem"}, + "detailed": {"$ref": "#/definitions/outputItem"}, + "verbose": {"$ref": "#/definitions/outputItem"} + }, + "required": ["basic", "detailed", "verbose"] + } + }, + "additionalProperties": false + }, + "minItems": 1 + } + }, + "additionalProperties": false, + "minItems": 1 + } +} |