documento generado automáticamente
Descripción global: Un panel de control de alumbrado público Modelo de datos.
versión: 0.0.2
[*] Si no hay un tipo en un atributo es porque puede tener varios tipos o diferentes formatos/patrones.
activePower[array]
: Potencia activa consumida por fase. Triple ordenada que comprende la potencia activa de tres fases en el siguiente orden: [R Y B] . Model: https://schema.org/Textaddress[object]
: La dirección postal . Model: https://schema.org/addressaddressCountry[string]
: El país. Por ejemplo, España . Model: https://schema.org/addressCountryaddressLocality[string]
: La localidad en la que se encuentra la dirección postal, y que está en la región . Model: https://schema.org/addressLocalityaddressRegion[string]
: La región en la que se encuentra la localidad, y que está en el país . Model: https://schema.org/addressRegiondistrict[string]
: Un distrito es un tipo de división administrativa que, en algunos países, gestiona el gobierno localpostOfficeBoxNumber[string]
: El número del apartado de correos para las direcciones de apartados postales. Por ejemplo, 03578 . Model: https://schema.org/postOfficeBoxNumberpostalCode[string]
: El código postal. Por ejemplo, 24004 . Model: https://schema.org/https://schema.org/postalCodestreetAddress[string]
: La dirección . Model: https://schema.org/streetAddress
alternateName[string]
: Un nombre alternativo para este artículoareaServed[string]
: La zona geográfica en la que se presta un servicio o se ofrece un artículo . Model: https://schema.org/TextdataProvider[string]
: Una secuencia de caracteres que identifica al proveedor de la entidad de datos armonizadadateCreated[date-time]
: Fecha de creación de la entidad. Normalmente será asignada por la plataforma de almacenamientodateModified[date-time]
: Marca de tiempo de la última modificación de la entidad. Suele ser asignada por la plataforma de almacenamientodescription[string]
: Descripción de este artículodeviceInfo[object]
: Información sobre el dispositivo asociado a las observaciones . Model: https://schema.org/TextdeviceBatteryStatus[string]
: Indica el estado de carga de la batería del dispositivo informador (Conectado, Desconectado) . Model: https://schema.org/TextdeviceId[string]
: ID de dispositivo del sensor físico/estación de medición correspondiente a esta observación . Model: https://schema.org/TextdeviceModel[object]
: Describe la información del dispositivo, sensor o sistema en cuestión. . Model: https://schema.org/TextdeviceName[string]
: Nombre del dispositivo o nombre de la estación del dispositivo/estación del sensor correspondiente a esta observación . Model: https://schema.org/TextdeviceSimNumber[string]
: Indica el número sim del dispositivo del vehículo de gestión de residuos . Model: https://schema.org/Textmeasurand[string]
: Propiedad/propiedades detectadas/observadas/medidas por el dispositivo . Model: https://schema.org/Text
id[*]
: Identificador único de la entidadlocation[*]
: Referencia Geojson al elemento. Puede ser Point, LineString, Polygon, MultiPoint, MultiLineString o MultiPolygon.name[string]
: El nombre de este artículonumStreetlight[number]
: Describe el número total de farolas conectadas al panel de alimentación correspondiente a esta observación . Model: https://schema.org/NumberobservationDateTime[date-time]
: Última hora de observación comunicada . Model: https://schema.org/Textowner[array]
: Una lista que contiene una secuencia de caracteres codificada en JSON que hace referencia a los identificadores únicos de los propietarios.phaseCurrent[array]
: Corriente por fase. Triple ordenada que comprende la potencia activa de tres fases en el siguiente orden: [R Y B] . Model: https://schema.org/TextphaseVoltage[array]
: Tensión por fase. Triple ordenada que comprende la potencia activa de tres fases en el siguiente orden: [R Y B] . Model: https://schema.org/TextpowerState[string]
: Indica el estado actual del panel de alimentación de la farola . Model: https://schema.org/TextreactivePower[array]
: Potencia reactiva consumida por fase. Triple ordenada que comprende la potencia activa de tres fases en el siguiente orden: [R Y B] . Model: https://schema.org/TextseeAlso[*]
: lista de uri que apuntan a recursos adicionales sobre el artículosource[string]
: Secuencia de caracteres que indica la fuente original de los datos de la entidad en forma de URL. Se recomienda que sea el nombre de dominio completo del proveedor de origen o la URL del objeto de origen.totalActivePower[number]
: Potencia activa total consumida por todas las fases . Model: https://schema.org/NumbertotalReactivePower[number]
: Potencia reactiva total para todas las fases . Model: https://schema.org/Numbertype[string]
: Tipo de entidad NGSI. Tiene que ser StreetlightFeeder
Propiedades requeridas
id
type
Ordenados alfabéticamente (pulse para más detalles)
full yaml details
StreetlightFeeder:
description: A streetlight control panel Data Model.
properties:
activePower:
description: 'Active power consumed per phase. Ordered triple comprising of active power from three phases in the following order: [R Y B]'
items:
minItems: 3
type: number
type: array
x-ngsi:
model: https://schema.org/Text
type: Property
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
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
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
deviceInfo:
description: Information about the device associated with the observations
properties:
deviceBatteryStatus:
description: 'Gives the Battery charging status of the reporting device(Connected, Disconnected)'
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
deviceId:
description: Device ID of the physical sensor/ measurement station corresponding to this observation
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
deviceModel:
description: 'Describes the information of the device, sensor or system in consideration'
properties:
brandName:
description: 'Name of the brand associated with an entity, e.g., sensor, device etc'
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
manufacturerName:
description: 'Name of the manufacturer associated with an entity, e.g., sensor, device etc'
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
modelName:
description: 'Name of a specific model associated with an entity, e.g., sensor, device etc'
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
modelURL:
description: 'URL providing further information of a specific model associated with an entity, e.g., sensor, device etc'
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
type: object
x-ngsi:
model: https://schema.org/Text
type: Property
deviceName:
description: Device Name or Station name of the sensor device/station corresponding to this observation
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
deviceSimNumber:
description: Gives the sim number of the device in the waste management vehicle
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
measurand:
description: Property/properties sensed/observed/measured by the device
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
rfId:
description: Gives the ID of the RFID reader
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
type: object
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
name:
description: The name of this item
type: string
x-ngsi:
type: Property
numStreetlight:
description: Describes the total number of streetlights connected to the feeder panel corresponding to this observation
type: number
x-ngsi:
model: https://schema.org/Number
type: Property
observationDateTime:
description: Last reported time of observation
format: date-time
type: string
x-ngsi:
model: https://schema.org/Text
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
phaseCurrent:
description: 'Current per phase. Ordered triple comprising of active power from three phases in the following order: [R Y B]'
items:
minItems: 3
type: number
type: array
x-ngsi:
model: https://schema.org/Text
type: Property
phaseVoltage:
description: 'Voltage per phase. Ordered triple comprising of active power from three phases in the following order: [R Y B]'
items:
minItems: 3
type: number
type: array
x-ngsi:
model: https://schema.org/Text
type: Property
powerState:
description: Indicates the current status of the streetlight feeder panel
type: string
x-ngsi:
model: https://schema.org/Text
type: Property
reactivePower:
description: 'Reactive power consumed per phase. Ordered triple comprising of active power from three phases in the following order: [R Y B]'
items:
minItems: 3
type: number
type: array
x-ngsi:
model: https://schema.org/Text
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
totalActivePower:
description: Total active power consumed by all phases
type: number
x-ngsi:
model: https://schema.org/Number
type: Property
totalReactivePower:
description: Total reactive power for all phases
type: number
x-ngsi:
model: https://schema.org/Number
type: Property
type:
description: NGSI entity type. It has to be StreetlightFeeder
enum:
- StreetlightFeeder
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.Streetlighting/blob/master/StreetlightFeeder/LICENSE.md
x-model-schema: https://smart-data-models.github.io/dataModel.Streetlighting/StreetLightFeeder/schema.json
x-model-tags: IUDX
x-version: 0.0.2
Aquí hay un ejemplo de un StreetlightFeeder en formato JSON-LD como key-values. Esto es compatible con NGSI-v2 cuando se utiliza options=keyValues
y devuelve los datos de contexto de una entidad individual.
show/hide example
{
"id": "https://smart-data-models.github.io/dataModel.Streetlighting/StreetLightFeeder/schema.json",
"type": "StreetlightFeeder",
"totalActivePower": 30,
"phaseCurrent": [
25,
28,
30
],
"reactivePower": [
25,
28,
30
],
"numStreetlight": 45,
"phaseVoltage": [
240,
120,
50
],
"totalReactivePower": 200,
"activePower": [
120,
200,
150
],
"powerState": "ON",
"observationDateTime": "2021-03-11T15:51:02+05:30",
"deviceInfo": {
"rfId": "5634684",
"deviceBatteryStatus": "Connected",
"deviceName": "SL1",
"deviceId": "43",
"measurand": "6",
"deviceSimNumber": "6755375727",
"deviceModel": {
"brandName": "abc",
"manufacturerName": "xyz",
"modelName": "SL1",
"modelURL": "www.abcstreetlight.com"
}
}
}
He aquí un ejemplo de un StreetlightFeeder en formato JSON-LD normalizado. Esto es compatible con NGSI-v2 cuando no se utilizan opciones y devuelve los datos de contexto de una entidad individual.
show/hide example
{
"id": "https://smart-data-models.github.io/dataModel.Streetlighting/StreetLightFeeder/schema.json",
"type": "StreetlightFeeder",
"totalActivePower": {
"type": "Number",
"value": 30
},
"phaseCurrent": {
"type": "StructuredValue",
"value": [
25,
28,
30
]
},
"reactivePower": {
"type": "StructuredValue",
"value": [
25,
28,
30
]
},
"numStreetlight": {
"type": "Number",
"value": 45
},
"phaseVoltage": {
"type": "StructuredValue",
"value": [
240,
120,
50
]
},
"totalReactivePower": {
"type": "Number",
"value": 200
},
"activePower": {
"type": "StructuredValue",
"value": [
120,
200,
150
]
},
"powerState": {
"type": "Text",
"value": "ON"
},
"observationDateTime": {
"type": "DateTime",
"value": "2021-03-11T15:51:02+05:30"
},
"deviceInfo": {
"type": "StructuredValue",
"value": {
"rfId": "5634684",
"deviceBatteryStatus": "Connected",
"deviceName": "SL1",
"deviceId": "43",
"measurand": "6",
"deviceSimNumber": "6755375727",
"deviceModel": {
"brandName": "abc",
"manufacturerName": "xyz",
"modelName": "SL1",
"modelURL": "www.abcstreetlight.com"
}
}
}
}
Aquí hay un ejemplo de un StreetlightFeeder en formato JSON-LD como key-values. Esto es compatible con NGSI-LD cuando se utiliza options=keyValues
y devuelve los datos de contexto de una entidad individual.
show/hide example
{
"id": "https://smart-data-models.github.io/dataModel.Streetlighting/StreetLightFeeder/schema.json",
"type": "StreetlightFeeder",
"activePower": [
120,
200,
150
],
"deviceInfo": {
"rfId": "5634684",
"deviceBatteryStatus": "Connected",
"deviceName": "SL1",
"deviceId": "43",
"measurand": "6",
"deviceSimNumber": "6755375727",
"deviceModel": {
"brandName": "abc",
"manufacturerName": "xyz",
"modelName": "SL1",
"modelURL": "www.abcstreetlight.com"
}
},
"numStreetlight": 45,
"observationDateTime": "2021-03-11T15:51:02+05:30",
"phaseCurrent": [
25,
28,
30
],
"phaseVoltage": [
240,
120,
50
],
"powerState": "ON",
"reactivePower": [
25,
28,
30
],
"totalActivePower": 30,
"totalReactivePower": 200,
"@context": [
"https://smart-data-models.github.io/dataModel.Streetlighting/context.jsonld"
]
}
He aquí un ejemplo de un StreetlightFeeder en formato JSON-LD normalizado. Esto es compatible con NGSI-LD cuando no se utilizan opciones y devuelve los datos de contexto de una entidad individual.
show/hide example
{
"id": "https://smart-data-models.github.io/dataModel.Streetlighting/StreetLightFeeder/schema.json",
"type": "StreetlightFeeder",
"activePower": {
"type": "Property",
"value": [
120,
200,
150
]
},
"deviceInfo": {
"type": "Property",
"value": {
"rfId": "5634684",
"deviceBatteryStatus": "Connected",
"deviceName": "SL1",
"deviceId": "43",
"measurand": "6",
"deviceSimNumber": "6755375727",
"deviceModel": {
"brandName": "abc",
"manufacturerName": "xyz",
"modelName": "SL1",
"modelURL": "www.abcstreetlight.com"
}
}
},
"numStreetlight": {
"type": "Property",
"value": 45
},
"observationDateTime": {
"type": "Property",
"value": {
"@type": "DateTime",
"@value": "2021-03-11T15:51:02+05:30"
}
},
"phaseCurrent": {
"type": "Property",
"value": [
25,
28,
30
]
},
"phaseVoltage": {
"type": "Property",
"value": [
240,
120,
50
]
},
"powerState": {
"type": "Property",
"value": "ON"
},
"reactivePower": {
"type": "Property",
"value": [
25,
28,
30
]
},
"totalActivePower": {
"type": "Property",
"value": 30
},
"totalReactivePower": {
"type": "Property",
"value": 200
},
"@context": [
"https://smart-data-models.github.io/dataModel.Streetlighting/context.jsonld"
]
}
Consulte FAQ 10 para obtener una respuesta sobre cómo tratar las unidades de magnitud.