{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.sportops.it/formato/schema/dirigenti.schema.json",
  "title": "Dirigenti e accompagnatori",
  "description": "Lo staff dirigenziale.",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": [
          "integer",
          "null"
        ],
        "description": "Identificativo nella piattaforma. Stabile dentro la stessa società; non ha significato altrove."
      },
      "nome": {
        "type": [
          "string",
          "null"
        ],
        "description": "Nome."
      },
      "cognome": {
        "type": [
          "string",
          "null"
        ],
        "description": "Cognome."
      },
      "email": {
        "type": [
          "string",
          "null"
        ],
        "description": "Indirizzo email (può mancare)."
      },
      "telefono": {
        "type": [
          "string",
          "null"
        ],
        "description": "Numero di telefono (può mancare)."
      },
      "ruolo": {
        "type": [
          "string",
          "null"
        ],
        "description": "Ruolo in società."
      },
      "attivo": {
        "type": [
          "boolean",
          "null"
        ],
        "description": "Attivo."
      }
    },
    "required": [
      "id",
      "nome",
      "cognome",
      "email",
      "telefono",
      "ruolo",
      "attivo"
    ],
    "additionalProperties": false
  }
}