Entur · Schema
FareDayType
The FareDayType describe during which the assignment applies
CompanyPublic TransportJourney PlanningMobilityOpen DataNorwayTransitGraphQL
Properties
| Name | Type | Description |
|---|---|---|
| changed | string | Changed datetime. |
| created | string | Created datetime. |
| dayLength | string | Day length. Represented as a string formatted according to ISO-8601 |
| description | array | Description of fare day type |
| durationAfterPropertiesOfDay | string | Duration after properties of day. Represented as a string formatted according to ISO-8601 |
| durationBeforePropertiesOfDay | string | Duration before properties of day. Represented as a string formatted according to ISO-8601 |
| earliestTime | string | Earliest time. |
| id | string | Id. |
| modification | string | Modification status. |
| name | array | Name of fare day type |
| nameOfClass | string | Name of class. |
| properties | array | Properties of day |
| status | string | Status. |
| timebandRefs | array | Time band references. |
| version | string | Version. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/entur/json-schema/entur-fare-day-type-schema.json",
"title": "FareDayType",
"description": "The FareDayType describe during which the assignment applies",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/entur-fare-day-types-api-openapi.yml#/components/schemas/FareDayType",
"required": [
"changed",
"created",
"description",
"id",
"modification",
"name",
"nameOfClass",
"status",
"version"
],
"type": "object",
"properties": {
"changed": {
"type": "string",
"description": "Changed datetime.",
"readOnly": true
},
"created": {
"type": "string",
"description": "Created datetime.",
"readOnly": true
},
"dayLength": {
"type": "string",
"description": "Day length. Represented as a string formatted according to ISO-8601"
},
"description": {
"type": "array",
"description": "Description of fare day type",
"items": {
"$ref": "#/$defs/TextInLanguage"
}
},
"durationAfterPropertiesOfDay": {
"type": "string",
"description": "Duration after properties of day. Represented as a string formatted according to ISO-8601"
},
"durationBeforePropertiesOfDay": {
"type": "string",
"description": "Duration before properties of day. Represented as a string formatted according to ISO-8601"
},
"earliestTime": {
"type": "string",
"description": "Earliest time."
},
"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"
]
},
"name": {
"type": "array",
"description": "Name of fare day type",
"items": {
"$ref": "#/$defs/TextInLanguage"
}
},
"nameOfClass": {
"type": "string",
"description": "Name of class.",
"readOnly": true
},
"properties": {
"type": "array",
"description": "Properties of day",
"items": {
"$ref": "#/$defs/PropertyOfDay"
}
},
"status": {
"type": "string",
"description": "Status.",
"readOnly": true,
"enum": [
"DRAFT",
"PROPOSED",
"VERSIONED",
"DEPRECATED"
]
},
"timebandRefs": {
"type": "array",
"description": "Time band references.",
"items": {
"$ref": "#/$defs/VersionOfObjectRef"
}
},
"version": {
"minLength": 1,
"pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
"type": "string",
"description": "Version."
}
},
"$defs": {
"PropertyOfDay": {
"required": [
"countryRef",
"name"
],
"type": "object",
"properties": {
"countryRef": {
"type": "string",
"description": "Reference to country for holiday. ISO 3166-1",
"readOnly": true
},
"dayOfYear": {
"type": "string",
"description": "Day of year",
"format": "##-##"
},
"daysOfWeek": {
"type": "array",
"description": "Days of week",
"items": {
"type": "string"
}
},
"description": {
"type": "string",
"description": "Description of the property of day"
},
"holidayTypes": {
"type": "array",
"description": "Holiday types",
"items": {
"type": "string"
}
},
"monthOfYear": {
"type": "integer",
"description": "Month of year",
"format": "int32",
"enum": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12
]
},
"name": {
"type": "string",
"description": "Name of property of day"
}
},
"description": "The DayType describe during which the assignment applies"
},
"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."
},
"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-fare-day-type"
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.