VehicleParking Data Type

Vehicle parking locations, which may allow bicycle and/or car parking. All fields are immutable except for the availability, capacity which may be updated by updaters. If any other properties change a new VehicleParking instance should be created.

Implemented Interfaces
Serializable
Properties
name data type constraints description
id FeedScopedId  
name I18NString  
x number required
y number required
detailsUrl string  
imageUrl string  
tags array of string  
note I18NString  
state VehicleParkingState  
capacity VehicleParkingSpaces  
availability VehicleParkingSpaces  
entrances array of VehicleParkingEntrance  

Example

{
  "id" : {
    "feedId" : "...",
    "id" : "..."
  },
  "name" : { },
  "x" : 12345.0,
  "y" : 12345.0,
  "detailsUrl" : "...",
  "imageUrl" : "...",
  "tags" : [ "...", "..." ],
  "note" : { },
  "state" : "OPERATIONAL",
  "capacity" : {
    "bicycleSpaces" : 12345,
    "carSpaces" : 12345,
    "wheelchairAccessibleCarSpaces" : 12345
  },
  "availability" : {
    "bicycleSpaces" : 12345,
    "carSpaces" : 12345,
    "wheelchairAccessibleCarSpaces" : 12345
  },
  "entrances" : [ {
    "vehicleParking" : {
      "id" : { },
      "name" : { },
      "x" : 12345.0,
      "y" : 12345.0,
      "detailsUrl" : "...",
      "imageUrl" : "...",
      "tags" : [ "...", "..." ],
      "note" : { },
      "state" : "TEMPORARILY_CLOSED",
      "capacity" : { },
      "availability" : { },
      "entrances" : [ { }, { } ]
    },
    "entranceId" : {
      "feedId" : "...",
      "id" : "..."
    },
    "x" : 12345.0,
    "y" : 12345.0,
    "name" : { },
    "vertex" : {
      "flexStopLocations" : [ { }, { } ],
      "intersectionName" : { },
      "connectedToWalkingEdge" : true,
      "connectedToDriveableEdge" : true,
      "eligibleForCarPickupDropoff" : true,
      "outgoing" : [ { }, { } ],
      "incoming" : [ { }, { } ],
      "degreeOut" : 12345,
      "degreeIn" : 12345,
      "x" : 12345.0,
      "y" : 12345.0,
      "lon" : 12345.0,
      "lat" : 12345.0,
      "name" : { },
      "defaultName" : "...",
      "stationElement" : { },
      "label" : "...",
      "coordinate" : { },
      "outgoingStreetEdges" : [ { }, { } ]
    },
    "carAccessible" : true,
    "walkAccessible" : true
  }, {
    "vehicleParking" : {
      "id" : { },
      "name" : { },
      "x" : 12345.0,
      "y" : 12345.0,
      "detailsUrl" : "...",
      "imageUrl" : "...",
      "tags" : [ "...", "..." ],
      "note" : { },
      "state" : "TEMPORARILY_CLOSED",
      "capacity" : { },
      "availability" : { },
      "entrances" : [ { }, { } ]
    },
    "entranceId" : {
      "feedId" : "...",
      "id" : "..."
    },
    "x" : 12345.0,
    "y" : 12345.0,
    "name" : { },
    "vertex" : {
      "flexStopLocations" : [ { }, { } ],
      "intersectionName" : { },
      "connectedToWalkingEdge" : true,
      "connectedToDriveableEdge" : true,
      "eligibleForCarPickupDropoff" : true,
      "outgoing" : [ { }, { } ],
      "incoming" : [ { }, { } ],
      "degreeOut" : 12345,
      "degreeIn" : 12345,
      "x" : 12345.0,
      "y" : 12345.0,
      "lon" : 12345.0,
      "lat" : 12345.0,
      "name" : { },
      "defaultName" : "...",
      "stationElement" : { },
      "label" : "...",
      "coordinate" : { },
      "outgoingStreetEdges" : [ { }, { } ]
    },
    "carAccessible" : true,
    "walkAccessible" : true
  } ]
}