Entur · Schema

AvailabilityCondition

An AvailabilityCondition

CompanyPublic TransportJourney PlanningMobilityOpen DataNorwayTransitGraphQL

Properties

Name Type Description
available boolean
changed string Changed datetime
created string Created datetime
dayTypeRefs array Day Type references.
description array Description represented in different languages. Language codes are ISO-639.
fareFrameRef object
fromDate string FromDate datetime.
id string Id.
isAvailable boolean Is available
modification string Modification status
name array Name represented in different languages. Language codes are ISO-639.
nameOfClass string Name of class
organisationId string Organisation related to the userProfile
status string Status
timebandRefs array Time band references.
toDate string toDate datetime.
version string AvailabilityCondition version.
View JSON Schema on GitHub

JSON Schema

entur-availability-condition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/entur/json-schema/entur-availability-condition-schema.json",
  "title": "AvailabilityCondition",
  "description": "An AvailabilityCondition",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/entur-availability-conditions-api-openapi.yml#/components/schemas/AvailabilityCondition",
  "required": [
    "changed",
    "created",
    "fareFrameRef",
    "fromDate",
    "id",
    "isAvailable",
    "modification",
    "nameOfClass",
    "status",
    "toDate",
    "version"
  ],
  "type": "object",
  "properties": {
    "available": {
      "type": "boolean"
    },
    "changed": {
      "type": "string",
      "description": "Changed datetime",
      "readOnly": true
    },
    "created": {
      "type": "string",
      "description": "Created datetime",
      "readOnly": true
    },
    "dayTypeRefs": {
      "type": "array",
      "description": "Day Type references.",
      "items": {
        "$ref": "#/$defs/VersionOfObjectRef"
      }
    },
    "description": {
      "type": "array",
      "description": "Description represented in different languages. Language codes are ISO-639.",
      "items": {
        "$ref": "#/$defs/TextInLanguage"
      }
    },
    "fareFrameRef": {
      "$ref": "#/$defs/VersionOfObjectRef"
    },
    "fromDate": {
      "type": "string",
      "description": "FromDate datetime."
    },
    "id": {
      "minLength": 1,
      "pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
      "type": "string",
      "description": "Id."
    },
    "isAvailable": {
      "type": "boolean",
      "description": "Is available"
    },
    "modification": {
      "type": "string",
      "description": "Modification status",
      "readOnly": true,
      "enum": [
        "NEW",
        "REVISE",
        "DELETE"
      ]
    },
    "name": {
      "type": "array",
      "description": "Name represented in different languages. Language codes are ISO-639.",
      "items": {
        "$ref": "#/$defs/TextInLanguage"
      }
    },
    "nameOfClass": {
      "type": "string",
      "description": "Name of class",
      "readOnly": true
    },
    "organisationId": {
      "type": "string",
      "description": "Organisation related to the userProfile"
    },
    "status": {
      "type": "string",
      "description": "Status",
      "readOnly": true,
      "enum": [
        "DRAFT",
        "PROPOSED",
        "VERSIONED",
        "DEPRECATED"
      ]
    },
    "timebandRefs": {
      "type": "array",
      "description": "Time band references.",
      "items": {
        "$ref": "#/$defs/VersionOfObjectRef"
      }
    },
    "toDate": {
      "type": "string",
      "description": "toDate datetime."
    },
    "version": {
      "minLength": 1,
      "pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
      "type": "string",
      "description": "AvailabilityCondition version."
    }
  },
  "$defs": {
    "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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/entur-availability-condition"
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.