{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/swisstopo/json-schema/swisstopo-vocabulary-terms-schema.json",
  "title": "VocabularyTerms",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/swisstopo-vocabularies-api-openapi.yml#/components/schemas/VocabularyTerms",
  "type": "object",
  "properties": {
    "terms": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/VocabularyTerm"
      }
    }
  },
  "$defs": {
    "VocabularyTerm": {
      "type": "object",
      "properties": {
        "term": {
          "type": "string",
          "format": "uri"
        },
        "label": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "breadcrumbs": {
          "description": "Ordered breadcrumb map. Keys represent numeric positions and are serialized as strings in JSON, for example \"0\", \"1\", \"2\".",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    }
  }
}