{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://tipifica.org/dados/schema/exemplos.schema.json",
 "title": "Tipifica · exemplos",
 "description": "Arquivo dados/exemplos.json do Tipifica (inferido dos registros publicados).",
 "type": "object",
 "required": [
  "entidade",
  "n",
  "registros"
 ],
 "properties": {
  "entidade": {
   "const": "exemplos"
  },
  "n": {
   "type": "integer"
  },
  "registros": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "alvo": {
      "type": "string"
     },
     "natureza": {
      "type": "string"
     },
     "ilustrativo": {
      "type": "boolean"
     },
     "titulo": {
      "type": "string"
     },
     "personagens": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "rotulo": {
         "type": "string"
        },
        "quem": {
         "type": "string"
        }
       },
       "required": [
        "rotulo",
        "quem"
       ]
      }
     },
     "relato": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "passo_a_passo": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "passo": {
         "type": "string"
        },
        "texto": {
         "type": "string"
        }
       },
       "required": [
        "passo",
        "texto"
       ]
      }
     },
     "o_que_se_ve": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "quem": {
         "type": "string"
        },
        "ve": {
         "type": "string"
        },
        "sinais": {
         "type": "array",
         "items": {
          "type": "string"
         }
        }
       },
       "required": [
        "quem",
        "ve",
        "sinais"
       ]
      }
     },
     "o_que_nao_se_ve": {
      "type": "string"
     },
     "saiba_mais": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "titulo": {
         "type": "string"
        },
        "texto": {
         "type": "string"
        }
       },
       "required": [
        "titulo",
        "texto"
       ]
      }
     },
     "liga": {
      "type": "object",
      "properties": {
       "tecnicas": {
        "type": "array",
        "items": {
         "type": "string"
        }
       },
       "sinais": {
        "type": "array",
        "items": {
         "type": "string"
        }
       }
      },
      "required": [
       "tecnicas",
       "sinais"
      ]
     },
     "quadro": {
      "type": "object",
      "properties": {
       "titulo": {
        "type": "string"
       },
       "colunas": {
        "type": "array",
        "items": {
         "type": "string"
        }
       },
       "linhas": {
        "type": "array",
        "items": {
         "type": "array",
         "items": {
          "type": "string"
         }
        }
       }
      },
      "required": [
       "titulo",
       "colunas",
       "linhas"
      ]
     }
    },
    "required": [
     "id",
     "alvo",
     "natureza",
     "ilustrativo",
     "titulo",
     "personagens",
     "relato",
     "o_que_se_ve",
     "o_que_nao_se_ve",
     "saiba_mais",
     "liga"
    ]
   }
  }
 }
}