Off Street Parking

Description

A site, off street, intended to park vehicles, managed independently and with suitable and clearly marked access points (entrances and exits). If necessary, and for management purposes or to deal with multi-location parking sites, it can be divided into different zones modelled by the entity type ParkingGroup . In DATEX 2 version 2.3 terminology it corresponds to a UrbanParkingSite of type offStreetParking.

A data dictionary for DATEX II terms can be found at http://datexbrowser.tamtamresearch.com/.

Data Model

  • id : Unique identifier.

  • type : Entity type. It must be equal to OffStreetParking.

  • dateCreated : Entity's creation timestamp

  • dateModified : Last update timestamp of this entity

  • location : Geolocation of the parking site represented by a GeoJSON (Multi)Polygon or Point.

  • address : Registered parking site civic address.

  • name : Name given to the parking site.

  • category : Parking site's category(ies). The purpose of this field is to allow to tag, generally speaking, off street parking entities. Particularities and detailed descriptions should be found under the corresponding specific attributes.

    • Attribute type: List of Text
    • Allowed values:
      • (public, private, publicPrivate,
        urbanDeterrentParking, parkingGarage, parkingLot, shortTerm, mediumTerm, longTerm, free, feeCharged, staffed, guarded, barrierAccess, gateAccess, freeAccess, forElectricalCharging, onlyResidents, onlyWithPermit, forEmployees, forVisitors, forCustomers, forStudents, forMembers, forDisabled, forResidents, underground, ground)
      • The semantics of the forxxx values is that the parking offers specific spots subject to that particular condition.
      • The semantics of the onlyxxxvalues is that the parking only allows to park on that particular condition.
      • Other application-specific
    • Mandatory
  • allowedVehicleType : Vehicle type(s) allowed. The first element of this array MUST be the principal vehicle type allowed. Free spot numbers of other allowed vehicle types might be reported under the attribute extraSpotNumber and through specific entities of type ParkingGroup.

    • Attribute type: List of Text
    • Allowed Values: The following values defined by VehicleTypeEnum, DATEX 2 version 2.3:
      • (agriculturalVehicle, bicycle, bus, car, caravan, carWithCaravan, carWithTrailer, constructionOrMaintenanceVehicle, lorry, moped, motorcycle, motorcycleWithSideCar, motorscooter, tanker, trailer, van, anyVehicle)
    • Mandatory
  • chargeType : Type(s) of charge performed by the parking site.

    • Attribute type: List of Text
    • Allowed values: Some of those defined by the DATEX II version 2.3 ChargeTypeEnum enumeration:
      • (flat, minimum, maximum, additionalIntervalPrice seasonTicket temporaryPrice firstIntervalPrice, annualPayment, monthlyPayment, free, other)
      • Any other application-specific
    • Mandatory
  • requiredPermit : This attribute captures what permit(s) might be needed to park at this site. Semantics is that at least one of these permits is needed to park. When a permit is composed by more than one item (and) they can be combined with a ",". For instance "residentPermit,disabledPermit" stays that both, at the same time, a resident and a disabled permit are needed to park. If empty or null, no permit is needed.

    • Attribute type: List of Text
    • Allowed values: The following, defined by the PermitTypeEnum enumeration of DATEX II version 2.3.
      • oneOf (employeePermit, studentPermit, fairPermit, governmentPermit, residentPermit, specificIdentifiedVehiclePermit, visitorPermit, noPermitNeeded)
      • Any other application-specific
    • Mandatory
  • occupancyDetectionType : Occupancy detection method(s).

    • Attribute type: List of Text
    • Allowed values: The following from DATEX II version 2.3 OccupancyDetectionTypeEnum:
      • (none, balancing, singleSpaceDetection, modelBased, manual)
      • Or any other application-specific
    • Mandatory
  • acceptedPaymentMethod : Accepted payment method(s).

    • Normative references: https://schema.org/acceptedPaymentMethod
    • Optional
  • priceRatePerMinute : Price rate per minute.

    • Attribute type: Number
    • Optional
  • priceCurrency : Price currency of price rate per minute.

  • description : Description about the parking site.

  • image : A URL containing a photo of this parking site.

  • layout : Parking layout. Gives more details to the category attribute.

    • Attribute type: Text
    • Allowed values: As per the ParkingLayoutEnum of DATEX II version 2.3:
      • one Of (automatedParkingGarage, surface, multiStorey, singleLevel, multiLevel, openSpace, covered, nested, field, rooftop, sheds, carports, garageBoxes, other). See also OpenStreetMap.
      • Or any other value useful for the application and not covered above.
    • Optional
  • usageScenario : Usage scenario(s). Gives more details to the category attribute.

    • Attribute type: List of Text
    • Allowed values: Those defined by the enumeration ParkingUsageScenarioEnum of DATEX II version 2.3:
      • (truckParking, parkAndRide, parkAndCycle, parkAndWalk, kissAndRide, liftshare, carSharing, restArea, serviceArea, dropOffWithValet, dropOffMechanical, eventParking, automaticParkingGuidance, staffGuidesToSpace, vehicleLift, loadingBay, dropOff, overnightParking, other)
      • Or any other value useful for the application and not covered above.
    • Optional
  • parkingMode : Parking mode(s).

    • Attribute type: List of Text
    • Allowed values: Those defined by the DATEX II version 2.3 ParkingModeEnum enumeration:
      • (perpendicularParking, parallelParking, echelonParking)
    • Optional
  • facilities : Facilities provided by this parking site.

    • Attributes: List of Text
    • Allowed values: The following defined by the EquipmentTypeEnum enumeration of DATEX II version 2.3:
      • (toilet, shower, informationPoint, internetWireless, payDesk, paymentMachine, cashMachine, vendingMachine, faxMachineOrService, copyMachineOrService, safeDeposit, luggageLocker, publicPhone, elevator, dumpingStation freshWater, wasteDisposal, refuseBin, iceFreeScaffold, playground, electricChargingStation, bikeParking, tollTerminal, defibrillator, firstAidEquipment fireHose fireExtinguisher fireHydrant)
      • Any other application-specific
    • Optional
  • security : Security aspects provided by this parking site.

    • Attributes: List of Text
    • Allowed values: The following, some of them, defined by ParkingSecurityEnum of DATEX II version 2.3:
      • (patrolled, securityStaff, externalSecurity, cctv, dog, guard24hours, lighting, floodLight, fences areaSeperatedFromSurroundings)
      • Any other application-specific
    • Optional
  • highestFloor : For parking sites with multiple floor levels, highest floor.

    • Attribute type: Number
    • Allowed values: An integer number. 0 is ground level. Upper floors are positive numbers. Lower floors are negative ones.
    • Optional
  • lowestFloor : For parking sites with multiple floor levels, lowest floor.

    • Attribute type: Number
    • Allowed values: An integer number.
    • Optional
  • maximumParkingDuration : Maximum allowed stay at site, on a general basis, encoded as a ISO8601 duration. A null or empty value indicates an indefinite duration.

    • Attribute type: Text
    • Optional
  • totalSpotNumber : The total number of spots offered by this parking site. This number can be difficult to be obtained for those parking locations on which spots are not clearly marked by lines.

    • Attribute type: Number
    • Allowed values: Any positive integer number or 0.
    • Normative references: DATEX 2 version 2.3 attribute parkingNumberOfSpaces of the ParkingRecord class.
    • Optional
  • availableSpotNumber : The number of spots available (including all vehicle types or reserved spaces, such as those for disabled people, long term parkers and so on). This might be harder to estimate at those parking locations on which spots borders are not clearly marked by lines.

    • Attribute type: Number
    • Allowed values: A positive integer number, including 0. It must lower or equal than totalSpotNumber.
    • Metadata:
      • timestamp : Timestamp of the last attribute update
      • Type: DateTime
    • Optional
  • extraSpotNumber : The number of extra spots available, i.e. free. This value must aggregate free spots from all groups mentioned below: A/ Those reserved for special purposes and usually require a permit. Permit details will be found at parking group level (entity of type ParkingGroup). B/ Those reserved for other vehicle types different than the principal allowed vehicle type. C/ Any other group of parking spots not subject to the general condition rules conveyed by this entity.

    • Attribute type: Number
    • Allowed values: A positive integer number, including 0.
    • Metadata:
      • timestamp : Timestamp of the last attribute update
      • Type: DateTime
    • Optional
  • openingHours : Opening hours of the parking site.

  • firstAvailableFloor : Number of the floor closest to the ground which currently has available parking spots.

    • Attribute type: Number
    • Metadata:
      • timestamp : Timestamp of the last attribute update
      • Type: DateTime
    • Allowed values: Stories are numbered between -n and n, being 0 ground floor.
    • Optional
  • specialLocation : If the parking site is at a special location (airport, depatment store, etc.) it conveys what is such special location.

    • Attribute type: Text
    • Allowed values: Those defined by ParkingSpecialLocationEnum of DATEX II version 2.3:
      • (airportTerminal, exhibitonCentre, shoppingCentre, specificFacility, trainStation, campground, themePark, ferryTerminal, vehicleOnRailTerminal, coachStation, cableCarStation, publicTransportStation, market, religiousCentre, conventionCentre, cinema, skilift, hotel, other)
    • Optional
  • status : Status of the parking site.

    • Attribute type: List of Text
    • Metadata:
      • timestamp : Timestamp of the last attribute update
      • Type: DateTime
    • Allowed values: The following defined by the following enumerations defined by DATEX II version 2.3 :
      • ParkingSiteStatusEnum
      • OpeningStatusEnum
      • (open, closed, closedAbnormal,openingTimesInForce, full, fullAtEntrance, spacesAvailable, almostFull)
      • Or any other application-specific
    • Optional
  • reservationType : Conditions for reservation.

    • Attribute type: Text
    • Allowed values: The following specified by ReservationTypeEnum of DATEX II version 2.3:
      • one Of (optional, mandatory, notAvailable, partly).
    • Optional
  • owner : Parking site's owner.

    • Attribute type: Text
    • Optional
  • provider : Parking site service provider.

  • measuresPeriod : The measures period related to availableSpotNumber and priceRatePerMinute.

    • Attribute type: Number
    • Optional
  • measuresPeriodUnit : The measures period unit related to availableSpotNumber and priceRatePerMinute.

  • contactPoint : Parking site contact point.

  • averageSpotWidth : The average width of parking spots.

    • Attribute type: Number
    • Default unit: Meters
    • Optional
  • averageSpotLength : The average length of parking spots.

    • Attribute type: Number
    • Default unit: Meters
    • Optional
  • maximumAllowedHeight : Maximum allowed height for vehicles. If there are multiple zones, it will be the minimum height of all the zones.

    • Attribute type: Number
    • Default unit: Meters
    • Optional
  • maximumAllowedWidth : Maximum allowed width for vehicles. If there are multiple zones, it will be the minimum width of all the zones.

    • Attribute type: Number
    • Default unit: Meters
    • Optional
  • refParkingAccess : Parking site's access point(s).

  • refParkingGroup : Parking site's identified group(s). A group can correspond to a zone, a complete storey, a group of spots, etc.

    • Attribute type: List of references to ParkingGroup
    • Optional
  • refParkingSpot : Individual parking spots belonging to this offstreet parking site.

    • Attribute type: List of references to ParkingSpot
    • Optional
  • areaServed : Area served by this parking site. Precise semantics can depend on the application or target city. For instance, it can be a neighbourhood, burough or district.

    • Attribute type: Text
    • Optional
  • aggregateRating : Aggregated rating for this parking site.

