document generated automatically
Global description: Flood Sensor Data Model intended to represent the level of flooding w.r.t water flow/level at a certain water mass(river, lake,etc.)..
version: 0.0.1
[*] If there is not a type in an attribute is because it could have several types or different formats/patterns
address[object]: The mailing address . Model: https://schema.org/addressaddressCountry[string]: The country. For example, Spain . Model: https://schema.org/addressCountryaddressLocality[string]: The locality in which the street address is, and which is in the region . Model: https://schema.org/addressLocalityaddressRegion[string]: The region in which the locality is, and which is in the country . Model: https://schema.org/addressRegiondistrict[string]: A district is a type of administrative division that, in some countries, is managed by the local governmentpostOfficeBoxNumber[string]: The post office box number for PO box addresses. For example, 03578 . Model: https://schema.org/postOfficeBoxNumberpostalCode[string]: The postal code. For example, 24004 . Model: https://schema.org/https://schema.org/postalCodestreetAddress[string]: The street address . Model: https://schema.org/streetAddress
alertLevel[number]: Reference alert level threshold value set for the sensing station corresponding to this observation. An Alert signal is generated if the current level crosses the alert level threshold value . Model: https://schema.org/NumberalternateName[string]: An alternative name for this itemareaServed[string]: The geographic area where a service or offered item is provided . Model: https://schema.org/TextcurrentLevel[number]: Current flooding level indicated by the sensing station corresponding to this observation, computed using referenceLevel and measuredDistance(currentLevel = referenceLevel - measuredDistance) . Model: https://schema.org/NumberdangerLevel[number]: Reference danger level threshold value set for the sensing station corresponding to this observation. Flood level status is marked danger if the current level crosses the danger level threshold value . Model: https://schema.org/NumberdataProvider[string]: A sequence of characters identifying the provider of the harmonised data entitydateCreated[date-time]: Entity creation timestamp. This will usually be allocated by the storage platformdateModified[date-time]: Timestamp of the last modification of the entity. This will usually be allocated by the storage platformdescription[string]: A description of this itemfloodLevelStatus[string]: Flood level status indication given by the flood sensing device. The status is marked Danger if the current level is higher than the danger level threshold value . Model: https://schema.org/Textid[*]: Unique identifier of the entitylocation[*]: Geojson reference to the item. It can be Point, LineString, Polygon, MultiPoint, MultiLineString or MultiPolygonmeasuredDistance[number]: Describes the distance measured by the sensor, from the sensor tip to the upper surface of water . Model: https://schema.org/Numbername[string]: The name of this itemobservationDateTime[date-time]: Last reported time of observation . Model: https://schema.org/DateTimeowner[array]: A List containing a JSON encoded sequence of characters referencing the unique Ids of the owner(s)referenceLevel[number]: Describes the vertical distance from river bed to sensor tip . Model: https://schema.org/NumberseeAlso[*]: list of uri pointing to additional resources about the itemsource[string]: 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 objectstationID[string]: A unique anonymous identifier assigned to the station corresponding to this observation . Model: https://schema.org/Texttype[string]: It has to be FloodMonitoring. NGSI Entity type
Required properties
idtype
Sorted alphabetically (click for details)
full yaml details
FloodMonitoring:
description: 'Flood Sensor Data Model intended to represent the level of flooding w.r.t water flow/level at a certain water mass(river, lake,etc.)..'
properties:
address:
description: The mailing address
properties:
addressCountry:
description: 'The country. For example, Spain'
type: string
x-ngsi:
model: https://schema.org/addressCountry
type: Property
addressLocality:
description: 'The locality in which the street address is, and which is in the region'
type: string
x-ngsi:
model: https://schema.org/addressLocality
type: Property
addressRegion:
description: 'The region in which the locality is, and which is in the country'
type: string
x-ngsi:
model: https://schema.org/addressRegion
type: Property
district:
description: 'A district is a type of administrative division that, in some countries, is managed by the local government'
type: string
x-ngsi:
type: Property
postOfficeBoxNumber:
description: 'The post office box number for PO box addresses. For example, 03578'
type: string
x-ngsi:
model: https://schema.org/postOfficeBoxNumber
type: Property
postalCode:
description: 'The postal code. For example, 24004'
type: string
x-ngsi:
model: https://schema.org/https://schema.org/postalCode
type: Property
streetAddress:
description: The street address
type: string
x-ngsi:
model: https://schema.org/streetAddress
type: Property
streetNr:
description: Number identifying a specific property on a public street
type: string
x-ngsi:
type: Property
type: object
x-ngsi:
model: https://schema.org/address
type: Property
alertLevel:
description: Reference alert level threshold value set for the sensing station corresponding to this observation. An Alert signal is generated if the current level crosses the alert level threshold value
type: number
x-ngsi:
model: https://schema.org/Number
type: Property
alternateName:
description: An alternative name for this item
type: string
x-ngsi:
type: Property
areaServed:
description: The geographic area where a service or offered item is provided
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
currentLevel:
description: 'Current flooding level indicated by the sensing station corresponding to this observation, computed using referenceLevel and measuredDistance(currentLevel = referenceLevel - measuredDistance)'
type: number
x-ngsi:
model: https://schema.org/Number
type: Property
dangerLevel:
description: Reference danger level threshold value set for the sensing station corresponding to this observation. Flood level status is marked danger if the current level crosses the danger level threshold value
type: number
x-ngsi:
model: https://schema.org/Number
type: Property
dataProvider:
description: A sequence of characters identifying the provider of the harmonised data entity
type: string
x-ngsi:
type: Property
dateCreated:
description: Entity creation timestamp. This will usually be allocated by the storage platform
format: date-time
type: string
x-ngsi:
type: Property
dateModified:
description: Timestamp of the last modification of the entity. This will usually be allocated by the storage platform
format: date-time
type: string
x-ngsi:
type: Property
description:
description: A description of this item
type: string
x-ngsi:
type: Property
floodLevelStatus:
description: Flood level status indication given by the flood sensing device. The status is marked Danger if the current level is higher than the danger level threshold value
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
id:
anyOf:
- description: Identifier format of any NGSI entity
maxLength: 256
minLength: 1
pattern: ^[\w\-\.\{\}\$\+\*\[\]`|~^@!,:\\]+$
type: string
x-ngsi:
type: Property
- description: Identifier format of any NGSI entity
format: uri
type: string
x-ngsi:
type: Property
description: Unique identifier of the entity
x-ngsi:
type: Property
location:
description: 'Geojson reference to the item. It can be Point, LineString, Polygon, MultiPoint, MultiLineString or MultiPolygon'
oneOf:
- description: Geojson reference to the item. Point
properties:
bbox:
items:
type: number
minItems: 4
type: array
coordinates:
items:
type: number
minItems: 2
type: array
type:
enum:
- Point
type: string
required:
- type
- coordinates
title: GeoJSON Point
type: object
x-ngsi:
type: GeoProperty
- description: Geojson reference to the item. LineString
properties:
bbox:
items:
type: number
minItems: 4
type: array
coordinates:
items:
items:
type: number
minItems: 2
type: array
minItems: 2
type: array
type:
enum:
- LineString
type: string
required:
- type
- coordinates
title: GeoJSON LineString
type: object
x-ngsi:
type: GeoProperty
- description: Geojson reference to the item. Polygon
properties:
bbox:
items:
type: number
minItems: 4
type: array
coordinates:
items:
items:
items:
type: number
minItems: 2
type: array
minItems: 4
type: array
type: array
type:
enum:
- Polygon
type: string
required:
- type
- coordinates
title: GeoJSON Polygon
type: object
x-ngsi:
type: GeoProperty
- description: Geojson reference to the item. MultiPoint
properties:
bbox:
items:
type: number
minItems: 4
type: array
coordinates:
items:
items:
type: number
minItems: 2
type: array
type: array
type:
enum:
- MultiPoint
type: string
required:
- type
- coordinates
title: GeoJSON MultiPoint
type: object
x-ngsi:
type: GeoProperty
- description: Geojson reference to the item. MultiLineString
properties:
bbox:
items:
type: number
minItems: 4
type: array
coordinates:
items:
items:
items:
type: number
minItems: 2
type: array
minItems: 2
type: array
type: array
type:
enum:
- MultiLineString
type: string
required:
- type
- coordinates
title: GeoJSON MultiLineString
type: object
x-ngsi:
type: GeoProperty
- description: Geojson reference to the item. MultiLineString
properties:
bbox:
items:
type: number
minItems: 4
type: array
coordinates:
items:
items:
items:
items:
type: number
minItems: 2
type: array
minItems: 4
type: array
type: array
type: array
type:
enum:
- MultiPolygon
type: string
required:
- type
- coordinates
title: GeoJSON MultiPolygon
type: object
x-ngsi:
type: GeoProperty
x-ngsi:
type: GeoProperty
measuredDistance:
description: 'Describes the distance measured by the sensor, from the sensor tip to the upper surface of water'
type: number
x-ngsi:
model: https://schema.org/Number
type: Property
name:
description: The name of this item
type: string
x-ngsi:
type: Property
observationDateTime:
description: Last reported time of observation
format: date-time
type: string
x-ngsi:
model: https://schema.org/DateTime
type: Property
owner:
description: A List containing a JSON encoded sequence of characters referencing the unique Ids of the owner(s)
items:
anyOf:
- description: Identifier format of any NGSI entity
maxLength: 256
minLength: 1
pattern: ^[\w\-\.\{\}\$\+\*\[\]`|~^@!,:\\]+$
type: string
x-ngsi:
type: Property
- description: Identifier format of any NGSI entity
format: uri
type: string
x-ngsi:
type: Property
description: Unique identifier of the entity
x-ngsi:
type: Property
type: array
x-ngsi:
type: Property
referenceLevel:
description: Describes the vertical distance from river bed to sensor tip
type: number
x-ngsi:
model: https://schema.org/Number
type: Property
seeAlso:
description: list of uri pointing to additional resources about the item
oneOf:
- items:
format: uri
type: string
minItems: 1
type: array
- format: uri
type: string
x-ngsi:
type: Property
source:
description: '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
x-ngsi:
type: Property
stationID:
description: A unique anonymous identifier assigned to the station corresponding to this observation
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
type:
description: It has to be FloodMonitoring. NGSI Entity type
enum:
- FloodMonitoring
type: string
x-ngsi:
type: Property
required:
- id
- type
type: object
x-derived-from: ""
x-disclaimer: 'Redistribution and use in source and binary forms, with or without modification, are permitted provided that the license conditions are met. Copyleft (c) 2022 Contributors to Smart Data Models Program'
x-license-url: https://github.com/smart-data-models/dataModel.Environment/blob/master/FloodMonitoring/LICENSE.md
x-model-schema: https://smart-data-models.github.io/dataModel.Environment/FloodMonitoring/schema.json
x-model-tags: ""
x-version: 0.0.1 Here is an example of a FloodMonitoring in JSON-LD format as key-values. This is compatible with NGSI-v2 when using options=keyValues and returns the context data of an individual entity.
show/hide example
{
"id": "urn:ngsi-ld:FloodMonitoring:Pune-NoiseLevelObserved",
"type": "FloodMonitoring",
"alertLevel": 10.0,
"measuredDistance": 3.22,
"currentLevel": 0.98,
"dangerLevel": 25.0,
"observationDateTime": "2020-09-16T13:30:00+05:30",
"referenceLevel": 4.2,
"floodLevelStatus": "Normal",
"stationID": "FWR013"
} Here is an example of a FloodMonitoring in JSON-LD format as normalized. This is compatible with NGSI-v2 when not using options and returns the context data of an individual entity.
show/hide example
{
"id": "urn:ngsi-ld:FloodMonitoring:Pune-NoiseLevelObserved",
"type": "FloodMonitoring",
"alertLevel": {
"type": "Number",
"value": 11.0
},
"measuredDistance": {
"type": "Number",
"value": 4.22
},
"currentLevel": {
"type": "Number",
"value": 1.98
},
"dangerLevel": {
"type": "Number",
"value": 26.0
},
"observationDateTime": {
"type": "DateTime",
"value": "2020-09-16T13:30:00+05:30"
},
"referenceLevel": {
"type": "Number",
"value": 4.2
},
"floodLevelStatus": {
"type": "Text",
"value": "Normal"
},
"stationID": {
"type": "Text",
"value": "FWR013"
}
} Here is an example of a FloodMonitoring in JSON-LD format as key-values. This is compatible with NGSI-LD when using options=keyValues and returns the context data of an individual entity.
show/hide example
{
"id": "urn:ngsi-ld:FloodMonitoring:Pune-NoiseLevelObserved",
"type": "FloodMonitoring",
"alertLevel": 10.0,
"currentLevel": 0.98,
"dangerLevel": 25.0,
"floodLevelStatus": "Normal",
"measuredDistance": 3.22,
"observationDateTime": "2020-09-16T13:30:00+05:30",
"referenceLevel": 4.2,
"stationID": "FWR013",
"@context": [
"https://raw.githubusercontent.com/smart-data-models/dataModel.Environment/master/context.jsonld"
]
} Here is an example of a FloodMonitoring in JSON-LD format as normalized. This is compatible with NGSI-LD when not using options and returns the context data of an individual entity.
show/hide example
{
"id": "urn:ngsi-ld:FloodMonitoring:Pune-NoiseLevelObserved",
"type": "FloodMonitoring",
"alertLevel": {
"type": "Property",
"value": 11.0,
"unitCode": "MTR"
},
"currentLevel": {
"type": "Property",
"value": 1.98,
"unitCode": "MTR"
},
"dangerLevel": {
"type": "Property",
"value": 26.0,
"unitCode": "MTR"
},
"floodLevelStatus": {
"type": "string",
"value": "Normal"
},
"measuredDistance": {
"type": "Property",
"value": 4.22,
"unitCode": "MTR"
},
"observationDateTime": {
"type": "string",
"format": "date-time",
"value": "2020-09-16T13:30:00+05:30"
},
"referenceLevel": {
"type": "Property",
"value": 4.2,
"unitCode": "MTR"
},
"stationID": {
"type": "string",
"value": "FWR013"
},
"@context": [
"https://raw.githubusercontent.com/smart-data-models/dataModel.Environment/master/context.jsonld"
]
} See FAQ 10 to get an answer on how to deal with magnitude units
