{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/straylight-results-mask-circle",
  "title": "Stray Light Mask Results: Image Processing + Circle",
  "description": "Information about the mask of the light source via the image processing + circle method.",
  "type": "object",
  "properties": {
    "type": {
      "description": "The type of mask result.",
      "type": "string",
      "const": "Image Processing + Circle"
    },
    "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"
    },
    "source_in_fov": {
      "description": "True if the light source was determined to be in the FOV.",
      "type": "boolean"
    },
    "source_pixel_count": {
      "description": "The number of pixels that were masked out.",
      "type": "integer"
    },
    "connected_component_count": {
      "description": "The number of connected components for the masked-out light source(s).",
      "type": "integer"
    },
    "x_centroid_px": {
      "description": "The x-value of the centroid of the mask.",
      "$ref": "https://www.imatest.com/schema/25-1/common-number"
    },
    "y_centroid_px": {
      "description": "The y-value of the centroid of the mask.",
      "$ref": "https://www.imatest.com/schema/25-1/common-number"
    },
    "pass_1": {
      "description": "Information about the masking of the first pass.",
      "$ref": "https://www.imatest.com/schema/25-1/straylight-results-mask-image-processing"
    },
    "radius_px": {
      "description": "The radius of the circular mask in pixels.",
      "type": "number"
    }
  },
  "required": [
    "type",
    "mask_file",
    "channel",
    "source_in_fov",
    "source_pixel_count",
    "connected_component_count",
    "pass_1",
    "radius_px"
  ],
  "unevaluatedProperties": false
}