グローバルな記述:**オリジナルの IoTData データモデルをスマートデータモデルプログラムに適応させたもの。このリソースは、測定された音圧を dB 単位で記述する。 音圧は、空間のある点における音場の特性であり、その点はセンサーの実際の位置である。
バージョン: 0.0.1
[*] 属性に型がない場合は、複数の型があるか、異なるフォーマット/パターンがある可能性があるためです。
address[object]
: 郵送先住所 . Model: https://schema.org/addressaddressCountry[string]
: 国。例えば、スペイン . Model: https://schema.org/addressCountryaddressLocality[string]
: 番地がある地域と、その地域に含まれる地域 . Model: https://schema.org/addressLocalityaddressRegion[string]
: その地域がある地域、またその国がある地域 . Model: https://schema.org/addressRegiondistrict[string]
: 地区とは行政区画の一種で、国によっては地方自治体によって管理されている。postOfficeBoxNumber[string]
: 私書箱の住所のための私書箱番号。例:03578 . Model: https://schema.org/postOfficeBoxNumberpostalCode[string]
: 郵便番号。例:24004 . Model: https://schema.org/https://schema.org/postalCodestreetAddress[string]
: 番地 . Model: https://schema.org/streetAddressstreetNr[string]
: 公道上の特定の物件を特定する番号
alternateName[string]
: この項目の別名areaServed[string]
: サービスまたは提供品が提供される地理的地域 . Model: https://schema.org/TextdataProvider[string]
: ハーモナイズされたデータ・エンティティの提供者を識別する一連の文字。dateCreated[date-time]
: エンティティの作成タイムスタンプ。これは通常、ストレージプラットフォームによって割り当てられます。dateModified[date-time]
: エンティティの最終変更のタイムスタンプ。これは通常、ストレージプラットフォームによって割り当てられる。description[string]
: この商品の説明id[*]
: エンティティの一意識別子if[array]
: このリソースがサポートする OCF インタフェースセット。location[*]
: アイテムへの Geojson 参照。Point、LineString、Polygon、MultiPoint、MultiLineString、MultiPolygon のいずれか。n[string]
: リソースのフレンドリーネームname[string]
: このアイテムの名前owner[array]
: 所有者の固有IDを参照するJSONエンコードされた文字列を含むリスト。rt[array]
: リソースの種類seeAlso[*]
: アイテムに関する追加リソースを指すURIのリストsounddB[number]
: dB単位の音圧レベル。source[string]
: エンティティ・データの元のソースを URL として示す一連の文字。ソース・プロバイダの完全修飾ドメイン名、またはソース・オブジェクトの URL を推奨する。type[string]
: NGSI エンティティタイプ。SoundPressureLevel でなければならない。
必須プロパティ
id
type
このデータモデルはオリジナルのOpen Connectivity Foundationリポジトリに由来する。NGSIの要件に適合するように拡張されている。
アルファベット順(クリックで詳細表示)
full yaml details
SoundPressureLevel:
description: Smart Data Models Program adaptation of the original IoTData data Models. This Resource describes a measured sound pressure in dB. The Sound pressure is a property of the sound field at a point in space where the point is the actual location of the sensor.
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.s
- 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.sound.pressurelevel
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
sounddB:
description: The sound pressure level in dB.
minimum: 0
readOnly: true
type: number
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
type:
description: NGSI entity type. It has to be SoundPressureLevel
enum:
- SoundPressureLevel
type: string
x-ngsi:
type: Property
required:
- id
- type
type: object
x-derived-from: https://github.com/OpenInterConnect/IoTDataModels/blob/master/SoundPressureLevelResURI.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/SoundPressureLevel/LICENSE.md
x-model-schema: https://smart-data-models.github.io/dataModel.IoTDataModels/SoundPressureLevel/schema.json
x-model-tags: OCF
x-version: 0.0.1
以下は、SoundPressureLevelをJSON-LD形式でkey-valuesとした例である。これは、options=keyValues
を使用した場合にNGSI-v2と互換性があり、個々のエンティティのコンテキストデータを返す。
show/hide example
{
"id": "urn:ngsi-ld:SoundPressureLevel:id:HFIM:74257828",
"dateCreated": "2004-05-29T07:02:52Z",
"dateModified": "2000-07-13T19:13:46Z",
"source": "Price court lot back.",
"name": "Commercial now certain science. Purpose threat carry six her total across number.",
"alternateName": "Form war southern red little do. Fly land either meet among great back seven. Commercial view college.",
"description": "Finish effort whole must somebody gas owner. Win trouble home agreement leader check simply. Explain particularly style maj",
"dataProvider": "Thus morning do travel. Give bit stage wish wear pro",
"owner": [
"urn:ngsi-ld:SoundPressureLevel:items:IEOL:15344972",
"urn:ngsi-ld:SoundPressureLevel:items:UWPZ:31973552"
],
"seeAlso": [
"urn:ngsi-ld:SoundPressureLevel:items:ONKQ:98958230"
],
"location": {
"type": "Point",
"coordinates": [
-20.035359,
-53.268156
]
},
"address": {
"streetAddress": "Usuall",
"addressLocality": "Take second parent never executive exist. Term experience adult situation.",
"addressRegion": "Old arrive fine sea hard lay husband. Into c",
"addressCountry": "Friend grow beat police because determine again. Office head best identify focus short fill. Speak none m",
"postalCode": "Anything station pe",
"postOfficeBoxNumber": "Candidate front not nor beyond would action.",
"streetNr": "Trouble plan financial if common themselves. Despite wear agree another east local should price.",
"district": "Brother top serve. His prove beautiful bar."
},
"areaServed": "Vote step kitchen pay. Turn provide go guess. Fine no risk television. Require understand she.",
"rt": [
"oic.r.sound.pressurelevel"
],
"sounddB": 766.7,
"n": "Than but teach tax cove",
"if": [
"oic.if.s",
"oic.if.baseline"
],
"type": "SoundPressureLevel"
}
以下は、正規化されたJSON-LD形式のSoundPressureLevelの例である。これは、NGSI-v2と互換性があり、オプションを使用しない場合、個々のエンティティのコンテキストデータを返します。
show/hide example
{
"id": "urn:ngsi-ld:SoundPressureLevel:id:HFIM:74257828",
"dateCreated": {
"type": "DateTime",
"value": "2004-05-29T07:02:52Z"
},
"dateModified": {
"type": "DateTime",
"value": "2000-07-13T19:13:46Z"
},
"source": {
"type": "Text",
"value": "Price court lot back."
},
"name": {
"type": "Text",
"value": "Commercial now certain science. Purpose threat carry six her total across number."
},
"alternateName": {
"type": "Text",
"value": "Form war southern red little do. Fly land either meet among great back seven. Commercial view college."
},
"description": {
"type": "Text",
"value": "Finish effort whole must somebody gas owner. Win trouble home agreement leader check simply. Explain particularly style maj"
},
"dataProvider": {
"type": "Text",
"value": "Thus morning do travel. Give bit stage wish wear pro"
},
"owner": {
"type": "StructuredValue",
"value": [
"urn:ngsi-ld:SoundPressureLevel:items:IEOL:15344972",
"urn:ngsi-ld:SoundPressureLevel:items:UWPZ:31973552"
]
},
"seeAlso": {
"type": "StructuredValue",
"value": [
"urn:ngsi-ld:SoundPressureLevel:items:ONKQ:98958230"
]
},
"location": {
"type": "geo:json",
"value": {
"type": "Point",
"coordinates": [
-20.035359,
-53.268156
]
}
},
"address": {
"type": "StructuredValue",
"value": {
"streetAddress": "Usuall",
"addressLocality": "Take second parent never executive exist. Term experience adult situation.",
"addressRegion": "Old arrive fine sea hard lay husband. Into c",
"addressCountry": "Friend grow beat police because determine again. Office head best identify focus short fill. Speak none m",
"postalCode": "Anything station pe",
"postOfficeBoxNumber": "Candidate front not nor beyond would action.",
"streetNr": "Trouble plan financial if common themselves. Despite wear agree another east local should price.",
"district": "Brother top serve. His prove beautiful bar."
}
},
"areaServed": {
"type": "Text",
"value": "Vote step kitchen pay. Turn provide go guess. Fine no risk television. Require understand she."
},
"rt": {
"type": "StructuredValue",
"value": [
"oic.r.sound.pressurelevel"
]
},
"sounddB": {
"type": "Number",
"value": 766.7
},
"n": {
"type": "Text",
"value": "Than but teach tax cove"
},
"if": {
"type": "StructuredValue",
"value": [
"oic.if.s",
"oic.if.baseline"
]
},
"type": "SoundPressureLevel"
}
以下はSoundPressureLevelをJSON-LD形式でkey-valuesとした例である。これは、options=keyValues
を使用した場合にNGSI-LDと互換性があり、個々のエンティティのコンテキストデータを返す。
show/hide example
{
"id": "urn:ngsi-ld:SoundPressureLevel:id:HFIM:74257828",
"dateCreated": "2004-05-29T07:02:52Z",
"dateModified": "2000-07-13T19:13:46Z",
"source": "Price court lot back.",
"name": "Commercial now certain science. Purpose threat carry six her total across number.",
"alternateName": "Form war southern red little do. Fly land either meet among great back seven. Commercial view college.",
"description": "Finish effort whole must somebody gas owner. Win trouble home agreement leader check simply. Explain particularly style maj",
"dataProvider": "Thus morning do travel. Give bit stage wish wear pro",
"owner": [
"urn:ngsi-ld:SoundPressureLevel:items:IEOL:15344972",
"urn:ngsi-ld:SoundPressureLevel:items:UWPZ:31973552"
],
"seeAlso": [
"urn:ngsi-ld:SoundPressureLevel:items:ONKQ:98958230"
],
"location": {
"type": "Point",
"coordinates": [
-20.035359,
-53.268156
]
},
"address": {
"streetAddress": "Usuall",
"addressLocality": "Take second parent never executive exist. Term experience adult situation.",
"addressRegion": "Old arrive fine sea hard lay husband. Into c",
"addressCountry": "Friend grow beat police because determine again. Office head best identify focus short fill. Speak none m",
"postalCode": "Anything station pe",
"postOfficeBoxNumber": "Candidate front not nor beyond would action.",
"streetNr": "Trouble plan financial if common themselves. Despite wear agree another east local should price.",
"district": "Brother top serve. His prove beautiful bar."
},
"areaServed": "Vote step kitchen pay. Turn provide go guess. Fine no risk television. Require understand she.",
"rt": [
"oic.r.sound.pressurelevel"
],
"sounddB": 766.7,
"n": "Than but teach tax cove",
"if": [
"oic.if.s",
"oic.if.baseline"
],
"type": "SoundPressureLevel",
"@context": [
"https://smartdatamodels.org/context.jsonld"
]
}
以下は、正規化されたJSON-LD形式のSoundPressureLevelの例である。これは、オプションを使用しない場合のNGSI-LDと互換性があり、個々のエンティティのコンテキストデータを返します。
show/hide example
{
"id": "urn:ngsi-ld:SoundPressureLevel:id:HFIM:74257828",
"dateCreated": {
"type": "Property",
"value": {
"@type": "DateTime",
"@value": "2004-05-29T07:02:52Z"
}
},
"dateModified": {
"type": "Property",
"value": {
"@type": "DateTime",
"@value": "2000-07-13T19:13:46Z"
}
},
"source": {
"type": "Property",
"value": "Price court lot back."
},
"name": {
"type": "Property",
"value": "Commercial now certain science. Purpose threat carry six her total across number."
},
"alternateName": {
"type": "Property",
"value": "Form war southern red little do. Fly land either meet among great back seven. Commercial view college."
},
"description": {
"type": "Property",
"value": "Finish effort whole must somebody gas owner. Win trouble home agreement leader check simply. Explain particularly style maj"
},
"dataProvider": {
"type": "Property",
"value": "Thus morning do travel. Give bit stage wish wear pro"
},
"owner": {
"type": "Property",
"value": [
"urn:ngsi-ld:SoundPressureLevel:items:IEOL:15344972",
"urn:ngsi-ld:SoundPressureLevel:items:UWPZ:31973552"
]
},
"seeAlso": {
"type": "Property",
"value": [
"urn:ngsi-ld:SoundPressureLevel:items:ONKQ:98958230"
]
},
"location": {
"type": "GeoProperty",
"value": {
"type": "Point",
"coordinates": [
-20.035359,
-53.268156
]
}
},
"address": {
"type": "Property",
"value": {
"streetAddress": "Usuall",
"addressLocality": "Take second parent never executive exist. Term experience adult situation.",
"addressRegion": "Old arrive fine sea hard lay husband. Into c",
"addressCountry": "Friend grow beat police because determine again. Office head best identify focus short fill. Speak none m",
"postalCode": "Anything station pe",
"postOfficeBoxNumber": "Candidate front not nor beyond would action.",
"streetNr": "Trouble plan financial if common themselves. Despite wear agree another east local should price.",
"district": "Brother top serve. His prove beautiful bar."
}
},
"areaServed": {
"type": "Property",
"value": "Vote step kitchen pay. Turn provide go guess. Fine no risk television. Require understand she."
},
"rt": {
"type": "Property",
"value": [
"oic.r.sound.pressurelevel"
]
},
"sounddB": {
"type": "Property",
"value": 766.7
},
"n": {
"type": "Property",
"value": "Than but teach tax cove"
},
"if": {
"type": "Property",
"value": [
"oic.if.s",
"oic.if.baseline"
]
},
"type": "SoundPressureLevel",
"@context": [
"https://smartdatamodels.org/context.jsonld"
]
}
マグニチュード単位の扱い方については、FAQ 10を参照のこと。