{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chaletiste-fr/json-schema/chaletiste-fr-permit-response-schema.json",
  "title": "PermitResponse",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chaletiste-fr-openapi.json#/components/schemas/PermitResponse",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "permit": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "aucune",
            "dp",
            "pc"
          ]
        },
        "label": {
          "type": "string"
        }
      }
    },
    "rule": {
      "type": "string"
    },
    "instruction_delay": {
      "type": [
        "string",
        "null"
      ]
    },
    "notes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sources": {
      "type": "array"
    },
    "explanation": {
      "type": "string"
    }
  }
}