{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WorkflowValidationError",
  "title": "WorkflowValidationError",
  "additionalProperties": false,
  "description": "The details about a workflow validation error.",
  "properties": {
    "code": {
      "description": "An error code.",
      "type": "string"
    },
    "elementReference": {
      "$ref": "#/components/schemas/WorkflowElementReference"
    },
    "level": {
      "description": "The validation error level.",
      "enum": [
        "WARNING",
        "ERROR"
      ],
      "type": "string"
    },
    "message": {
      "description": "An error message.",
      "type": "string"
    },
    "type": {
      "description": "The type of element the error or warning references.",
      "enum": [
        "RULE",
        "STATUS",
        "STATUS_LAYOUT",
        "STATUS_PROPERTY",
        "WORKFLOW",
        "TRANSITION",
        "TRANSITION_PROPERTY",
        "SCOPE",
        "STATUS_MAPPING",
        "TRIGGER"
      ],
      "type": "string"
    }
  },
  "type": "object"
}