Entur · Schema

ChargingPolicy

A ChargingPolicy response

CompanyPublic TransportJourney PlanningMobilityOpen DataNorwayTransitGraphQL

Properties

Name Type Description
billingPolicy string TravelBillingPolicy is optional. No default value
changed string ChargingPolicy changed datetime.
created string ChargingPolicy create datetime.
creditPolicy string Travel credit policy enum is optional. No default value
description array ChargingPolicy description in different languages. Language codes are ISO-639
expireAfterPeriod string Expire after period. Represented as a string formatted according to ISO-8601
fareFrameRef object
id string Id.
modification string Modification status
name array ChargingPolicy name in different languages. Language codes are ISO-639.
nameOfClass string Name of class.
paymentGracePeriod string Payment grace period. Represented as a string formatted according to ISO-8601
status string Status
typeOfUsageParameter string type of UsageParameter.
version string Version
View JSON Schema on GitHub

JSON Schema

entur-charging-policy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/entur/json-schema/entur-charging-policy-schema.json",
  "title": "ChargingPolicy",
  "description": "A ChargingPolicy response",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/entur-charging-policies-api-openapi.yml#/components/schemas/ChargingPolicy",
  "required": [
    "changed",
    "created",
    "fareFrameRef",
    "id",
    "modification",
    "nameOfClass",
    "status"
  ],
  "type": "object",
  "properties": {
    "billingPolicy": {
      "type": "string",
      "description": "TravelBillingPolicy is optional. No default value",
      "enum": [
        "BILL_AS_YOU_GO",
        "BILL_ON_THRESHOLD",
        "BILL_AT_FARE_DAY_END",
        "BILL_AT_PERIOD_END"
      ]
    },
    "changed": {
      "type": "string",
      "description": "ChargingPolicy changed datetime.",
      "readOnly": true
    },
    "created": {
      "type": "string",
      "description": "ChargingPolicy create datetime.",
      "readOnly": true
    },
    "creditPolicy": {
      "type": "string",
      "description": "Travel credit policy enum is optional. No default value",
      "enum": [
        "ALLOW_TRAVEL",
        "BLOCK_PAY_AS_YOU_GO_TRAVEL",
        "BLOCK_ALL_TRAVEL",
        "OTHER"
      ]
    },
    "description": {
      "type": "array",
      "description": "ChargingPolicy description in different languages. Language codes are ISO-639",
      "items": {
        "$ref": "#/$defs/TextInLanguage"
      }
    },
    "expireAfterPeriod": {
      "type": "string",
      "description": "Expire after period. Represented as a string formatted according to ISO-8601"
    },
    "fareFrameRef": {
      "$ref": "#/$defs/VersionOfObjectRef"
    },
    "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": "ChargingPolicy name in different languages. Language codes are ISO-639.",
      "items": {
        "$ref": "#/$defs/TextInLanguage"
      }
    },
    "nameOfClass": {
      "type": "string",
      "description": "Name of class.",
      "readOnly": true
    },
    "paymentGracePeriod": {
      "type": "string",
      "description": "Payment grace period. Represented as a string formatted according to ISO-8601"
    },
    "status": {
      "type": "string",
      "description": "Status",
      "readOnly": true,
      "enum": [
        "DRAFT",
        "PROPOSED",
        "VERSIONED",
        "DEPRECATED"
      ]
    },
    "typeOfUsageParameter": {
      "type": "string",
      "description": "type of UsageParameter."
    },
    "version": {
      "minLength": 1,
      "pattern": "^([A-Z]{3}):([A-Za-z]*):([0-9A-Za-z_\\-]*)$",
      "type": "string",
      "description": "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-charging-policy"
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.