{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/likert.json",
 "description": "The data prop of <Likert> (Chartory chart 063).",
 "type": "object",
 "title": "LikertData",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "LikertRow",
    "properties": {
     "label": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "v": {
      "type": "array",
      "prefixItems": [
       {
        "type": "number"
       },
       {
        "type": "number"
       },
       {
        "type": "number"
       },
       {
        "type": "number"
       },
       {
        "type": "number"
       }
      ],
      "minItems": 5,
      "maxItems": 5,
      "description": "The five answer shares in %, negative to positive."
     }
    },
    "required": [
     "label",
     "v"
    ]
   },
   "description": "One entry per row."
  }
 },
 "required": [
  "rows"
 ]
}
