{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kilotest-com/json-schema/kilotest-com-issue-basics-or-error-schema.json",
  "title": "IssueBasicsOrError",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kilotest-com-openapi.yml#/components/schemas/IssueBasicsOrError",
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "identifier": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        },
        "impact on a user": {
          "type": "string"
        },
        "priority": {
          "type": "string",
          "enum": [
            "lowest",
            "low",
            "high",
            "highest"
          ]
        },
        "related WCAG standard": {
          "type": "object",
          "properties": {
            "layer": {
              "type": "string",
              "enum": [
                "success criterion",
                "guideline"
              ]
            },
            "identifier": {
              "type": "string"
            }
          },
          "required": [
            "layer",
            "identifier"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "identifier",
        "summary",
        "impact on a user",
        "priority",
        "related WCAG standard"
      ],
      "additionalProperties": false
    },
    {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      },
      "required": [
        "error"
      ],
      "additionalProperties": false
    }
  ]
}