Entur · Schema

TariffZone

CompanyPublic TransportJourney PlanningMobilityOpen DataNorwayTransitGraphQL

Properties

Name Type Description
alternativeTexts object
brandingRef object
centroid object
changed string
compatibleWithVersionFrameVersionRef string
created string
dataSourceRef string
derivedFromObjectRef string
derivedFromVersionRef_BasicModificationDetailsGroup string
description object
extensions object
id string
infoLinks object
keyList object
members object
modification string
multiSurface object
name object
nameOfClass string
parentZoneRef object
polygon object
presentation object
printedPresentation object
privateCode object
projections object
publication string
purposeOfGroupingRef object
responsibilitySetRef string
shortName object
status_BasicModificationDetailsGroup string
types object
validBetween array
validityConditions object
version string
View JSON Schema on GitHub

JSON Schema

entur-tariff-zone-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/entur/json-schema/entur-tariff-zone-schema.json",
  "title": "TariffZone",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/entur-fare-zones-api-openapi.yml#/components/schemas/TariffZone",
  "type": "object",
  "properties": {
    "alternativeTexts": {
      "$ref": "#/$defs/AlternativeTexts_RelStructure"
    },
    "brandingRef": {
      "$ref": "#/$defs/BrandingRefStructure"
    },
    "centroid": {
      "$ref": "#/$defs/SimplePoint_VersionStructure"
    },
    "changed": {
      "type": "string",
      "format": "date-time"
    },
    "compatibleWithVersionFrameVersionRef": {
      "type": "string"
    },
    "created": {
      "type": "string",
      "format": "date-time"
    },
    "dataSourceRef": {
      "type": "string"
    },
    "derivedFromObjectRef": {
      "type": "string"
    },
    "derivedFromVersionRef_BasicModificationDetailsGroup": {
      "type": "string"
    },
    "description": {
      "$ref": "#/$defs/MultilingualString"
    },
    "extensions": {
      "$ref": "#/$defs/ExtensionsStructure"
    },
    "id": {
      "type": "string"
    },
    "infoLinks": {
      "$ref": "#/$defs/InfoLinks"
    },
    "keyList": {
      "$ref": "#/$defs/KeyListStructure"
    },
    "members": {
      "$ref": "#/$defs/PointRefs_RelStructure"
    },
    "modification": {
      "type": "string",
      "enum": [
        "NEW",
        "REVISE",
        "DELETE",
        "UNCHANGED",
        "DELTA"
      ]
    },
    "multiSurface": {
      "$ref": "#/$defs/MultiSurfaceType"
    },
    "name": {
      "$ref": "#/$defs/MultilingualString"
    },
    "nameOfClass": {
      "type": "string"
    },
    "parentZoneRef": {
      "$ref": "#/$defs/ZoneRefStructure"
    },
    "polygon": {
      "$ref": "#/$defs/PolygonType"
    },
    "presentation": {
      "$ref": "#/$defs/PresentationStructure"
    },
    "printedPresentation": {
      "$ref": "#/$defs/PrintPresentationStructure"
    },
    "privateCode": {
      "$ref": "#/$defs/PrivateCodeStructure"
    },
    "projections": {
      "$ref": "#/$defs/Projections_RelStructure"
    },
    "publication": {
      "type": "string",
      "enum": [
        "PUBLIC",
        "RESTRICTED",
        "PRIVATE",
        "CONFIDENTIAL",
        "AUTHORISED",
        "TEST"
      ]
    },
    "purposeOfGroupingRef": {
      "$ref": "#/$defs/PurposeOfGroupingRefStructure"
    },
    "responsibilitySetRef": {
      "type": "string"
    },
    "shortName": {
      "$ref": "#/$defs/MultilingualString"
    },
    "status_BasicModificationDetailsGroup": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "INACTIVE",
        "OTHER"
      ]
    },
    "types": {
      "$ref": "#/$defs/TypeOfZoneRefs_RelStructure"
    },
    "validBetween": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ValidBetween"
      }
    },
    "validityConditions": {
      "$ref": "#/$defs/ValidityConditions_RelStructure"
    },
    "version": {
      "type": "string"
    }
  },
  "$defs": {
    "AbstractRingPropertyType": {
      "type": "object",
      "properties": {
        "abstractRing": {
          "$ref": "#/$defs/JAXBElementAbstractRingType"
        }
      }
    },
    "AbstractRingType": {},
    "AbstractSurfaceType": {
      "type": "object",
      "properties": {
        "descriptionReference": {
          "$ref": "#/$defs/ReferenceType"
        },
        "id": {
          "type": "string"
        },
        "identifier": {
          "$ref": "#/$defs/CodeWithAuthorityType"
        },
        "name": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CodeType"
          }
        },
        "srsDimension": {
          "type": "integer"
        },
        "srsName": {
          "type": "string"
        }
      }
    },
    "AlternativeText": {
      "type": "object",
      "properties": {
        "alternativeTexts": {},
        "attributeName": {
          "type": "string"
        },
        "changed": {
          "type": "string",
          "format": "date-time"
        },
        "compatibleWithVersionFrameVersionRef": {
          "type": "string"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "dataManagedObjectRef": {
          "$ref": "#/$defs/VersionOfObjectRefStructure"
        },
        "dataSourceRef": {
          "type": "string"
        },
        "derivedFromObjectRef": {
          "type": "string"
        },
        "derivedFromVersionRef_BasicModificationDetailsGroup": {
          "type": "string"
        },
        "extensions": {
          "$ref": "#/$defs/ExtensionsStructure"
        },
        "id": {
          "type": "string"
        },
        "modification": {
          "type": "string",
          "enum": [
            "NEW",
            "REVISE",
            "DELETE",
            "UNCHANGED",
            "DELTA"
          ]
        },
        "nameOfClass": {
          "type": "string"
        },
        "order": {
          "type": "integer"
        },
        "publication": {
          "type": "string",
          "enum": [
            "PUBLIC",
            "RESTRICTED",
            "PRIVATE",
            "CONFIDENTIAL",
            "AUTHORISED",
            "TEST"
          ]
        },
        "status_BasicModificationDetailsGroup": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "INACTIVE",
            "OTHER"
          ]
        },
        "text": {
          "$ref": "#/$defs/MultilingualString"
        },
        "useForLanguage": {
          "type": "string"
        },
        "validBetween": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ValidBetween"
          }
        },
        "validityConditions": {
          "$ref": "#/$defs/ValidityConditions_RelStructure"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "text"
      ]
    },
    "AlternativeTexts_RelStructure": {
      "type": "object",
      "properties": {
        "alternativeText": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AlternativeText"
          }
        },
        "id": {
          "type": "string"
        }
      },
      "required": [
        "alternativeText"
      ]
    },
    "BrandingRefStructure": {
      "type": "object",
      "properties": {
        "changed": {
          "type": "string",
          "format": "date-time"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "modification": {
          "type": "string",
          "enum": [
            "NEW",
            "REVISE",
            "DELETE",
            "UNCHANGED",
            "DELTA"
          ]
        },
        "nameOfRefClass": {
          "type": "string"
        },
        "ref": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "versionRef": {
          "type": "string"
        }
      }
    },
    "CodeType": {
      "type": "object",
      "properties": {
        "codeSpace": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "CodeWithAuthorityType": {
      "type": "object",
      "properties": {
        "codeSpace": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "DirectPositionType": {
      "type": "object",
      "properties": {
        "srsDimension": {
          "type": "integer"
        },
        "srsName": {
          "type": "string"
        },
        "value": {
          "type": "array",
          "items": {
            "type": "number",
            "format": "double"
          }
        }
      }
    },
    "ExtensionsStructure": {
      "type": "object",
      "properties": {
        "any": {
          "type": "array",
          "items": {}
        }
      }
    },
    "InfoLinkStructure": {
      "type": "object",
      "properties": {
        "targetPlatform": {
          "type": "string"
        },
        "typeOfInfoLink": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "CONTACT",
              "RESOURCE",
              "INFO",
              "IMAGE",
              "DOCUMENT",
              "TIMETABLE_DOCUMENT",
              "FARE_SHEET",
              "DATA_LICENCE",
              "MOBILE_APP_DOWNLOAD",
              "MOBILE_APP_INSTALL_CHECK",
              "MAP",
              "ICON",
              "OTHER"
            ]
          }
        },
        "value": {
          "type": "string"
        }
      }
    },
    "InfoLinks": {
      "type": "object",
      "properties": {
        "infoLink": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InfoLinkStructure"
          }
        }
      },
      "required": [
        "infoLink"
      ]
    },
    "JAXBElementAbstractRingType": {
      "type": "object",
      "properties": {
        "globalScope": {
          "type": "boolean"
        },
        "name": {
          "type": "object",
          "properties": {
            "localPart": {
              "type": "string"
            },
            "namespaceURI": {
              "type": "string"
            },
            "prefix": {
              "type": "string"
            }
          }
        },
        "nil": {
          "type": "boolean"
        },
        "typeSubstituted": {
          "type": "boolean"
        },
        "value": {
          "$ref": "#/$defs/AbstractRingType"
        }
      }
    },
    "JAXBElementAbstractSurfaceType": {
      "type": "object",
      "properties": {
        "globalScope": {
          "type": "boolean"
        },
        "name": {
          "type": "object",
          "properties": {
            "localPart": {
              "type": "string"
            },
            "namespaceURI": {
              "type": "string"
            },
            "prefix": {
              "type": "string"
            }
          }
        },
        "nil": {
          "type": "boolean"
        },
        "typeSubstituted": {
          "type": "boolean"
        },
        "value": {
          "$ref": "#/$defs/AbstractSurfaceType"
        }
      }
    },
    "JAXBElementObject": {
      "type": "object",
      "properties": {
        "globalScope": {
          "type": "boolean"
        },
        "name": {
          "type": "object",
          "properties": {
            "localPart": {
              "type": "string"
            },
            "namespaceURI": {
              "type": "string"
            },
            "prefix": {
              "type": "string"
            }
          }
        },
        "nil": {
          "type": "boolean"
        },
        "typeSubstituted": {
          "type": "boolean"
        },
        "value": {}
      }
    },
    "JAXBElementPointRefStructure": {
      "type": "object",
      "properties": {
        "globalScope": {
          "type": "boolean"
        },
        "name": {
          "type": "object",
          "properties": {
            "localPart": {
              "type": "string"
            },
            "namespaceURI": {
              "type": "string"
            },
            "prefix": {
              "type": "string"
            }
          }
        },
        "nil": {
          "type": "boolean"
        },
        "typeSubstituted": {
          "type": "boolean"
        },
        "value": {
          "$ref": "#/$defs/PointRefStructure"
        }
      }
    },
    "KeyListStructure": {
      "type": "object",
      "properties": {
        "keyValue": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/KeyValueStructure"
          }
        }
      },
      "required": [
        "keyValue"
      ]
    },
    "KeyValueStructure": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string"
        },
        "typeOfKey": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "key",
        "value"
      ]
    },
    "LocationStructure": {
      "type": "object",
      "properties": {
        "altitude": {
          "type": "number"
        },
        "id": {
          "type": "string"
        },
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        },
        "pos": {
          "$ref": "#/$defs/DirectPositionType"
        },
        "precision": {
          "type": "number"
        },
        "srsName": {
          "type": "string"
        }
      }
    },
    "MultiSurfaceType": {
      "type": "object",
      "properties": {
        "aggregationType": {
          "type": "string",
          "enum": [
            "SET",
            "BAG",
            "SEQUENCE",
            "ARRAY",
            "RECORD",
            "TABLE"
          ]
        },
        "descriptionReference": {
          "$ref": "#/$defs/ReferenceType"
        },
        "id": {
          "type": "string"
        },
        "identifier": {
          "$ref": "#/$defs/CodeWithAuthorityType"
        },
        "name": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CodeType"
          }
        },
        "srsDimension": {
          "type": "integer"
        },
        "srsName": {
          "type": "string"
        },
        "surfaceMember": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SurfacePropertyType"
          }
        },
        "surfaceMembers": {
          "$ref": "#/$defs/SurfaceArrayPropertyType"
        }
      }
    },
    "MultilingualString": {
      "type": "object",
      "properties": {
        "lang": {
          "type": "string"
        },
        "textIdType": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "PointRefStructure": {
      "type": "object",
      "properties": {
        "changed": {
          "type": "string",
          "format": "date-time"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "modification": {
          "type": "string",
          "enum": [
            "NEW",
            "REVISE",
            "DELETE",
            "UNCHANGED",
            "DELTA"
          ]
        },
        "nameOfRefClass": {
          "type": "string"
        },
        "ref": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "versionRef": {
          "type": "string"
        }
      }
    },
    "PointRefs_RelStructure": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "modificationSet": {
          "type": "string",
          "enum": [
            "ALL",
            "CHANGES_ONLY"
          ]
        },
        "pointRef": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/JAXBElementPointRefStructure"
          }
        }
      }
    },
    "PolygonType": {
      "type": "object",
      "properties": {
        "descriptionReference": {
          "$ref": "#/$defs/ReferenceType"
        },
        "exterior": {
          "$ref": "#/$defs/AbstractRingPropertyType"
        },
        "id": {
          "type": "string"
        },
        "identifier": {
          "$ref": "#/$defs/CodeWithAuthorityType"
        },
        "interior": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AbstractRingPropertyType"
          }
        },
        "name": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CodeType"
          }
        },
        "srsDimension": {
          "type": "integer"
        },
        "srsName": {
          "type": "string"
        }
      }
    },
    "PresentationStructure": {
      "type": "object",
      "properties": {
        "backgroundColour": {
          "type": "string",
          "format": "byte"
        },
        "backgroundColourName": {
          "type": "string"
        },
        "colour": {
          "type": "string",
          "format": "byte"
        },
        "colourName": {
          "type": "string"
        },
        "colourSystem": {
          "type": "string"
        },
        "infoLinks": {
          "$ref": "#/$defs/InfoLinks"
        },
        "textColour": {
          "type": "string",
          "format": "byte"
        },
        "textColourName": {
          "type": "string"
        },
        "textFont": {
          "type": "string"
        },
        "textFontName": {
          "type": "string"
        },
        "textLanguage": {
          "type": "string"
        }
      }
    },
    "PrintPresentationStructure": {
      "type": "object",
      "properties": {
        "backgroundColour": {
          "type": "string",
          "format": "byte"
        },
        "backgroundColourName": {
          "type": "string"
        },
        "colour": {
          "type": "string"
        },
        "colourName": {
          "type": "string"
        },
        "colourSystem": {
          "type": "string"
        },
        "fontSize": {
          "type": "string",
          "enum": [
            "VERY_SMALL",
            "SMALL",
            "MEDIUM",
            "LARGE",
            "VERY_LARGE"
          ]
        },
        "textColour": {
          "type": "string"
        },
        "textColourName": {
          "type": "string"
        },
        "textFont": {
          "type": "string"
        },
        "textFontName": {
          "type": "string"
        },
        "textLanguage": {
          "type": "string"
        }
      }
    },
    "PrivateCodeStructure": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "Projections_RelStructure": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "modificationSet": {
          "type": "string",
          "enum": [
            "ALL",
            "CHANGES_ONLY"
          ]
        },
        "projectionRefOrProjection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/JAXBElementObject"
          }
        }
      }
    },
    "PurposeOfGroupingRefStructure": {
      "type": "object",
      "properties": {
        "changed": {
          "type": "string",
          "format": "date-time"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "modification": {
          "type": "string",
          "enum": [
            "NEW",
            "REVISE",
            "DELETE",
            "UNCHANGED",
            "DELTA"
          ]
        },
        "nameOfRefClass": {
          "type": "string"
        },
        "ref": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "versionRef": {
          "type": "string"
        }
      }
    },
    "ReferenceType": {
      "type": "object",
      "properties": {
        "nilReason": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "owns": {
          "type": "boolean"
        }
      }
    },
    "SimplePoint_VersionStructure": {
      "type": "object",
      "properties": {
        "alternativeTexts": {
          "$ref": "#/$defs/AlternativeTexts_RelStructure"
        },
        "changed": {
          "type": "string",
          "format": "date-time"
        },
        "compatibleWithVersionFrameVersionRef": {
          "type": "string"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "dataSourceRef": {
          "type": "string"
        },
        "derivedFromObjectRef": {
          "type": "string"
        },
        "derivedFromVersionRef_BasicModificationDetailsGroup": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "location": {
          "$ref": "#/$defs/LocationStructure"
        },
        "modification": {
          "type": "string",
          "enum": [
            "NEW",
            "REVISE",
            "DELETE",
            "UNCHANGED",
            "DELTA"
          ]
        },
        "name": {
          "$ref": "#/$defs/MultilingualString"
        },
        "nameOfClass": {
          "type": "string"
        },
        "publication": {
          "type": "string",
          "enum": [
            "PUBLIC",
            "RESTRICTED",
            "PRIVATE",
            "CONFIDENTIAL",
            "AUTHORISED",
            "TEST"
          ]
        },
        "status_BasicModificationDetailsGroup": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "INACTIVE",
            "OTHER"
          ]
        },
        "validBetween": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ValidBetween"
          }
        },
        "validityConditions": {
          "$ref": "#/$defs/ValidityConditions_RelStructure"
        },
        "version": {
          "type": "string"
        }
      }
    },
    "SurfaceArrayPropertyType": {
      "type": "object",
      "properties": {
        "abstractSurface": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/JAXBElementAbstractSurfaceType"
          }
        },
        "owns": {
          "type": "boolean"
        }
      }
    },
    "SurfacePropertyType": {
      "type": "object",
      "properties": {
        "abstractSurface": {
          "$ref": "#/$defs/JAXBElementAbstractSurfaceType"
        },
        "nilReason": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "owns": {
          "type": "boolean"
        }
      }
    },
    "TypeOfZoneRefStructure": {
      "type": "object",
      "properties": {
        "changed": {
          "type": "string",
          "format": "date-time"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "modification": {
          "type": "string",
          "enum": [
            "NEW",
            "REVISE",
            "DELETE",
            "UNCHANGED",
            "DELTA"
          ]
        },
        "nameOfRefClass": {
          "type": "string"
        },
        "ref": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "versionRef": {
          "type": "string"
        }
      }
    },
    "TypeOfZoneRefs_RelStructure": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "modificationSet": {
          "type": "string",
          "enum": [
            "ALL",
            "CHANGES_ONLY"
          ]
        },
        "typeOfZoneRef": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TypeOfZoneRefStructure"
          }
        }
      }
    },
    "ValidBetween": {
      "type": "object",
      "properties": {
        "alternativeTexts": {},
        "brandingRef": {
          "$ref": "#/$defs/BrandingRefStructure"
        },
        "changed": {
          "type": "string",
          "format": "date-time"
        },
        "compatibleWithVersionFrameVersionRef": {
          "type": "string"
        },
        "conditionedObjectRef": {
          "$ref": "#/$defs/VersionOfObjectRefStructure"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "dataSourceRef": {
          "type": "string"
        },
        "derivedFromObjectRef": {
          "type": "string"
        },
        "derivedFromVersionRef_BasicModificationDetailsGroup": {
          "type": "string"
        },
        "description": {
          "$ref": "#/$defs/MultilingualString"
        },
        "extensions": {
          "$ref": "#/$defs/ExtensionsStructure"
        },
        "fromDate": {
          "type": "string",
          "format": "date-time"
        },
        "id": {
          "type": "string"
        },
        "keyList": {
          "$ref": "#/$defs/KeyListStructure"
        },
        "modification": {
          "type": "string",
          "enum": [
            "NEW",
            "REVISE",
            "DELETE",
            "UNCHANGED",
            "DELTA"
          ]
        },
        "name": {
          "$ref": "#/$defs/MultilingualString"
        },
        "nameOfClass": {
          "type": "string"
        },
        "publication": {
          "type": "string",
          "enum": [
            "PUBLIC",
            "RESTRICTED",
            "PRIVATE",
            "CONFIDENTIAL",
            "AUTHORISED",
            "TEST"
          ]
        },
        "responsibilitySetRef": {
          "type": "string"
        },
        "status_BasicModificationDetailsGroup": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "INACTIVE",
            "OTHER"
          ]
        },
        "toDate": {
          "type": "string",
          "format": "date-time"
        },
        "validityConditions": {
          "$ref": "#/$defs/ValidityConditions_RelStructure"
        },
        "version": {
          "type": "string"
        },
        "withConditionRef": {
          "$ref": "#/$defs/ValidityConditionRefStructure"
        }
      }
    },
    "ValidityConditionRefStructure": {
      "type": "object",
      "properties": {
        "changed": {
          "type": "string",
          "format": "date-time"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "modification": {
          "type": "string",
          "enum": [
            "NEW",
            "REVISE",
            "DELETE",
            "UNCHANGED",
            "DELTA"
          ]
        },
        "nameOfRefClass": {
          "type": "string"
        },
        "ref": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "versionRef": {
          "type": "string"
        }
      }
    },
    "ValidityConditions_RelStructure": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "modificationSet": {
          "type": "string",
          "enum": [
            "ALL",
            "CHANGES_ONLY"
          ]
        },
        "validityConditionRefOrValidBetweenOrValidityCondition_": {
          "type": "array",
          "items": {}
        }
      }
    },
    "VersionOfObjectRefStructure": {
      "type": "object",
      "properties": {
        "changed": {
          "type": "string",
          "format": "date-time"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "modification": {
          "type": "string",
          "enum": [
            "NEW",
            "REVISE",
            "DELETE",
            "UNCHANGED",
            "DELTA"
          ]
        },
        "nameOfRefClass": {
          "type": "string"
        },
        "ref": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "versionRef": {
          "type": "string"
        }
      }
    },
    "ZoneRefStructure": {
      "type": "object",
      "properties": {
        "changed": {
          "type": "string",
          "format": "date-time"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "modification": {
          "type": "string",
          "enum": [
            "NEW",
            "REVISE",
            "DELETE",
            "UNCHANGED",
            "DELTA"
          ]
        },
        "nameOfMemberClass": {
          "type": "string"
        },
        "nameOfRefClass": {
          "type": "string"
        },
        "ref": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "versionRef": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/entur-tariff-zone"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.