Entur · Schema

collectionInfo

CompanyPublic TransportJourney PlanningMobilityOpen DataNorwayTransitGraphQL

Properties

Name Type Description
id string identifier of the collection used, for example, in URIs
title string human readable title of the collection
description string a description of the data in the collection
links array
extent object
itemType string indicator about the type of the items in the collection if the collection has an accessible /collections/{collectionId}/items endpoint
crs array the list of coordinate reference systems supported by the API; the first item is the default coordinate reference system
dataType object
geometryDimension integer The geometry dimension of the features shown in this layer (0: points, 1: curves, 2: surfaces, 3: solids), unspecified: mixed or unknown
minScaleDenominator number Minimum scale denominator for usage of the collection
maxScaleDenominator number Maximum scale denominator for usage of the collection
minCellSize number Minimum cell size for usage of the collection
maxCellSize number Maximum cell size for usage of the collection
View JSON Schema on GitHub

JSON Schema

entur-collection-info-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/entur/main/json-schema/entur-collection-info-schema.json",
  "title": "collectionInfo",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/entur-omsa-openapi.yml#/components/schemas/collectionInfo",
  "required": [
    "id",
    "links"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "identifier of the collection used, for example, in URIs"
    },
    "title": {
      "type": "string",
      "description": "human readable title of the collection"
    },
    "description": {
      "type": "string",
      "description": "a description of the data in the collection"
    },
    "links": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/link"
      }
    },
    "extent": {
      "type": "object"
    },
    "itemType": {
      "type": "string",
      "description": "indicator about the type of the items in the collection if the collection has an accessible /collections/{collectionId}/items endpoint",
      "default": "unknown"
    },
    "crs": {
      "type": "array",
      "description": "the list of coordinate reference systems supported by the API; the first item is the default coordinate reference system",
      "items": {
        "type": "string"
      },
      "default": [
        "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
      ]
    },
    "dataType": {
      "$ref": "#/$defs/dataType"
    },
    "geometryDimension": {
      "maximum": 3,
      "minimum": 0,
      "type": "integer",
      "description": "The geometry dimension of the features shown in this layer (0: points, 1: curves, 2: surfaces, 3: solids), unspecified: mixed or unknown"
    },
    "minScaleDenominator": {
      "type": "number",
      "description": "Minimum scale denominator for usage of the collection"
    },
    "maxScaleDenominator": {
      "type": "number",
      "description": "Maximum scale denominator for usage of the collection"
    },
    "minCellSize": {
      "type": "number",
      "description": "Minimum cell size for usage of the collection"
    },
    "maxCellSize": {
      "type": "number",
      "description": "Maximum cell size for usage of the collection"
    }
  },
  "$defs": {
    "dataType": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "string",
          "enum": [
            "map",
            "vector",
            "coverage"
          ]
        }
      ]
    },
    "dateTime": {
      "type": "string",
      "description": "https://www.rfc-editor.org/rfc/rfc3339#section-5.6, date-time (2019-10-12T07:20:50.52Z)",
      "format": "date-time",
      "x-pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"
    },
    "day": {
      "type": "string",
      "enum": [
        "MON",
        "TUE",
        "WED",
        "THU",
        "FRI",
        "SAT",
        "SUN"
      ],
      "x-tm": "DAY OF WEEK"
    },
    "link": {
      "required": [
        "href",
        "rel"
      ],
      "type": "object",
      "properties": {
        "rel": {
          "type": "string",
          "description": "the action that can be performed OR part of the URI allowed values include the 'processId's, prefixes for the referenced data sources, prefixes for deeplinks ('apple' and 'android'), OGC compliant ones (alternative, next, etc)"
        },
        "href": {
          "$ref": "#/$defs/url"
        },
        "type": {
          "$ref": "#/$defs/shortString"
        },
        "method": {
          "type": "string",
          "description": "to indicate the http method.",
          "enum": [
            "POST",
            "GET",
            "PUT",
            "DELETE",
            "PATCH"
          ]
        },
        "description": {
          "type": "string",
          "description": "the description of the external data source"
        },
        "body": {
          "type": "object",
          "description": "the (prefilled) body for the request"
        },
        "headers": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "isMandatory": {
          "type": "boolean",
          "description": "is this link informative, or must it be used?"
        },
        "hash": {
          "type": "string",
          "description": "to validate that the content of the link hasn't been changed."
        },
        "validity": {
          "$ref": "#/$defs/temporalParameter"
        }
      },
      "additionalProperties": false,
      "x-externalDocs": {
        "url": "https://github.com/opengeospatial/ogcapi-processes/raw/refs/heads/master/openapi/schemas/common-core/link.yaml"
      }
    },
    "normalInt": {
      "maximum": 1000,
      "minimum": 0,
      "type": "integer",
      "description": "default length for an integer (0-1000)",
      "default": 0
    },
    "shortString": {
      "maxLength": 75,
      "type": "string",
      "description": "short string, display names (length 0-75)"
    },
    "temporalParameter": {
      "required": [
        "type"
      ],
      "type": "object",
      "properties": {
        "type": {
          "pattern": "^(temporal)$",
          "type": "string"
        },
        "startTime": {
          "$ref": "#/$defs/dateTime"
        },
        "endTime": {
          "$ref": "#/$defs/dateTime"
        },
        "duration": {
          "$ref": "#/$defs/normalInt"
        },
        "dayType": {
          "$ref": "#/$defs/day"
        }
      },
      "x-tm": "TEMPORAL VALIDITY PARAMETERS"
    },
    "url": {
      "type": "string",
      "description": "valid URL",
      "format": "uri"
    }
  }
}

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-collection-info"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.