Entur · Schema
DistanceMatrixElementInsert
A DistanceMatrixElement create request
CompanyPublic TransportJourney PlanningMobilityOpen DataNorwayTransitGraphQL
Properties
| Name | Type | Description |
|---|---|---|
| description | array | Description represented in different languages. Language codes are ISO-639. |
| distance | number | Distance. |
| endFareZoneRef | string | End fare zone reference. |
| endScheduledStopPointId | string | End scheduled stop point netexId. |
| endTariffZoneId | string | End tariff zone reference. This field is deprecated, please use the field endFareZoneRef |
| fareFrameRef | object | |
| fareTableRefs | array | References to fare tables that provide prices or discounts for the user profile. |
| groupRef | object | |
| id | string | Id. |
| inverseAllowed | boolean | Inverse is allowed. |
| isDirect | boolean | Is a direct route. |
| limitingRuleRef | object | |
| name | array | DistanceMatrixElement Name represented in different languages. Language codes are ISO-639. |
| prices | array | Fare prices for the user profile. |
| relativeRanking | integer | Relative ranking. |
| startFareZoneRef | string | Start fare zone reference. |
| startScheduledStopPointId | string | Start scheduled stop point netexId. |
| startTariffZoneId | string | Start tariff zone reference. This field is deprecated, please use the field startFareZoneRef |
| tariffRef | object | |
| validityConditions | array | Validity conditions for the user profile. |
| version | string | DistanceMatrixElement version. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/entur/json-schema/entur-distance-matrix-element-insert-schema.json",
"title": "DistanceMatrixElementInsert",
"description": "A DistanceMatrixElement create request ",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/entur-distance-matrix-elements-api-openapi.yml#/components/schemas/DistanceMatrixElementInsert",
"required": [
"fareFrameRef",
"id",
"version"
],
"type": "object",
"properties": {
"description": {
"type": "array",
"description": "Description represented in different languages. Language codes are ISO-639.",
"items": {
"$ref": "#/$defs/TextInLanguage"
}
},
"distance": {
"type": "number",
"description": "Distance.",
"format": "double"
},
"endFareZoneRef": {
"type": "string",
"description": "End fare zone reference."
},
"endScheduledStopPointId": {
"type": "string",
"description": "End scheduled stop point netexId."
},
"endTariffZoneId": {
"type": "string",
"description": "End tariff zone reference. This field is deprecated, please use the field endFareZoneRef",
"deprecated": true
},
"fareFrameRef": {
"$ref": "#/$defs/VersionOfObjectRef"
},
"fareTableRefs": {
"type": "array",
"description": "References to fare tables that provide prices or discounts for the user profile.",
"items": {
"$ref": "#/$defs/VersionOfObjectRef"
}
},
"groupRef": {
"$ref": "#/$defs/VersionOfObjectRef"
},
"id": {
"minLength": 1,
"pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
"type": "string",
"description": "Id."
},
"inverseAllowed": {
"type": "boolean",
"description": "Inverse is allowed."
},
"isDirect": {
"type": "boolean",
"description": "Is a direct route."
},
"limitingRuleRef": {
"$ref": "#/$defs/VersionOfObjectRef"
},
"name": {
"type": "array",
"description": "DistanceMatrixElement Name represented in different languages. Language codes are ISO-639.",
"items": {
"$ref": "#/$defs/TextInLanguage"
}
},
"prices": {
"type": "array",
"description": "Fare prices for the user profile.",
"items": {
"$ref": "#/$defs/FarePriceInsert"
}
},
"relativeRanking": {
"type": "integer",
"description": "Relative ranking.",
"format": "int32"
},
"startFareZoneRef": {
"type": "string",
"description": "Start fare zone reference."
},
"startScheduledStopPointId": {
"type": "string",
"description": "Start scheduled stop point netexId."
},
"startTariffZoneId": {
"type": "string",
"description": "Start tariff zone reference. This field is deprecated, please use the field startFareZoneRef",
"deprecated": true
},
"tariffRef": {
"$ref": "#/$defs/VersionOfObjectRef"
},
"validityConditions": {
"type": "array",
"description": "Validity conditions for the user profile.",
"items": {
"$ref": "#/$defs/ValidityCondition"
}
},
"version": {
"minLength": 1,
"pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
"type": "string",
"description": "DistanceMatrixElement version."
}
},
"$defs": {
"FarePriceInsert": {
"required": [
"fareFrameRef",
"id",
"name"
],
"type": "object",
"properties": {
"amount": {
"type": "string",
"description": "Amount."
},
"canBeCumulative": {
"type": "boolean",
"description": "canBeCumulative."
},
"compatibleWithVersionRef": {
"type": "string",
"description": "Compatible with version."
},
"currency": {
"type": "string",
"description": "Currency."
},
"derivedFromVersionRef": {
"type": "string",
"description": "Derived from version."
},
"discountPercentageUsed": {
"type": "integer",
"description": "discountPercentageUsed.",
"format": "int32"
},
"fareFrameRef": {
"$ref": "#/$defs/VersionOfObjectRef"
},
"id": {
"minLength": 1,
"pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
"type": "string",
"description": "Id."
},
"isAllowed": {
"type": "boolean",
"description": "isAllowed."
},
"limitingRule": {
"$ref": "#/$defs/LimitingRule"
},
"name": {
"type": "array",
"description": "Name.",
"items": {
"$ref": "#/$defs/TextInLanguage"
}
},
"ranking": {
"type": "integer",
"description": "Ranking.",
"format": "int32"
},
"rounding": {
"$ref": "#/$defs/RoundingInsert"
},
"roundingRef": {
"$ref": "#/$defs/VersionOfObjectRef"
},
"vatRegisterGroup": {
"type": "string",
"description": "vatRegisterGroup.",
"enum": [
"EXCEPTION_FROM_VAT",
"GENERAL_VAT",
"FOOD_VAT",
"TRANSPORT_AND_TICKETS_VAT"
]
},
"version": {
"type": "string"
}
}
},
"LimitingRule": {
"required": [
"changed",
"created",
"fareFrameRef",
"id",
"modification",
"nameOfClass",
"status"
],
"type": "object",
"properties": {
"canBeCumulative": {
"type": "boolean",
"description": "CanBeCumulative."
},
"changed": {
"type": "string",
"description": "Changed datetime.",
"readOnly": true
},
"compatibleWithVersionRef": {
"type": "string",
"description": "Compatible with version."
},
"created": {
"type": "string",
"description": "Created datetime.",
"readOnly": true
},
"derivedFromVersionRef": {
"type": "string",
"description": "Derived from version."
},
"description": {
"type": "array",
"description": "Description.",
"items": {
"$ref": "#/$defs/TextInLanguage"
}
},
"discountAsPercentage": {
"type": "number",
"description": "DiscountAsPercentage.",
"format": "float"
},
"discountAsValue": {
"type": "number",
"description": "DiscountAsValue.",
"format": "float"
},
"fareFrameRef": {
"$ref": "#/$defs/VersionOfObjectRef"
},
"id": {
"minLength": 1,
"pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
"type": "string",
"description": "Id."
},
"maximumPrice": {
"type": "string",
"description": "MaximumPrice."
},
"maximumPriceAsPercentage": {
"type": "number",
"description": "MaximumPriceAsPercentage.",
"format": "double"
},
"minimumLimitPrice": {
"type": "string",
"description": "MinimumLimitPrice."
},
"minimumPrice": {
"type": "string",
"description": "MinimumPrice."
},
"modification": {
"type": "string",
"description": "Modification status.",
"readOnly": true,
"enum": [
"NEW",
"REVISE",
"DELETE"
]
},
"name": {
"type": "array",
"description": "Name.",
"items": {
"$ref": "#/$defs/TextInLanguage"
}
},
"nameOfClass": {
"type": "string",
"description": "Name of class.",
"readOnly": true
},
"status": {
"type": "string",
"description": "Status.",
"readOnly": true,
"enum": [
"DRAFT",
"PROPOSED",
"VERSIONED",
"DEPRECATED"
]
},
"version": {
"minLength": 1,
"pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
"type": "string",
"description": "Version."
}
},
"description": "A LimitingRule"
},
"RoundingInsert": {
"required": [
"fareFrameRef",
"id",
"roundingMethod",
"version"
],
"type": "object",
"properties": {
"description": {
"type": "array",
"description": "Description.",
"items": {
"$ref": "#/$defs/TextInLanguage"
}
},
"fareFrameRef": {
"$ref": "#/$defs/VersionOfObjectRef"
},
"id": {
"minLength": 1,
"pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
"type": "string",
"description": "Id."
},
"name": {
"type": "array",
"description": "Name.",
"items": {
"$ref": "#/$defs/TextInLanguage"
}
},
"roundingMethod": {
"type": "string",
"description": "Type of rounding.",
"enum": [
"NONE",
"DOWN",
"UP",
"SPLIT",
"STEP_TABLE",
"FIVE",
"NINE",
"TEN",
"FORTY_NINE"
]
},
"roundingModulus": {
"type": "number",
"description": "Amount by which rounding is to be quantised, i.e. results should be quantised to nearest whole multiple of this value.",
"format": "double"
},
"version": {
"minLength": 1,
"pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
"type": "string",
"description": "Rounding version."
}
},
"description": "Rounding.",
"deprecated": true
},
"TextInLanguage": {
"required": [
"lang",
"value"
],
"type": "object",
"properties": {
"lang": {
"minLength": 1,
"type": "string",
"description": "Language code."
},
"value": {
"minLength": 1,
"type": "string",
"description": "The text."
}
},
"description": "Text in a specific language."
},
"ValidityCondition": {
"required": [
"changed",
"created",
"id",
"modification",
"nameOfClass",
"status",
"version"
],
"type": "object",
"properties": {
"changed": {
"type": "string",
"description": "Changed datetime.",
"readOnly": true
},
"created": {
"type": "string",
"description": "Created datetime.",
"readOnly": true
},
"fromDate": {
"type": "string",
"description": "From Date."
},
"id": {
"minLength": 1,
"pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
"type": "string",
"description": "Id."
},
"modification": {
"type": "string",
"description": "Modification status.",
"readOnly": true,
"enum": [
"NEW",
"REVISE",
"DELETE"
]
},
"nameOfClass": {
"type": "string",
"description": "Name of class.",
"readOnly": true
},
"status": {
"type": "string",
"description": "Status.",
"readOnly": true,
"enum": [
"DRAFT",
"PROPOSED",
"VERSIONED",
"DEPRECATED"
]
},
"toDate": {
"type": "string",
"description": "To Date."
},
"version": {
"minLength": 1,
"pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
"type": "string",
"description": "Version."
}
},
"description": "A condition of the validity of the priceable object"
},
"VersionOfObjectRef": {
"required": [
"nameOfClass",
"ref",
"version"
],
"type": "object",
"properties": {
"nameOfClass": {
"minLength": 1,
"type": "string",
"description": "Name of class."
},
"ref": {
"minLength": 1,
"pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
"type": "string",
"description": "The netex id reference to the object."
},
"version": {
"type": "string",
"description": "Version."
}
},
"description": "Fare frame ref."
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/entur-distance-matrix-element-insert"
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.