{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.1.1", "$id": "https://smart-data-models.github.io/dataModel.Transportation/BikeHireDockingStation/schema.json", "title": " - Transportation / Bike Hire Docking Station", "description": "Bike Hire Docking Station", "type": "object", "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" }, { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" }, { "properties": { "type": { "type": "string", "enum": [ "BikeHireDockingStation" ], "description": "Property. NGSI Entity type. It has to be BikeHireDockingStation" }, "totalSlotNumber": { "type": "integer", "minimum": 0, "description": "Property. The total number of slots offered by this bike docking station. Model:'https://schema.org/Number'." }, "freeSlotNumber": { "type": "integer", "minimum": 0, "description": "Property. The number of slots available for returning and parking bikes. It must lower or equal than `totalSlotNumber`. Model:'https://schema.org/Number'." }, "availableBikeNumber": { "type": "integer", "minimum": 0, "description": "Property. The number of bikes available in the bike hire docking station to be hired by users. Model:'https://schema.org/Number'." }, "outOfServiceSlotNumber": { "type": "integer", "minimum": 0, "description": "Property. The number of slots that are out of order and cannot be used to hire or park a bike. It must lower or equal than `totalSlotNumber`. Model:'https://schema.org/Number'." }, "openingHours": { "type": "string", "description": "Property. Opening hours of the docking station. Model:'http://schema.org/openingHours'." }, "status": { "type": "string", "enum": [ "almostEmpty", "almostFull", "empty", "full", "outOfService", "withIncidence", "working" ], "description": "Property. Status of the bike hire docking station. Enum:'working, outOfService, withIncidence, full, almostFull, empty, almostEmpty'. Model:'https://schema.org/Number'. Or any other application specific." }, "provider": { "type": "string", "description": "Property. Bike hire service provider. Model:'https://schema.org/provider'." }, "contactPoint": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Contact-Commons/properties/contactPoint" }, "stationName": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. The name of the bike hire docking station corresponding to this observation." }, "mediaURL": { "type": "string", "format": "uri", "description": "Property. Model:'https://schema.org/Text'. URL providing further information of any image(s) or media of the complaint or place." }, "agency_url": { "type": "string", "format": "uri", "description": "Property. Model:'https://schema.org/Text'. The agency_url field contains the URL of the transit agency. SameAs: 'agency_url' field from GTFS Static Field Definition - agency.txt (https://developers.google.com/transit/gtfs/reference#agencytxt)" }, "agency_name": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. The agency_name field contains the full name of the transit agency. SameAs: 'agency_name' field from GTFS Static Field Definition - agency.txt (https://developers.google.com/transit/gtfs/reference#agencytxt)" }, "stationCode": { "type": "string", "description": "Property. Model:'https://schema.org/Text'. The station number or station code of the bike hire docking station corresponding to the observation." }, "observationDateTime": { "type": "string", "format": "date-time", "description": "Property. Model:'https://schema.org/Text'. Last reported time of observation." }, "agency_fare_url": { "type": "string", "description": "Property. URL of a web page that contains the details of the fares and also could allow to purchase tickets for that agency online. SameAs: 'agency_fare_url' field from GTFS Static Field Definition - agency.txt (https://developers.google.com/transit/gtfs/reference#agencytxt) " } } } ], "required": [ "id", "type" ] }