{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/term-cloud.json",
 "description": "The data prop of <TermCloud> (Chartory chart 073).",
 "type": "object",
 "title": "TermCloudData",
 "properties": {
  "words": {
   "type": "array",
   "items": {
    "type": "array",
    "prefixItems": [
     {
      "type": "string"
     },
     {
      "type": "number"
     },
     {
      "enum": [
       "neg",
       "pos"
      ]
     }
    ],
    "minItems": 2,
    "maxItems": 3
   },
   "description": "The words: [word, weight, tone]."
  }
 },
 "required": [
  "words"
 ]
}
