{
  "$id": "http://asl-validator.cloud/fail.json#",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "Type": {
      "type": "string",
      "enum": ["Fail"]
    },
    "Comment": {
      "type": "string"
    },
    "Cause": {
      "type": "string"
    },
    "CausePath": {
      "$comment": "This field is a ReferencePath with limited Intrinsic Function support. Using string until custom validation is available.",
      "type": "string"
    },
    "Error": {
      "type": "string"
    },
    "ErrorPath": {
      "$comment": "This field is a ReferencePath with limited Intrinsic Function support. Using string until custom validation is available.",
      "type": "string"
    },
    "QueryLanguage": {
      "$ref": "jsonata.json#/definitions/queryLanguage"
    }
  },
  "required": ["Type"],
  "additionalProperties": false
}