Note: JSON Schemas only capture the NGSI simplified representation, this means that to test the JSON schema examples with a FIWARE NGSI version 2 API implementation, you need to use the keyValues mode (options=keyValues).

Examples of use

A public off street parking underground controlled by a barrier.

{
  "id": "porto-ParkingLot-23889",
  "type": "OffStreetParking",
  "name": "Parque de estacionamento Trindade",
  "category": ["underground", "public", "feeCharged", "mediumTerm", "barrierAccess"],
  "chargeType": ["temporaryPrice"],
  "requiredPermit": [],
  "layout": ["multiLevel"],
  "maximumParkingDuration": "PT8H",
  "location": {
    "coordinates": [-8.60961198807, 41.150691773],
    "type": "Point"
  },
  "allowedVehicleType": ["car"],
  "totalSpotNumber": 414,
  "availableSpotNumber": 132,
  "address": {
    "streetAddress": "Rua de Fernandes Tomás",
    "addressLocality": "Porto",
    "addressCountry": "Portugal"
  },
  "description": "Municipal car park located near the Trindade metro station and the Town Hall",
  "dateModified": "2016-06-02T09:25:55.00Z"
}

Urban Deterrent (xxxx and ride) parking. Free. 2 hours at a maximum.

{
   "id": "pdu-valladolid-1",
   "type": "OffStreetParking",
   "name": "Parking Disuasorio 1",
   "category": ["public", "urbanDeterrentParking", "shortTerm", "ground", "parkingLot"],
   "usageScenario": ["parkAndRide", "parkAndCycle"],
   "layout": ["openSpace"],
   "chargeType": ["freeParking"],
   "allowedVehicleType": ["car"],
   "maximumParkingDuration": "PT2H",
   "requiredPermit": null,
   "areaServed": "Centro",
   "address": {
      "streetAddress": "Calle La India",
      "addressLocality": "Valladolid",
      "addressCountry": "ES"
  }
}

