{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/straylight-results-mask-error",
  "title": "Stray Light Mask Results: Error",
  "description": "Mask information when an error occurred.",
  "type": "object",
  "properties": {
    "type": {
      "description": "The type of mask result.",
      "type": "string",
      "const": "Error"
    },
    "mask_file": {
      "description": "The mask file(s) generated during the analysis.",
      "$ref": "https://www.imatest.com/schema/25-1/common-filename-md5-array"
    },
    "channel": {
      "description": "The channel used to produce the mask.",
      "type": "string"
    },
    "note": {
      "description": "Information that an error occurred.",
      "type": "string",
      "const": "An error occurred while performing the masking."
    },
    "error_message": {
      "description": "The error message.",
      "type": "string"
    },
    "error_id": {
      "description": "The error identifier.",
      "type": "string"
    }
  },
  "required": [
    "type",
    "mask_file",
    "channel",
    "note",
    "error_message",
    "error_id"
  ],
  "unevaluatedProperties": false
}