{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bund-dev/json-schema/bund-dev-response-address-schema.json",
  "title": "Antwort mit Adressenliste",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bund-dev-travelwarning-openapi.yml#/components/schemas/ResponseAddress",
  "type": "object",
  "properties": {
    "response": {
      "type": "object",
      "properties": {
        "12345": {
          "$ref": "#/$defs/AdressListe"
        },
        "contentList": {
          "type": "array",
          "description": "IDs der Objekte",
          "items": {
            "type": "string"
          }
        }
      }
    }
  },
  "$defs": {
    "AdressListe": {
      "type": "object",
      "properties": {
        "67890": {
          "$ref": "#/$defs/Adresse"
        },
        "lastModified": {
          "type": "number",
          "description": "Zeitstempel der letzten Änderung"
        },
        "contentList": {
          "type": "array",
          "description": "IDs der enthaltenen Adressen",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "Adresse": {
      "type": "object",
      "properties": {
        "lastModified": {
          "type": "number",
          "description": "Zeitstempel der letzten Änderung"
        },
        "title": {
          "type": "string",
          "description": "Titel"
        },
        "leader": {
          "type": "string",
          "description": "Leiter"
        },
        "locales": {
          "type": "string",
          "description": "Sprachen"
        },
        "country": {
          "type": "string",
          "description": "Land"
        },
        "zip": {
          "type": "string",
          "description": "Postleitzahl"
        },
        "city": {
          "type": "string",
          "description": "Stadt"
        },
        "region": {
          "type": "string",
          "description": "Region"
        },
        "street": {
          "type": "string",
          "description": "Straße"
        },
        "number": {
          "type": "string",
          "description": "Hausnummer"
        },
        "departments": {
          "type": "string",
          "description": "Abteilungen"
        },
        "fax": {
          "type": "string",
          "description": "Faxnummer"
        },
        "telefone": {
          "type": "string",
          "description": "Telefonnummer"
        },
        "mail": {
          "type": "string",
          "description": "E-Mail"
        },
        "misc": {
          "type": "string",
          "description": "Sonstiges"
        },
        "url": {
          "type": "string",
          "description": "Externer Link"
        },
        "postal": {
          "type": "string",
          "description": "Postfach"
        },
        "type": {
          "type": "string",
          "description": "Adresstyp"
        },
        "remark": {
          "type": "string",
          "description": "Hinweis"
        },
        "open": {
          "type": "string",
          "description": "Öffnungszeiten"
        }
      }
    }
  }
}