{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/coverage-map.json",
 "description": "The data prop of <CoverageMap> (Chartory chart 118).",
 "type": "object",
 "title": "CoverageMapData",
 "properties": {
  "clusters": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "CoverageMapCluster",
    "properties": {
     "label": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "x": {
      "type": "number",
      "description": "The x value."
     },
     "y": {
      "type": "number",
      "description": "The y value."
     },
     "traffic": {
      "type": "number",
      "description": "The traffic."
     },
     "cases": {
      "type": "number",
      "description": "The test cases."
     },
     "gap": {
      "type": "boolean",
      "description": "Marks the cluster as a coverage gap."
     }
    },
    "required": [
     "label",
     "x",
     "y",
     "traffic",
     "cases"
    ]
   },
   "description": "One entry per cluster."
  }
 },
 "required": [
  "clusters"
 ]
}
