From ef2f059ed93b5dbb25c87ed2dba4ce2f2b863d2e Mon Sep 17 00:00:00 2001 From: Mats Byrkjeland Date: Fri, 18 Jun 2021 15:20:29 +0200 Subject: [PATCH] Update schema for Mobility v2 --- schemas/mobility.json | 396 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 396 insertions(+) diff --git a/schemas/mobility.json b/schemas/mobility.json index 86457cb6..0a4c7a20 100644 --- a/schemas/mobility.json +++ b/schemas/mobility.json @@ -17,6 +17,92 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "Feature", + "description": "", + "fields": [ + { + "name": "type", + "description": "", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "geometry", + "description": "", + "args": [], + "type": { + "kind": "OBJECT", + "name": "MultiPolygon", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "properties", + "description": "", + "args": [], + "type": { + "kind": "OBJECT", + "name": "GeofencingZoneProperties", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FeatureCollection", + "description": "", + "fields": [ + { + "name": "type", + "description": "", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "features", + "description": "", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Feature", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "SCALAR", "name": "Float", @@ -68,6 +154,175 @@ ], "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "GeofencingZoneProperties", + "description": "", + "fields": [ + { + "name": "name", + "description": "", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "start", + "description": "", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "end", + "description": "", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "rules", + "description": "", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "GeofencingZoneRule", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "GeofencingZoneRule", + "description": "", + "fields": [ + { + "name": "vehicleTypeIds", + "description": "", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "rideAllowed", + "description": "", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "rideThroughAllowed", + "description": "", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maximumSpeedKph", + "description": "", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "GeofencingZones", + "description": "", + "fields": [ + { + "name": "systemId", + "description": "", + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "geojson", + "description": "", + "args": [], + "type": { + "kind": "OBJECT", + "name": "FeatureCollection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "SCALAR", "name": "ID", @@ -88,6 +343,57 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "MultiPolygon", + "description": "", + "fields": [ + { + "name": "type", + "description": "", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "coordinates", + "description": "", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "Operator", @@ -741,6 +1047,37 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "geofencingZones", + "description": "", + "args": [ + { + "name": "systemIds", + "description": "", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "GeofencingZones", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -986,6 +1323,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "vehicleTypesAvailable", + "description": "", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "VehicleTypeAvailability", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "numDocksAvailable", "description": "", @@ -1637,6 +1990,49 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "OBJECT", + "name": "VehicleTypeAvailability", + "description": "", + "fields": [ + { + "name": "vehicleType", + "description": "", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "VehicleType", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": "", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", "name": "__Directive",