Long stay parking. Maximum 4 days. Charging depends on time spent.

{
  "id": "long-stay-valladolid-2",
  "type": "OffStreetParking",
  "name": "El Corte Ingles", 
  "usageScenario": ["overnight"],
  "category": ["public", "longTerm", "underground", "parkingGarage"],
  "layout": ["singleLevel"],
  "chargeType": ["temporaryPrice"],
  "allowedVehicleType": ["car"],
  "maximumParkingDuration": "P4D",
  "requiredPermit": null,
  "address": {
      "streetAddress": "Paseo de Zorrilla, 96",
      "addressLocality": "Valladolid",
      "addressCountry": "ES"
  }
}

Off street parking with an specific area devoted to residents (100 spots).

{
   "id": "parking-example-234",
   "type": "OffStreetParking",
   "name": "La Farola 1",
   "category": ["public", "shortTerm", "longTerm", "forResidents"],
   "chargeType": ["temporaryPrice", "annualTax"],
   "totalSpotNumber": 250,
   "availableSpotNumber": 100,
   "extraSpotNumber": 60,
   "refParkingGroup": ["example-234-g-regular", "example-234-g-residents"],
   "requiredPermit": ["noPermit", "residentPermit"] /* Generally speaking no permit */
   /* Other required fields (Check model) */
}

