{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/swisstopo/json-schema/swisstopo-inline-response-200-schema.json",
  "title": "inline_response_200",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/swisstopo-openapi.yml#/components/schemas/inline_response_200",
  "type": "object",
  "properties": {
    "webmapId": {
      "type": "string"
    },
    "layers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Layer"
      }
    }
  },
  "$defs": {
    "Layer": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "filterable": {
          "type": "boolean"
        },
        "availableFilters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Layer_availableFilters"
          }
        }
      }
    },
    "Layer_availableFilters": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      }
    }
  }
}