{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/vtesttree-yaml/versions/1.0.0.json",
  "title": "vtesttree.yaml",
  "x-lintel": {
    "source": "https://www.schemastore.org/vtesttree-schema-v1.0.0.json",
    "sourceSha256": "5cfc6487f4d778ff35b91ef49726b5f6d51023af58296367ab213712093b0e14",
    "fileMatch": [
      "*.vtesttree.yaml",
      "*.vtesttree.yml",
      "*.vtesttree.json"
    ],
    "parsers": [
      "json",
      "yaml"
    ]
  },
  "type": "object",
  "$ref": "#/$defs/49a13/full",
  "$defs": {
    "ea7d2": {
      "full": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "title": "CAPL test sequence",
        "description": "Definition of a call to a CAPL test sequence.",
        "type": "object",
        "required": [
          "capl-test-sequence"
        ],
        "additionalProperties": false,
        "properties": {
          "capl-test-sequence": {
            "type": "string",
            "description": "Function name of the CAPL test sequence."
          },
          "title": {
            "type": "string",
            "description": "Title of the CAPL test sequence."
          },
          "params": {
            "$ref": "#/definitions/2283a/full"
          }
        }
      }
    },
    "d4a30": {
      "full": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "title": "Test group",
        "description": "Definition of a test group containing other test groups, CAPL test cases and CAPL test sequences.",
        "type": "object",
        "required": [
          "test-group"
        ],
        "additionalProperties": false,
        "properties": {
          "test-group": {
            "type": "string",
            "description": "Name of the test group."
          },
          "description": {
            "type": "string",
            "description": "Description of the test group."
          },
          "elements": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/75780/full"
            }
          }
        }
      }
    },
    "49a13": {
      "full": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "title": "vtesttree.yaml",
        "description": "Vector test execution tree description",
        "type": "object",
        "additionalProperties": false,
        "required": [
          "version"
        ],
        "properties": {
          "version": {
            "$ref": "#/definitions/24937/full"
          },
          "test-tree": {
            "$ref": "#/definitions/9c5a7/full"
          }
        }
      }
    },
    "24937": {
      "full": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "title": "Version",
        "description": "Json schema version for the vtesttree.yaml file. Acceptance criteria: equal major version, less/equal minor and patch version.",
        "const": "1.0.0",
        "type": "string",
        "examples": [
          "1.0.0"
        ]
      }
    },
    "9c5a7": {
      "full": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "title": "Test tree",
        "description": "Definition of a test tree consisting of test groups, CAPL test cases and CAPL test sequences.",
        "type": "array",
        "items": {
          "$ref": "#/definitions/75780/full"
        }
      }
    },
    "75780": {
      "full": {
        "description": "Element of a test tree or test group.",
        "oneOf": [
          {
            "$ref": "#/definitions/68a46/full"
          },
          {
            "$ref": "#/definitions/ea7d2/full"
          },
          {
            "$ref": "#/definitions/d4a30/full"
          }
        ]
      }
    },
    "68a46": {
      "full": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "title": "CAPL test case",
        "description": "Definition of a call to a CAPL test case.",
        "type": "object",
        "required": [
          "capl-test-case"
        ],
        "additionalProperties": false,
        "properties": {
          "capl-test-case": {
            "type": "string",
            "description": "Function name of the CAPL test case."
          },
          "id": {
            "type": "string",
            "description": "Identifier of the CAPL test case."
          },
          "title": {
            "type": "string",
            "description": "Title of the CAPL test case."
          },
          "description": {
            "type": "string",
            "description": "Description of the CAPL test case."
          },
          "params": {
            "$ref": "#/definitions/2283a/full"
          }
        }
      }
    },
    "2283a": {
      "full": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "title": "CAPL parameter list",
        "description": "List of parameter values for a CAPL test case or CAPL test sequence.",
        "type": "array",
        "items": {
          "$ref": "#/definitions/86925/full"
        }
      }
    },
    "86925": {
      "full": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "title": "CAPL parameter",
        "description": "Parameter value for a CAPL test case or CAPL test sequence.",
        "anyOf": [
          {
            "title": "Numeric Value",
            "type": "number"
          },
          {
            "title": "String Value",
            "type": "string"
          }
        ]
      }
    }
  }
}