Two different groups are needed:

1/ Subrogated parking group to denote regular parking spots.

{ 
  "id": "example-234-g-regular",
  "type": "ParkingGroup",
  "name": "La Farola 1 - Público General", 
  "chargeType": ["temporaryPrice"],       
  "category": ["offstreet", "shortTerm"],  
  "totalSpotNumber": 150,
  "availableSpotNumber": 40,
  "requiredPermit": null,
  "refParkingSite": "parking-example-234",
  "allowedVehicleType": "car",
  "maximumParkingDuration": "PT2H"
  /* Other required fields (Check model) */
}

2/ Subrogated parking group to denote those parking spots devoted for residents.

{ 
  "id": "example-234-g-residents",
  "type": "ParkingGroup",
  "name": "La Farola 1 - Residentes", 
  "chargeType": ["annualTax"],   /* Annual payment for residents */
  "category": ["offstreet", "longTerm", "onlyResidents"], /* Group Category. Overwrites parent's */
  "totalSpotNumber": 100,
  "availableSpotNumber": 60,
  "requiredPermit": "residentPermit",
  "refParkingSite": "parking-example-234",
  "allowedVehicleType": "car",
  "maximumParkingDuration": null
  /* Other required fields (Check model) */
}

Private parking only for employees. A devoted visitor zone.

{
  "id": "district-telefonica-parking-1",
  "type": "OffStreetParking",
  "name": "Distrito T - Parking Oeste",
  "category": ["private", "underground", "mediumTerm", "forEmployees", "onlyWithPermit", "forVisitors"],
  "requiredPermit": ["employeePermit", "visitorPermit"],
  "chargeType": ["free"],
  "allowedVehicleType": ["car"],
  "maximumParkingDuration": "PT12H",
  "totalSpotNumber": 250,
  "availableSpotNumber": 100,
  "extraSpotNumber": 10,
  "refParkingGroup": ["dt-p1-employee-group", "dt-p1-visitor-group"]
   /* Other required fields (Check model) */
}

Two different groups are needed:

1/ Subrogated parking group modelling regular employee's spots.

{
  "id": "dt-p1-employee-group",
  "type": "ParkingGroup",
  "category": ["offstreet", "onlyWithPermit", "shortTerm"],
  "totalSpotNumber": 230,
  "availableSpotNumber": 50,
  "requiredPermit": "employeePermit",
  "chargeType": ["free"],
  "refParkingSite": "district-telefonica-parking-1",
  "allowedVehicleType": "car"
  /* Other required fields (Check model) */
}

2/ Subrogated parking group modelling visitor's spots.

{
  "id": "dt-p1-visitor-group",
  "type": "ParkingGroup",
  "category": ["offstreet", "onlyWithPermit", "shortTerm"],
  "totalSpotNumber": 20,
  "availableSpotNumber": 10,
  "requiredPermit": "visitorPermit",
  "chargeType": ["free"],
  "refParkingSite": "district-telefonica-parking-1",
  "allowedVehicleType": "car"
  /* Other required fields (Check model) */
}

Test it with a real service

Open issues

  • How to model tariffs (use DATEX II version 2.3 as possible input)