Smart Data models -TrafficObservationIndividualData Schema


ndividual data messages are sent each time the traffic data function detects a vehicle in one of its zones.

Type: object

All from GSMA-Commons https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons

Type: object

Property. Unique identifier of the entity

Type: string

Property. Identifier format of any NGSI entity

Must match regular expression: ^[\w\-\.\{\}\$\+\*\[\]`|~^@!,:\\]+$

Must be at least 1 characters long

Must be at most 256 characters long

Type: string

Property. Identifier format of any NGSI entity

Type: string

Property. Entity creation timestamp. This will usually be allocated by the storage platform.

Type: string

Property. Timestamp of the last modification of the entity. This will usually be allocated by the storage platform.

Type: string

Property. A sequence of characters giving the original source of the entity data as a URL. Recommended to be the fully qualified domain name of the source provider, or the URL to the source object.

Type: string

Property. The name of this item.

Type: string

Property. An alternative name for this item

Type: string

Property. A description of this item

Type: string

Property. A sequence of characters identifying the provider of the harmonised data entity.

Type: array

Property. A List containing a JSON encoded sequence of characters referencing the unique Ids of the owner(s)

Each item of this array must be:

Type: object

Property. Unique identifier of the entity

Same definition as id


Property. list of uri pointing to additional resources about the item

Type: array of string

Must contain a minimum of 1 items

Each item of this array must be:

Type: string
Type: string
Type: object

All from Location-Commons https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons


Geoproperty. Geojson reference to the item. It can be Point, LineString, Polygon, MultiPoint, MultiLineString or MultiPolygon

Type: object

Geoproperty. Geojson reference to the item. Point

Type: enum (of string)

Must be one of:

  • "Point"

Type: array of number

Must contain a minimum of 2 items

Each item of this array must be:

Type: array of number

Must contain a minimum of 4 items

Each item of this array must be:

Type: object

Geoproperty. Geojson reference to the item. LineString

Type: enum (of string)

Must be one of:

  • "LineString"

Type: array of array

Must contain a minimum of 2 items

Each item of this array must be:

Type: array of number

Must contain a minimum of 2 items

Each item of this array must be:

Type: array of number

Must contain a minimum of 4 items

Each item of this array must be:

Type: object

Geoproperty. Geojson reference to the item. Polygon

Type: enum (of string)

Must be one of:

  • "Polygon"

Type: array of array

Each item of this array must be:

Type: array of array

Must contain a minimum of 4 items

Each item of this array must be:

Type: array of number

Must contain a minimum of 2 items

Each item of this array must be:

Type: array of number

Must contain a minimum of 4 items

Each item of this array must be:

Type: object

Geoproperty. Geojson reference to the item. MultiPoint

Type: enum (of string)

Must be one of:

  • "MultiPoint"

Type: array of array

Each item of this array must be:

Type: array of number

Must contain a minimum of 2 items

Each item of this array must be:

Type: array of number

Must contain a minimum of 4 items

Each item of this array must be:

Type: object

Geoproperty. Geojson reference to the item. MultiLineString

Type: enum (of string)

Must be one of:

  • "MultiLineString"

Type: array of array

Each item of this array must be:

Type: array of array

Must contain a minimum of 2 items

Each item of this array must be:

Type: array of number

Must contain a minimum of 2 items

Each item of this array must be:

Type: array of number

Must contain a minimum of 4 items

Each item of this array must be:

Type: object

Geoproperty. Geojson reference to the item. MultiLineString

Type: enum (of string)

Must be one of:

  • "MultiPolygon"

Type: array of array

Each item of this array must be:

Type: array of array

Each item of this array must be:

Type: array of array

Must contain a minimum of 4 items

Each item of this array must be:

Type: array of number

Must contain a minimum of 2 items

Each item of this array must be:

Type: array of number

Must contain a minimum of 4 items

Each item of this array must be:

Type: object

Property. The mailing address. Model:'https://schema.org/address'

Type: string

Property. The street address. Model:'https://schema.org/streetAddress'

Type: string

Property. The locality in which the street address is, and which is in the region. Model:'https://schema.org/addressLocality'

Type: string

Property. The region in which the locality is, and which is in the country. Model:'https://schema.org/addressRegion'

Type: string

Property. The country. For example, Spain. Model:'https://schema.org/addressCountry'

Type: string

Property. The postal code. For example, 24004. Model:'https://schema.org/https://schema.org/postalCode'

Type: string

Property. The post office box number for PO box addresses. For example, 03578. Model:'https://schema.org/postOfficeBoxNumber'

Type: string

Property. The geographic area where a service or offered item is provided. Model:'https://schema.org/Text'

Type: object

Type: string

Property. Model:'https://schema.org/Text'. When was the phenomenon observed?

Type: number

Property. Model:'https://schema.org/Number'. A number for the recognised vehicle class

Value must be greater or equal to 0

Type: number

Property. Model:'https://schema.org/Number'. The reliability of detection at 10 points

Value must be greater or equal to 0 and lesser or equal to 10

Type: number

Property. Model:'https://schema.org/Number'. CurrentNo of the data point

Value must be greater or equal to 0

Type: number

Property. Model:'https://schema.org/Number'. The gap time since the last detected vehicle (in 1/10 of a second)

Value must be greater or equal to 0

Type: number

Property. Model:'https://schema.org/Number'. The detected vehicle length (in dm)

Value must be greater or equal to 0

Type: enum (of string)

Property. Model:'https://schema.org/Text. message Type is Data

Must be one of:

  • "Data"

Type: number

Property. Model:'https://schema.org/Number'. A unique number that identifies this Individual Data. a sequenceNr is unique to a product during the product's operational life: when the product is reset, the numbering starts again at 1 and is incremented for each Individual Data message sent.

Value must be greater or equal to 0

Type: number

Property. Model:'https://schema.org/Number'. the speed of the vehicle. Unit = km/h

Value must be greater or equal to 0

The following properties are required: