Streetlight Model

It represents a model of streetlight composed by a specific supporting structure model, a lantern model and a lamp model. A streetlight instance will be based on a certain streetlight model.

Data Model

The data model is defined as shown below:

  • id : Entity's unique identifier.

  • type : It must be equal to StreetlightModel.

  • name : Name given to the streetlight model.

  • alternateName : Alternate name given to the streetlight model.

  • description : Description of the streetlight model.

  • maxPowerConsumption : Maximum power consumption supported by the lantern.

    • Attribute type: List of Number.
    • Default unit: Watts (W)
    • Optional
  • minPowerConsumption : Minimum power consumption supported by the lantern.

    • Attribute type: List of Number.
    • Default unit: Watts (W)
    • Optional
  • columnBrandName : Name of the column's brand.

  • columnModelName : Name of the column's model.

  • columnManufacturerName : Name of the column's manufacturer.

  • columnMadeOf : Material column is made of.

    • Attribute type: Text
    • Allowed values: one Of (steel, aluminium , wood, other)
    • Optional
  • columnColor : Column's painting color.

  • lanternModelName : Name of the lantern's model.

  • lanternBrandName : Name of the lantern's brand.

  • lanternManufacturerName : Name of the lantern's manufacturer.

  • lanternWeight : Lantern's weight.

  • lampModelName : Name of the lamp's model.

  • lampBrandName : Name of the lamp's brand.

  • lampManufacturerName : Name of the lamp's manufacturer.

  • lampWeight : Lamp's weight.

  • workingLife : The estimated number of hours working (the lamp) without failure.

    • Attribute type: Number
    • Default unit: hours
    • Optional
  • lampTechnology : Technology used by the lamp.

    • Attribute type: Text
    • Allowed values: one Of (LED, LPS, HPS)
      • Or any other value not covered by the above list and meaningful to the application.
    • Optional
  • colorTemperature : Correlated color temperature of the lamp.

    • Attribute type: Number
    • Default unit: Kelvin degrees (K)
    • Optional
  • colorRenderingIndex : Color rendering index of the lamp.

    • Attribute type: Number
    • Optional
  • luminousFlux : Maximum light output which can be provided by the lamp.

    • Attribute type: Number
    • Default unit: Lumens (lm)
    • Optional
  • powerConsumption : (Nominal) power consumption made by the lamp.

    • Attribute type: List of Number.
    • Default unit: Watts (W)
    • Optional
  • compliantWith : A list of standards to which this streetlight model is compliant with.

    • AttributeType: List of Text.
    • Optional
  • image : A URL containing a photo of the streetlight model.

  • category : Type of asset which implements the street light.

    • AttributeType: List of Text.
    • Allowed Values: (postTop, bollard, lamppost, lightTower, flashingBeacon, sideEntry, signLight, ornamentalLantern) + Or any other value not defined above and meaningful for the application
    • Optional

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

{
  "id": "streetlightmodel:TubularNumana:ASR42CG:HPS:100",
  "type": "StreetlightModel",
  "name": "Tubular Numana 6M - ASR42CG - Son-T 100",
  "columnModelName": "01 TUBULAR P/T 6M NUMANA",
  "columnColor": "green",
  "lanternModelName": "ASR42CG",
  "lanternManufacturerName": "Indal WRTL",
  "lampModelName": "SON-T",
  "lampBrandName": "Philips",
  "lampTechnology": "HPS",
  "powerConsumption": 100,
  "colorTemperature": 3000,
  "colorRenderingIndex": 25,
  "luminousFlux": 2300,
  "category": ["postTop"]
}

Test it with a real service

Open issues