{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/entur/main/json-schema/entur-asset-schema.json", "title": "Asset", "x-generated": "2026-10-09", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/entur-shared-mobility-openapi.yml#/components/schemas/Asset", "type": "object", "properties": { "operator": { "$ref": "#/$defs/Operator" }, "id": { "type": [ "string", "null" ] }, "systemId": { "type": [ "string", "null" ] }, "stationId": { "type": [ "string", "null" ] }, "formFactor": { "type": [ "string", "null" ], "enum": [ "BICYCLE", "CARGO_BICYCLE", "CAR", "MOPED", "SCOOTER", "SCOOTER_STANDING", "SCOOTER_SEATED", "OTHER" ] }, "licensePlate": { "type": [ "string", "null" ] }, "stateOfCharge": { "type": [ "integer", "null" ], "format": "int32" }, "currentRangeKm": { "type": [ "integer", "null" ], "format": "int32" }, "vehicleMaxRangeInMeters": { "type": [ "integer", "null" ], "format": "int32" }, "vehicleCode": { "type": [ "string", "null" ] }, "vehicleTypeId": { "type": [ "string", "null" ] }, "coordinates": { "oneOf": [ { "$ref": "#/$defs/Coordinates" }, { "type": "null" } ] }, "propulsionType": { "type": [ "string", "null" ], "enum": [ "HUMAN", "ELECTRIC_ASSIST", "ELECTRIC", "COMBUSTION", "COMBUSTION_DIESEL", "HYBRID", "PLUG_IN_HYBRID", "HYDROGEN_FUEL_CELL" ] }, "stationSlotName": { "type": [ "string", "null" ] } }, "required": [ "operator" ], "$defs": { "Coordinates": { "type": "object", "properties": { "longitude": { "type": "number", "format": "float" }, "latitude": { "type": "number", "format": "float" }, "altitude": { "type": [ "number", "null" ], "format": "float" } }, "required": [ "latitude", "longitude" ] }, "Operator": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "name" ] } } }