{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "https://smart-data-models.github.io/dataModel.GBFS/system_information/schema.json", "description": "Details including system operator, system location, year implemented, URL, contact info, time zone. According to the Standard GBFS 2.2", "type": "object", "$schemaVersion": "0.0.1", "derivedFrom": "https://github.com/NABSA/gbfs/blob/v2.2/gbfs.md", "modelTags": "GBFS", "title": "Smart Data Models adaptation of GBFS standard data model system_information", "properties": { "id": { "$ref": "https://github.com/smart-data-models/data-models/raw/master/common-schema.json#/definitions/EntityIdentifierType" }, "type": { "type": "string", "description": "Property. NGSI entity type. It has to be system_information", "enum": [ "system_information" ] }, "last_updated": { "description": "Property. Last time the data in the feed was updated in POSIX time.", "type": "integer", "minimum": 1450155600 }, "ttl": { "description": "Property. Number of seconds before the data in the feed will be updated again (0 if the data should always be refreshed).", "type": "integer", "minimum": 0 }, "version": { "description": "Property. GBFS version number to which the feed conforms, according to the versioning framework (added in v1.1).", "type": "string", "enum": [ "1.1-RC", "1.1", "2.0", "2.1-RC", "2.1-RC2", "2.1", "2.2", "3.0" ] }, "data": { "description": "Property. Response data in the form of name:value pairs.", "type": "object", "properties": { "system_id": { "description": "Identifier for this vehicle share system. This should be globally unique (even between different systems).", "type": "string" }, "language": { "description": "The language that will be used throughout the rest of the files. It must match the value in the gbfs.json file.", "type": "string", "pattern": "^[a-z]{2,3}(-[A-Z]{2})?$" }, "name": { "description": "Name of the system to be displayed to customers.", "type": "string" }, "short_name": { "description": "Optional abbreviation for a system.", "type": "string" }, "operator": { "description": "Name of the operator", "type": "string" }, "url": { "description": "The URL of the vehicle share system.", "type": "string", "format": "uri" }, "purchase_url": { "description": "URL where a customer can purchase a membership.", "type": "string", "format": "uri" }, "start_date": { "description": "Date that the system began operations.", "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" }, "phone_number": { "description": "A single voice telephone number for the specified system that presents the telephone number as typical for the system's service area.", "type": "string" }, "email": { "description": "Email address actively monitored by the operator's customer service department.", "type": "string", "format": "email" }, "feed_contact_email": { "description": "A single contact email address for consumers of this feed to report technical issues (added in v1.1).", "type": "string", "format": "email" }, "timezone": { "description": "The time zone where the system is located.", "type": "string" }, "license_url": { "description": "A fully qualified URL of a page that defines the license terms for the GBFS data for this system.", "type": "string", "format": "uri" }, "rental_apps": { "description": "Contains rental app information in the android and ios JSON objects (added in v1.1).", "type": "object", "properties": { "android": { "description": "Contains rental app download and app discovery information for the Android platform. (added in v1.1)", "type": "object", "properties": { "store_uri": { "description": "URI where the rental Android app can be downloaded from (added in v1.1).", "type": "string", "format": "uri" }, "discovery_uri": { "description": "URI that can be used to discover if the rental Android app is installed on the device (added in v1.1).", "type": "string", "format": "uri" } }, "dependencies": { "android": [ "store_uri", "discovery_uri" ] } }, "ios": { "description": "Contains rental information for the iOS platform (added in v1.1).", "type": "object", "properties": { "store_uri": { "description": "URI where the rental iOS app can be downloaded from (added in v1.1).", "type": "string", "format": "uri" }, "discovery_uri": { "description": "URI that can be used to discover if the rental iOS app is installed on the device (added in v1.1).", "type": "string", "format": "uri" } }, "dependencies": { "ios": [ "store_uri", "discovery_uri" ] } } } } }, "required": [ "system_id", "language", "name", "timezone" ] } }, "required": [ "data", "id", "last_updated", "ttl", "type", "version" ] }