{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/letschatty-com/json-schema/letschatty-com-marcar-tipo-de-aviso-schema.json",
  "title": "MarcarTipoDeAviso",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/letschatty-com-openapi.json#/components/schemas/MarcarTipoDeAviso",
  "properties": {
    "categoria": {
      "$ref": "#/$defs/Categoria"
    },
    "tipo": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "title": "Tipo"
    },
    "estado": {
      "type": "string",
      "enum": [
        "revisado",
        "pendiente"
      ],
      "title": "Estado"
    },
    "nota": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Nota"
    }
  },
  "type": "object",
  "required": [
    "categoria",
    "tipo",
    "estado"
  ],
  "$defs": {
    "Categoria": {
      "type": "string",
      "enum": [
        "tipo_desconocido",
        "sin_codigo",
        "forma_invalida"
      ],
      "title": "Categoria"
    }
  }
}