Parking Spot

Description

A parking spot is an area well delimited where one vehicle can be parked. The aim of this entity type is to monitor the status of parking spots individually. Thus, an entity of type ParkingSpot cannot exist without a containing entity of type (OnStreetParking, OffStreetParking). A parking spot might belong to one group.

Data Model

  • id : Entity's unique identifier.

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

  • dateCreated : Entity creation date.

  • dateModified : Last update timestamp of this entity.

  • name : Name of this parking spot. It can denote the number or label used to identify it within a parking site.

  • description : Description about the parking spot.

  • location : Geolocation of the parking spot, represented by a GeoJSON Point.

  • address : Registered parking spot civic address.

  • status : Status of the parking spot from the point of view of occupancy.

    • Attribute type: Text
    • Allowed Values: one Of (occupied, free, closed, unknown)
    • Metadata:
      • timestamp : Timestamp which reflects the date when the attribute value was obtained.
      • TimeInstant : Timestamp saved by FIWARE's IoT Agents. Note: This attribute has not been harmonized to keep backwards compatibility with current FIWARE reference implementations.
        • Type: [DateTime]((https://schema.org/DateTime). here can be production environmments where the attribute type is equal to the ISO8601 string. If so, it must be considered as a synonym of DateTime.
        • Optional
    • Mandatory
  • width : Width of the parking spot.

    • Attribute type: Number
    • Optional
  • length : Length of the parking spot.

  • refParkingGroup : Group to which the parking spot belongs to. For model simplification purposes only one group is allowed per parking spot.

    • Attribute type: Reference to an entity of type ParkingGroup.
    • Optional
  • refParkingSite : Parking site to which the the parking spot belongs to.

    • Attribute type: Reference to an entity of type OnStreetParking or type OffStreetParking, depending on the value of the category attribute.
    • Mandatory
  • category : Category(ies) of the parking spot.

    • Attribute type: Text
    • Allowed values:
      • onstreet : The parking spot belongs to an onstreet parking site.
      • offstreet : The parking spot belongs to an onstreet parking site.
      • Other values as per application needs
    • Mandatory
  • TimeInstant : Timestamp saved by FIWARE's IoT Agent. Note: This attribute has not been harmonized to keep backwards compatibility with current FIWARE reference implementations.

    • Attribute type: DateTime. There can be production environmments where the attribute type is equal to the ISO8601 string. If so, it must be considered as a synonym of DateTime.
    • Optional
  • refDevice : The device representing the physical sensor used to monitor this parking spot.

    • Attribute type: Reference to entity of type Device
    • Optional

Examples of use

{
  "id": "santander:daoiz_velarde_1_5:3",
  "type": "ParkingSpot",
  "name": "A-13",
  "location": {
    "type": "Point",
    "coordinates": [-3.80356167695194, 43.46296641666926]
  },
  "status": "free",
  "category: ["onstreet"],
  "refParkingSite": "santander:daoiz_velarde_1_5"
}

Test it with a real service

Open issues