Dokument automatisch generiert
Globale Beschreibung: Smart Data Models Programmanpassung der ursprünglichen IoTData-Datenmodelle. Diese Ressource beschreibt eine Fernsteuerungsfunktion, die dem Benutzer hilft, ein Gerät zu steuern, ohne dass der Hersteller eine Fernbedienung zur Verfügung stellt.
Version: 0.0.1
[*] Wenn es für ein Attribut keinen Typ gibt, kann es mehrere Typen oder verschiedene Formate/Muster haben.
address[object]: Die Postanschrift . Model: https://schema.org/addressaddressCountry[string]: Das Land. Zum Beispiel, Spanien . Model: https://schema.org/addressCountryaddressLocality[string]: Die Ortschaft, in der sich die Adresse befindet, und die in der Region liegt . Model: https://schema.org/addressLocalityaddressRegion[string]: Die Region, in der sich der Ort befindet, und die auf dem Land liegt . Model: https://schema.org/addressRegiondistrict[string]: Ein Bezirk ist eine Art von Verwaltungseinheit, die in einigen Ländern von der lokalen Regierung verwaltet wird.postOfficeBoxNumber[string]: Die Postfachnummer für Postfachadressen. Zum Beispiel, 03578 . Model: https://schema.org/postOfficeBoxNumberpostalCode[string]: Die Postleitzahl. Zum Beispiel, 24004 . Model: https://schema.org/https://schema.org/postalCodestreetAddress[string]: Die Straßenanschrift . Model: https://schema.org/streetAddressstreetNr[string]: Nummer zur Identifizierung eines bestimmten Grundstücks an einer öffentlichen Straße
alternateName[string]: Ein alternativer Name für diesen ArtikelareaServed[string]: Das geografische Gebiet, in dem eine Dienstleistung oder ein angebotener Artikel erbracht wird . Model: https://schema.org/TextdataProvider[string]: Eine Folge von Zeichen zur Identifizierung des Anbieters der harmonisierten DateneinheitdateCreated[date-time]: Zeitstempel der Entitätserstellung. Dieser wird normalerweise von der Speicherplattform zugewiesendateModified[date-time]: Zeitstempel der letzten Änderung der Entität. Dieser wird in der Regel von der Speicherplattform vergebendescription[string]: Eine Beschreibung dieses Artikelsid[*]: Eindeutiger Bezeichner der Entitätif[array]: Der von dieser Ressource unterstützte OCF-Schnittstellensatz.location[*]: Geojson-Referenz auf das Element. Es kann Punkt, LineString, Polygon, MultiPoint, MultiLineString oder MultiPolygon seinn[string]: Freundlicher Name der Ressourcename[string]: Der Name dieses Artikelsowner[array]: Eine Liste mit einer JSON-kodierten Zeichenfolge, die auf die eindeutigen Kennungen der Eigentümer verweistrt[array]: Der Ressourcentyp.seeAlso[*]: Liste von URLs, die auf zusätzliche Ressourcen zu dem Artikel verweisensource[string]: Eine Folge von Zeichen, die die ursprüngliche Quelle der Entitätsdaten als URL angibt. Empfohlen wird der voll qualifizierte Domänenname des Quellanbieters oder die URL des Quellobjekts.supportedactions[array]: Die Liste der unterstützten Fernsteuerungstastenwerte.type[string]: NGSI-Entitätstyp. Es muss RemoteControl sein
Erforderliche Eigenschaften
idtype
Dieses Datenmodell stammt aus dem ursprünglichen [Open Connectivity Foundation repository] (https://github.com/openconnectivityfoundation/IoTDataModels). Es wurde erweitert, um den Anforderungen der NGSI zu entsprechen.
Alphabetisch sortiert (für Details anklicken)
full yaml details
RemoteControl:
description: 'Smart Data Models Program adaptation of the original IoTData data Models. This Resource describes a remote control function, which helps users to control a device without the actual remote controller provided by the manufacturer.'
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
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
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
if:
description: The OCF Interface set supported by this Resource.
items:
enum:
- oic.if.a
- oic.if.baseline
type: string
minItems: 2
readOnly: true
type: array
uniqueItems: true
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
n:
description: Friendly name of the Resource
maxLength: 64
readOnly: true
type: string
x-ngsi:
type: Property
name:
description: The name of this item
type: string
x-ngsi:
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
rt:
description: The Resource Type.
items:
enum:
- oic.r.remotecontrol
maxLength: 64
type: string
minItems: 1
readOnly: true
type: array
uniqueItems: true
x-ngsi:
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
supportedactions:
description: The list of of supported remote control key values.
items:
enum:
- arrowup
- arrowdown
- arrowleft
- arrowright
- enter
- return
- exit
- home
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 0
- "-"
type: string
minItems: 1
readOnly: true
type: array
uniqueItems: true
x-ngsi:
type: Property
type:
description: NGSI entity type. It has to be RemoteControl
enum:
- RemoteControl
type: string
x-ngsi:
type: Property
required:
- id
- type
type: object
x-derived-from: https://github.com/OpenInterConnect/IoTDataModels/blob/master/RemoteControlResURI.swagger.json
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.OCF/blob/master/RemoteControl/LICENSE.md
x-model-schema: https://smart-data-models.github.io/dataModel.IoTDataModels/RemoteControl/schema.json
x-model-tags: OCF
x-version: 0.0.1 Hier ist ein Beispiel für ein RemoteControl im JSON-LD-Format als Key-Values. Dies ist kompatibel mit NGSI-v2 bei Verwendung von options=keyValues und liefert die Kontextdaten einer einzelnen Entität.
show/hide example
{
"id": "urn:ngsi-ld:RemoteControl:id:VQGO:05371583",
"dateCreated": "1992-04-25T14:40:19Z",
"dateModified": "1976-03-18T20:28:01Z",
"source": "Which positive candidate school be summer. Effect personal range three. ",
"name": "Return Republican behavior analysis. Red house oil build choice gun up. Media role long sell picture learn reason capital.",
"alternateName": "Result their appear put agent these local. Rest administration father performance commercial shake special us.",
"description": "",
"dataProvider": "Call kid over analysis Democrat power determine. To prove from worry.",
"owner": [
"urn:ngsi-ld:RemoteControl:items:XWCO:84960583",
"urn:ngsi-ld:RemoteControl:items:LAMA:84316052"
],
"seeAlso": [
"urn:ngsi-ld:RemoteControl:items:STYY:16962512"
],
"location": {
"type": "Point",
"coordinates": [
3.7770915,
-130.918871
]
},
"address": {
"streetAddress": "Across why collection through quickly window boy middle.",
"addressLocality": "Sport tel",
"addressRegion": "Enough audience loss page admit. Case history front effect quickly. Stuff property law investment.",
"addressCountry": "Site for production model.",
"postalCode": "Nor few serious single techno",
"postOfficeBoxNumber": "Technology soon room be right less. Use budget institution.",
"streetNr": "Wife ability too civil PM everyone movement.",
"district": "Enjoy name recent feel answer interview guy. Once political research."
},
"areaServed": "Must yard one program board foot difference.",
"rt": [
"oic.r.remotecontrol"
],
"supportedactions": [
"-"
],
"n": "End choice during like outside life firm many. Addr",
"if": [
"oic.if.a",
"oic.if.baseline"
],
"type": "RemoteControl"
} Hier ist ein Beispiel für ein RemoteControl im JSON-LD-Format in normalisierter Form. Dies ist kompatibel mit NGSI-v2, wenn keine Optionen verwendet werden, und liefert die Kontextdaten einer einzelnen Entität.
show/hide example
{
"id": "urn:ngsi-ld:RemoteControl:id:VQGO:05371583",
"dateCreated": {
"type": "DateTime",
"value": "1992-04-25T14:40:19Z"
},
"dateModified": {
"type": "DateTime",
"value": "1976-03-18T20:28:01Z"
},
"source": {
"type": "Text",
"value": "Which positive candidate school be summer. Effect personal range three. "
},
"name": {
"type": "Text",
"value": "Return Republican behavior analysis. Red house oil build choice gun up. Media role long sell picture learn reason capital."
},
"alternateName": {
"type": "Text",
"value": "Result their appear put agent these local. Rest administration father performance commercial shake special us."
},
"description": {
"type": "Text",
"value": ""
},
"dataProvider": {
"type": "Text",
"value": "Call kid over analysis Democrat power determine. To prove from worry."
},
"owner": {
"type": "StructuredValue",
"value": [
"urn:ngsi-ld:RemoteControl:items:XWCO:84960583",
"urn:ngsi-ld:RemoteControl:items:LAMA:84316052"
]
},
"seeAlso": {
"type": "StructuredValue",
"value": [
"urn:ngsi-ld:RemoteControl:items:STYY:16962512"
]
},
"location": {
"type": "geo:json",
"value": {
"type": "Point",
"coordinates": [
3.7770915,
-130.918871
]
}
},
"address": {
"type": "StructuredValue",
"value": {
"streetAddress": "Across why collection through quickly window boy middle.",
"addressLocality": "Sport tel",
"addressRegion": "Enough audience loss page admit. Case history front effect quickly. Stuff property law investment.",
"addressCountry": "Site for production model.",
"postalCode": "Nor few serious single techno",
"postOfficeBoxNumber": "Technology soon room be right less. Use budget institution.",
"streetNr": "Wife ability too civil PM everyone movement.",
"district": "Enjoy name recent feel answer interview guy. Once political research."
}
},
"areaServed": {
"type": "Text",
"value": "Must yard one program board foot difference."
},
"rt": {
"type": "StructuredValue",
"value": [
"oic.r.remotecontrol"
]
},
"supportedactions": {
"type": "StructuredValue",
"value": [
"-"
]
},
"n": {
"type": "Text",
"value": "End choice during like outside life firm many. Addr"
},
"if": {
"type": "StructuredValue",
"value": [
"oic.if.a",
"oic.if.baseline"
]
},
"type": "RemoteControl"
} Hier ist ein Beispiel für ein RemoteControl im JSON-LD Format als Key-Values. Dies ist kompatibel mit NGSI-LD bei Verwendung von options=keyValues und liefert die Kontextdaten einer einzelnen Entität.
show/hide example
{
"id": "urn:ngsi-ld:RemoteControl:id:VQGO:05371583",
"dateCreated": "1992-04-25T14:40:19Z",
"dateModified": "1976-03-18T20:28:01Z",
"source": "Which positive candidate school be summer. Effect personal range three. ",
"name": "Return Republican behavior analysis. Red house oil build choice gun up. Media role long sell picture learn reason capital.",
"alternateName": "Result their appear put agent these local. Rest administration father performance commercial shake special us.",
"description": "",
"dataProvider": "Call kid over analysis Democrat power determine. To prove from worry.",
"owner": [
"urn:ngsi-ld:RemoteControl:items:XWCO:84960583",
"urn:ngsi-ld:RemoteControl:items:LAMA:84316052"
],
"seeAlso": [
"urn:ngsi-ld:RemoteControl:items:STYY:16962512"
],
"location": {
"type": "Point",
"coordinates": [
3.7770915,
-130.918871
]
},
"address": {
"streetAddress": "Across why collection through quickly window boy middle.",
"addressLocality": "Sport tel",
"addressRegion": "Enough audience loss page admit. Case history front effect quickly. Stuff property law investment.",
"addressCountry": "Site for production model.",
"postalCode": "Nor few serious single techno",
"postOfficeBoxNumber": "Technology soon room be right less. Use budget institution.",
"streetNr": "Wife ability too civil PM everyone movement.",
"district": "Enjoy name recent feel answer interview guy. Once political research."
},
"areaServed": "Must yard one program board foot difference.",
"rt": [
"oic.r.remotecontrol"
],
"supportedactions": [
"-"
],
"n": "End choice during like outside life firm many. Addr",
"if": [
"oic.if.a",
"oic.if.baseline"
],
"type": "RemoteControl",
"@context": [
"https://smartdatamodels.org/context.jsonld"
]
} Hier ist ein Beispiel für ein RemoteControl im JSON-LD-Format in normalisierter Form. Dies ist kompatibel mit NGSI-LD, wenn keine Optionen verwendet werden, und liefert die Kontextdaten einer einzelnen Entität.
show/hide example
{
"id": "urn:ngsi-ld:RemoteControl:id:VQGO:05371583",
"dateCreated": {
"type": "Property",
"value": {
"@type": "DateTime",
"@value": "1992-04-25T14:40:19Z"
}
},
"dateModified": {
"type": "Property",
"value": {
"@type": "DateTime",
"@value": "1976-03-18T20:28:01Z"
}
},
"source": {
"type": "Property",
"value": "Which positive candidate school be summer. Effect personal range three. "
},
"name": {
"type": "Property",
"value": "Return Republican behavior analysis. Red house oil build choice gun up. Media role long sell picture learn reason capital."
},
"alternateName": {
"type": "Property",
"value": "Result their appear put agent these local. Rest administration father performance commercial shake special us."
},
"description": {
"type": "Property",
"value": ""
},
"dataProvider": {
"type": "Property",
"value": "Call kid over analysis Democrat power determine. To prove from worry."
},
"owner": {
"type": "Property",
"value": [
"urn:ngsi-ld:RemoteControl:items:XWCO:84960583",
"urn:ngsi-ld:RemoteControl:items:LAMA:84316052"
]
},
"seeAlso": {
"type": "Property",
"value": [
"urn:ngsi-ld:RemoteControl:items:STYY:16962512"
]
},
"location": {
"type": "GeoProperty",
"value": {
"type": "Point",
"coordinates": [
3.7770915,
-130.918871
]
}
},
"address": {
"type": "Property",
"value": {
"streetAddress": "Across why collection through quickly window boy middle.",
"addressLocality": "Sport tel",
"addressRegion": "Enough audience loss page admit. Case history front effect quickly. Stuff property law investment.",
"addressCountry": "Site for production model.",
"postalCode": "Nor few serious single techno",
"postOfficeBoxNumber": "Technology soon room be right less. Use budget institution.",
"streetNr": "Wife ability too civil PM everyone movement.",
"district": "Enjoy name recent feel answer interview guy. Once political research."
}
},
"areaServed": {
"type": "Property",
"value": "Must yard one program board foot difference."
},
"rt": {
"type": "Property",
"value": [
"oic.r.remotecontrol"
]
},
"supportedactions": {
"type": "Property",
"value": [
"-"
]
},
"n": {
"type": "Property",
"value": "End choice during like outside life firm many. Addr"
},
"if": {
"type": "Property",
"value": [
"oic.if.a",
"oic.if.baseline"
]
},
"type": "RemoteControl",
"@context": [
"https://smartdatamodels.org/context.jsonld"
]
} Siehe [FAQ 10] (https://smartdatamodels.org/index.php/faqs/), um eine Antwort auf die Frage zu erhalten, wie man mit Größeneinheiten umgeht
