summaryrefslogtreecommitdiff
path: root/json/test-schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/test-schema.json')
-rw-r--r--json/test-schema.json61
1 files changed, 0 insertions, 61 deletions
diff --git a/json/test-schema.json b/json/test-schema.json
deleted file mode 100644
index 8339316..0000000
--- a/json/test-schema.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/tests/test-schema",
- "description": "A schema for files contained within this suite",
-
- "type": "array",
- "minItems": 1,
- "items": {
- "description": "An individual test case, containing multiple tests of a single schema's behavior",
-
- "type": "object",
- "required": [ "description", "schema", "tests" ],
- "properties": {
- "description": {
- "description": "The test case description",
- "type": "string"
- },
- "comment": {
- "description": "Any additional comments about the test case",
- "type": "string"
- },
- "schema": {
- "description": "A valid JSON Schema (one written for the corresponding version directory that the file sits within)."
- },
- "tests": {
- "description": "A set of related tests all using the same schema",
- "type": "array",
- "items": { "$ref": "#/$defs/test" },
- "minItems": 1
- }
- },
- "additionalProperties": false
- },
-
- "$defs": {
- "test": {
- "description": "A single test",
-
- "type": "object",
- "required": [ "description", "data", "valid" ],
- "properties": {
- "description": {
- "description": "The test description, briefly explaining which behavior it exercises",
- "type": "string"
- },
- "comment": {
- "description": "Any additional comments about the test",
- "type": "string"
- },
- "data": {
- "description": "The instance which should be validated against the schema in \"schema\"."
- },
- "valid": {
- "description": "Whether the validation process of this instance should consider the instance valid or not",
- "type": "boolean"
- }
- },
- "additionalProperties": false
- }
- }
-}