{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.imatest.com/schema/25-1/rings-results-radial",
  "title": "Concentric Rings FOV Radial Result",
  "description": "The raw data for a radial.",
  "type": "object",
  "properties": {
    "radial_direction": {
      "description": "The label for the radial direction.",
      "type": "string",
      "enum": [
        "East",
        "South East",
        "South",
        "South West",
        "West",
        "North West",
        "North",
        "North East"
      ]
    },
    "line_azimuth_angle_deg": {
      "description": "The azimuth angle of the radial in degrees.",
      "type": "number"
    },
    "end_point": {
      "description": "The x, y coordinate of the endpoint (furthest from the center) of the radial.",
      "type": "array",
      "items": {
        "type": "number"
      },
      "minItems": 2,
      "maxItems": 2
    },
    "ring_coordinates_x_px": {
      "description": "The x coordinate of each ring detection along the radial.",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "ring_coordinates_y_px": {
      "description": "The y coordinate of each ring detection along the radial.",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "ring_count": {
      "description": "The number of detected rings along the radial.",
      "type": "integer"
    },
    "ring_field_angle_deg": {
      "description": "The field angle of each ring in degrees.",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "image_derived_ring_radius_px": {
      "description": "The radius of the ring in pixels, derived from the input image.",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "chart_derived_ring_radius_mm": {
      "description": "The radius of the ring in millimeters, derived from the chart parameters.",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "chart_derived_ring_radius_px": {
      "description": "The radius of the ring in pixels, derived from the chart parameters.",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "image_derived_ring_radius_mm": {
      "description": "The radius of the ring in millimeters, derived from the input image.",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "optical_distortion_pct": {
      "description": "The optical distortion percentage.",
      "type": "array",
      "items": {
        "type": "number"
      }
    }
  },
  "required": [
    "radial_direction",
    "line_azimuth_angle_deg",
    "end_point",
    "ring_coordinates_x_px",
    "ring_coordinates_y_px",
    "ring_count",
    "ring_field_angle_deg",
    "image_derived_ring_radius_px",
    "chart_derived_ring_radius_mm",
    "chart_derived_ring_radius_px",
    "image_derived_ring_radius_mm",
    "optical_distortion_pct"
  ],
  "unevaluatedProperties": false
}