{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/isotype.json",
 "description": "The data prop of <Isotype> (Chartory chart 097).",
 "type": "object",
 "title": "IsotypeData",
 "properties": {
  "unit": {
   "type": "number",
   "description": "What one icon stands for."
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "IsotypeRow",
    "properties": {
     "label": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "v": {
      "type": "number",
      "description": "The value."
     },
     "tok": {
      "type": "string",
      "description": "The colour token, e.g. \"data/primary\"."
     }
    },
    "required": [
     "label",
     "v",
     "tok"
    ]
   },
   "description": "One entry per row."
  }
 },
 "required": [
  "unit",
  "rows"
 ]
}
