Locations

GeoJSON FeatureCollection

TransportationOpen DataGovernmentTrafficRailwaysMaritimeRoadsFinlandReal-Time

Properties

Name Type Description
features array
type string
View JSON Schema on GitHub

JSON Schema

digitraffic-fi-locations-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/digitraffic-fi/json-schema/digitraffic-fi-locations-schema.json",
  "title": "Locations",
  "description": "GeoJSON FeatureCollection",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/digitraffic-fi-marine-api-openapi.yml#/components/schemas/Locations",
  "required": [
    "features",
    "type"
  ],
  "type": "object",
  "properties": {
    "features": {
      "type": "array",
      "items": {
        "required": [
          "geometry",
          "properties",
          "type"
        ],
        "type": "object",
        "properties": {
          "geometry": {
            "required": [
              "coordinates",
              "type"
            ],
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "coordinates": {
                "maxItems": 3,
                "minItems": 2,
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "type": {
                "type": "string",
                "enum": [
                  "Point"
                ]
              }
            },
            "additionalProperties": false
          },
          "type": {
            "type": "string",
            "enum": [
              "Feature"
            ]
          },
          "properties": {
            "required": [
              "locodeList",
              "name",
              "nationality",
              "restrictions",
              "suspensions",
              "type",
              "winterport"
            ],
            "type": "object",
            "properties": {
              "nationality": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "suspensions": {
                "type": "array",
                "items": {
                  "required": [
                    "dueTo",
                    "endTime",
                    "portsClosed",
                    "prenotification",
                    "specifications",
                    "startTime"
                  ],
                  "type": "object",
                  "properties": {
                    "prenotification": {
                      "type": "boolean",
                      "description": "Whether suspension is announced to users before it starts."
                    },
                    "portsClosed": {
                      "type": "boolean",
                      "description": "Bit indicating whether the port is entirely closed to all operations."
                    },
                    "dueTo": {
                      "type": "string",
                      "description": "Main reason for port suspension."
                    },
                    "startTime": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "endTime": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "specifications": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "More specific reason for port suspension. "
                    }
                  },
                  "additionalProperties": false,
                  "description": "Information on port suspensions."
                }
              },
              "locodeList": {
                "type": "string",
                "description": "Comma separated list of UN locodes."
              },
              "restrictions": {
                "type": "array",
                "items": {
                  "required": [
                    "endTime",
                    "startTime",
                    "textCompilation"
                  ],
                  "type": "object",
                  "properties": {
                    "textCompilation": {
                      "type": "string",
                      "description": "Textual presentation of the restriction."
                    },
                    "startTime": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "endTime": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    }
                  },
                  "additionalProperties": false,
                  "description": "Assistance restrictions are restrictions published by authorities that target a specific location for a range of time."
                }
              },
              "winterport": {
                "type": "boolean",
                "description": "Boolean indicating whether a port is a winterport or not."
              },
              "type": {
                "type": "string",
                "description": "Type of location. PORT or FAIRWAY, but there could be more in the future."
              }
            },
            "additionalProperties": false,
            "description": "Locations are points of interest on a map, usually ports, that can have restrictions placed on them."
          }
        },
        "additionalProperties": false,
        "description": "GeoJSON Feature"
      }
    },
    "type": {
      "type": "string",
      "enum": [
        "FeatureCollection"
      ]
    }
  },
  "additionalProperties": false
}

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/digitraffic-fi-locations"
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.