{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.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": "object", "description": "Property. Bike hire service provider. Model:'https://schema.org/provider'." }, "contactPoint": { "type": "object", "description": "Property. Bike hire service contact point. Model:'https://schema.org/contactPoint'" } } } ], "required": [ "id", "type" ] }