Waste Container Isle

Description

A geographical area which keeps one or more waste containers.

Data Model

The data model is defined as shown below:

  • id : Unique identifier.

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

  • location : Location of the isle represented by a GeoJSON Polygon.

  • address : Civic address where the isle is located.

  • name : Name given to the isle

  • description : Description about the isle.

  • insertHolesNumber : Number of insert holes the isle has.

    • Attribute type: Number.
    • Optional
  • features : A list of features provided by the isle.

    • Attribute type: List of Text.
    • Allowed values:
      • containerFix. Allows to fix containers to a permanent position.
      • fenced. The isle is properly fenced.
      • underground. The isle allows to hold buried containers.
      • Any other value meaningful to the application.
    • Optional
  • refWasteContainer : List of containers present in the isle.

    • Attribute type: List of references to WasteContainer entities.
    • Allowed values. Container's ID.
    • Optional
  • areaServed : Higher level area to which the isle belongs to. It can be used to group isles per responsible, district, neighbourhood, etc. + Attribute type: Text + Optional

  • dateModified : Last update timestamp of this entity

    • Attribute type: DateTime
    • Read-Only. Automatically generated.
  • dateCreated : Entity's creation timestamp.

    • Attribute type: DateTime
    • Read-Only. Automatically generated.
  • availableSince : Creation timestamp of the isle (This might different than the entity creation time)

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).

Example

{
  "id": "wastecontainerisle:Fleming:12",
  "type": "WasteContainerIsle",
  "location": {
     "type": "Polygon",
     "coordinates": [
      [
        [ -3.164485591715449, 40.62785133667262 ],
        [ -3.164445130316209, 40.627871567372239 ],
        [ -3.164394553567159, 40.627772099765778 ],
        [ -3.164424899616589, 40.62775018317452 ],
        [ -3.164485591715449, 40.62785133667262 ]
      ]
     ]
  },
  "address": {
     "streetAddress" : "Calle Dr. Fleming, 12",
     "addressLocality": "Guadalajara",
     "addressCountry": "ES"
  },
  "features": ["underground"],
  "name": "Dr. Fleming 12, Esquina Manuel Paez Xaramillo",
  "description": "Container isle located downtown",
  "containers": ["wastecontainer:Fleming:12a", "wastecontainer:Fleming:12b"]
}

Test it with a real service

T.B.D.