swisstopo · JSON-LD Context

Swisstopo Context

JSON-LD context defining the semantic vocabulary for Swisstopo from swisstopo.

23 Classes 39 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
swisstopo: https://admin.ch/schema#

Classes

Layer Filter ChronostratigraphyFilterParameter TermFilterParameter ByAttributeFilterParameter WmsRequest WmsRequest_filters WmsResponse WmtsResponse WmtsSource WmtsParameters Error inline_response_200 inline_response_200_1 inline_response_200_2 Layer_availableFilters DefaultFiltersResponse VocabulariesList VocabularyDescriptor VocabularyTerms VocabularyTerm VocabularyLayerRef VocabularyLayersResponse

Properties

Property Type Container
id string
name string
filterable boolean
availableFilters list
title string
description string
type string
from string
to string
term string
includeNarrowers boolean
attribute string
value
webmapId string
layerId string
filters list
filterId string
parameters
url reference
body string
mimeType string
note string
source reference
urlWMTS reference
paramsWMTS reference
serverType string
crossOrigin string
layer string
style string
matrixSet string
format string
code integer
message string
layers list
attributes list
vocabularies list
terms list
label string
breadcrumbs

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://admin.ch/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "swisstopo": "https://admin.ch/schema#",
    "Layer": "swisstopo:Layer",
    "id": {
      "@id": "swisstopo:id",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "swisstopo:name",
      "@type": "xsd:string"
    },
    "filterable": {
      "@id": "swisstopo:filterable",
      "@type": "xsd:boolean"
    },
    "availableFilters": {
      "@id": "swisstopo:availableFilters",
      "@container": "@list"
    },
    "Filter": "swisstopo:Filter",
    "title": {
      "@id": "swisstopo:title",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "swisstopo:description",
      "@type": "xsd:string"
    },
    "ChronostratigraphyFilterParameter": "swisstopo:ChronostratigraphyFilterParameter",
    "type": {
      "@id": "swisstopo:type",
      "@type": "xsd:string"
    },
    "from": {
      "@id": "swisstopo:from",
      "@type": "xsd:string"
    },
    "to": {
      "@id": "swisstopo:to",
      "@type": "xsd:string"
    },
    "TermFilterParameter": "swisstopo:TermFilterParameter",
    "term": {
      "@id": "swisstopo:term",
      "@type": "xsd:string"
    },
    "includeNarrowers": {
      "@id": "swisstopo:includeNarrowers",
      "@type": "xsd:boolean"
    },
    "ByAttributeFilterParameter": "swisstopo:ByAttributeFilterParameter",
    "attribute": {
      "@id": "swisstopo:attribute",
      "@type": "xsd:string"
    },
    "value": {
      "@id": "swisstopo:value"
    },
    "WmsRequest": "swisstopo:WmsRequest",
    "webmapId": {
      "@id": "swisstopo:webmapId",
      "@type": "xsd:string"
    },
    "layerId": {
      "@id": "swisstopo:layerId",
      "@type": "xsd:string"
    },
    "filters": {
      "@id": "swisstopo:filters",
      "@container": "@list"
    },
    "WmsRequest_filters": "swisstopo:WmsRequest_filters",
    "filterId": {
      "@id": "swisstopo:filterId",
      "@type": "xsd:string"
    },
    "parameters": {
      "@id": "swisstopo:parameters"
    },
    "WmsResponse": "swisstopo:WmsResponse",
    "url": {
      "@id": "swisstopo:url",
      "@type": "@id"
    },
    "body": {
      "@id": "swisstopo:body",
      "@type": "xsd:string"
    },
    "mimeType": {
      "@id": "swisstopo:mimeType",
      "@type": "xsd:string"
    },
    "note": {
      "@id": "swisstopo:note",
      "@type": "xsd:string"
    },
    "WmtsResponse": "swisstopo:WmtsResponse",
    "source": {
      "@id": "swisstopo:source",
      "@type": "@id"
    },
    "WmtsSource": "swisstopo:WmtsSource",
    "urlWMTS": {
      "@id": "swisstopo:urlWMTS",
      "@type": "@id"
    },
    "paramsWMTS": {
      "@id": "swisstopo:paramsWMTS",
      "@type": "@id"
    },
    "serverType": {
      "@id": "swisstopo:serverType",
      "@type": "xsd:string"
    },
    "crossOrigin": {
      "@id": "swisstopo:crossOrigin",
      "@type": "xsd:string"
    },
    "WmtsParameters": "swisstopo:WmtsParameters",
    "layer": {
      "@id": "swisstopo:layer",
      "@type": "xsd:string"
    },
    "style": {
      "@id": "swisstopo:style",
      "@type": "xsd:string"
    },
    "matrixSet": {
      "@id": "swisstopo:matrixSet",
      "@type": "xsd:string"
    },
    "format": {
      "@id": "swisstopo:format",
      "@type": "xsd:string"
    },
    "Error": "swisstopo:Error",
    "code": {
      "@id": "swisstopo:code",
      "@type": "xsd:integer"
    },
    "message": {
      "@id": "swisstopo:message",
      "@type": "xsd:string"
    },
    "inline_response_200": "swisstopo:inline_response_200",
    "layers": {
      "@id": "swisstopo:layers",
      "@container": "@list"
    },
    "inline_response_200_1": "swisstopo:inline_response_200_1",
    "inline_response_200_2": "swisstopo:inline_response_200_2",
    "attributes": {
      "@id": "swisstopo:attributes",
      "@container": "@list"
    },
    "Layer_availableFilters": "swisstopo:Layer_availableFilters",
    "DefaultFiltersResponse": "swisstopo:DefaultFiltersResponse",
    "VocabulariesList": "swisstopo:VocabulariesList",
    "vocabularies": {
      "@id": "swisstopo:vocabularies",
      "@container": "@list"
    },
    "VocabularyDescriptor": "swisstopo:VocabularyDescriptor",
    "VocabularyTerms": "swisstopo:VocabularyTerms",
    "terms": {
      "@id": "swisstopo:terms",
      "@container": "@list"
    },
    "VocabularyTerm": "swisstopo:VocabularyTerm",
    "label": {
      "@id": "swisstopo:label",
      "@type": "xsd:string"
    },
    "breadcrumbs": {
      "@id": "swisstopo:breadcrumbs"
    },
    "VocabularyLayerRef": "swisstopo:VocabularyLayerRef",
    "VocabularyLayersResponse": "swisstopo:VocabularyLayersResponse"
  },
  "@type": "schema:Dataset",
  "schema:name": "swisstopo API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects swisstopo's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-10-28) from openapi/swissgeol-lexic-webmap-api.yaml, openapi/swisstopo-openapi.yml.",
  "dcterms:created": "2026-10-28",
  "dcterms:source": [
    "openapi/swissgeol-lexic-webmap-api.yaml",
    "openapi/swisstopo-openapi.yml"
  ]
}