From 920046d82fd6293b7b2f5f89c446d8baf40e981a Mon Sep 17 00:00:00 2001 From: Alberto Abella Date: Wed, 20 Dec 2023 15:29:53 +0100 Subject: [PATCH] updated GreenEnergyGenerator/doc/spec_JA.md --- GreenEnergyGenerator/doc/spec_JA.md | 959 ++++++++++++++-------------- 1 file changed, 481 insertions(+), 478 deletions(-) diff --git a/GreenEnergyGenerator/doc/spec_JA.md b/GreenEnergyGenerator/doc/spec_JA.md index b755724..f52af5a 100644 --- a/GreenEnergyGenerator/doc/spec_JA.md +++ b/GreenEnergyGenerator/doc/spec_JA.md @@ -1,455 +1,458 @@ - -[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org) - エンティティグリーン・エナジー・ジェネレーター -======================= - - [オープン・ライセンス](https://github.com/smart-data-models//dataModel.GreenEnergy/blob/master/GreenEnergyGenerator/LICENSE.md) - [文書は自動的に生成される](https://docs.google.com/presentation/d/e/2PACX-1vTs-Ng5dIAwkg91oTTUdt8ua7woBXhPnwavZ0FxgR8BsAI_Ek3C5q97Nd94HS8KhP-r_quD4H0fgyt3/pub?start=false&loop=false&delayms=3000#slide=id.gb715ace035_0_60) - - - グローバルな説明**グリーンエネルギーからエネルギーを生成することができる一般的な発電所**。 - バージョン: 0.0.2 - - - ## プロパティのリスト - [*] 属性に型がない場合は、複数の型があるか、異なるフォーマット/パターンがある可能性があるためです。 -- `address[object]`: 郵送先住所 . Model: [https://schema.org/address](https://schema.org/address) - `addressCountry[string]`: 国。例えば、スペイン . Model: [https://schema.org/addressCountry](https://schema.org/addressCountry) - - `addressLocality[string]`: 番地がある地域と、その地域に含まれる地域 . Model: [https://schema.org/addressLocality](https://schema.org/addressLocality) - - `addressRegion[string]`: その地域がある地域、またその国がある地域 . Model: [https://schema.org/addressRegion](https://schema.org/addressRegion) - - `district[string]`: 地区とは行政区画の一種で、国によっては地方自治体によって管理されている。 - - `postOfficeBoxNumber[string]`: 私書箱の住所のための私書箱番号。例:03578 . Model: [https://schema.org/postOfficeBoxNumber](https://schema.org/postOfficeBoxNumber) - - `postalCode[string]`: 郵便番号。例:24004 . Model: [https://schema.org/https://schema.org/postalCode](https://schema.org/https://schema.org/postalCode) - - `streetAddress[string]`: 番地 . Model: [https://schema.org/streetAddress](https://schema.org/streetAddress) -- `alternateName[string]`: この項目の別名 - `areaServed[string]`: サービスまたは提供品が提供される地理的地域 . Model: [https://schema.org/Text](https://schema.org/Text) - `dataProvider[string]`: ハーモナイズされたデータ・エンティティの提供者を識別する一連の文字。 - `dateCreated[date-time]`: エンティティの作成タイムスタンプ。これは通常、ストレージプラットフォームによって割り当てられます。 - `dateModified[date-time]`: エンティティの最終変更のタイムスタンプ。これは通常、ストレージプラットフォームによって割り当てられる。 - `description[string]`: この商品の説明 - `generationSources[array]`: 発電に使用される電源のリスト。Enum:'biomass, eolic, geothermal, hydropower, solar'. . Model: [https://schema.org/ItemList](https://schema.org/ItemList) - `id[*]`: エンティティの一意識別子 - `location[*]`: アイテムへの Geojson 参照。Point、LineString、Polygon、MultiPoint、MultiLineString、MultiPolygon のいずれか。 - `maxBiomassMeasure[number]`: 生成可能な最大バイオマスエネルギーの尺度。UN/CEFACT共通コード(最大3文字)を用いて与えられる測定の単位コード(テキスト)。 . Model: [https://schema.org/Number](https://schema.org/Number) - `maxEolicPowerMeasure[number]`: 発生可能な最大電気エネルギーの尺度。UN/CEFACT共通コード(最大3文字)を用いて与えられる測定単位コード(テキスト)。 . Model: [https://schema.org/Number](https://schema.org/Number) - `maxGeothermalPowerGenerated[number]`: 発電可能な最大地熱エネルギーの尺度。UN/CEFACT 共通コード(最大 3 文字)を用いて与えられる測定の単位コード(テキスト)。 . Model: [https://schema.org/Number](https://schema.org/Number) - `maxHydroPowerMeasure[number]`: 発電可能な最大水力エネルギーの尺度。UN/CEFACT共通コード(最大3文字)を用いて与えられる測定の単位コード(テキスト)。 . Model: [https://schema.org/Number](https://schema.org/Number) - `maxSolarPowerMeasure[number]`: 発電可能な最大太陽エネルギーの尺度。UN/CEFACT共通コード(最大3文字)を用いて与えられる測定の単位コード(テキスト)。 . Model: [https://schema.org/Number](https://schema.org/Number) - `name[string]`: このアイテムの名前 - `owner[array]`: 所有者の固有IDを参照するJSONエンコードされた文字列を含むリスト。 - `redistribution[boolean]`: 発電されたエネルギーがネットワークに捨てられるかどうかを示す。 . Model: [https://schema.org/Boolean](https://schema.org/Boolean) - `seeAlso[*]`: アイテムに関する追加リソースを指すURIのリスト - `selfConsumption[boolean]`: 発電したエネルギーを自家用に使用するかどうかを示す . Model: [https://schema.org/Boolean](https://schema.org/Boolean) - `source[string]`: エンティティ・データの元のソースを URL として示す一連の文字。ソース・プロバイダの完全修飾ドメイン名、またはソース・オブジェクトの URL を推奨する。 - `status[string]`: グリーンエネルギー発電機のステータス。Enum:'outOfService, withIncidence, working'. . Model: [https://schema.org/Text](https://schema.org/Text) - `type[string]`: NGSI エンティティタイプ。これは GreenEnergyGenerator でなければならない。 . Model: [https://schema.org/Text](https://schema.org/Text) - - 必須プロパティ -- `id` - `type` - - グリーンエネルギー発電機の汎用モデル。太陽エネルギーまたは電気エネルギーを使用してエネルギーを生成することができる装置。 - - - ## プロパティのデータモデル記述 - アルファベット順(クリックで詳細表示) - - -
full yaml details - ```yaml -GreenEnergyGenerator: - description: A generic generator station which can generate energy from green energy - 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 - generationSources: - description: 'A list of sources used for power generation. Enum:''biomass, eolic, geothermal, hydropower, solar''' - items: - enum: - - biomass - - eolic - - geothermal - - hydropower - - solar - type: string - minItems: 1 - type: array - uniqueItems: true - x-ngsi: - model: https://schema.org/ItemList - 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 - maxBiomassMeasure: - description: A measure of maximum biomass energy that can be generated. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters) - type: number - x-ngsi: - model: https://schema.org/Number - type: Property - units: KWT - maxEolicPowerMeasure: - description: A measure of maximum eolic energy that can be generated. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters) - type: number - x-ngsi: - model: https://schema.org/Number - type: Property - units: KWT - maxGeothermalPowerGenerated: - description: A measure of maximum geothermal energy that can be generated. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters) - type: number - x-ngsi: - model: https://schema.org/Number - type: Property - units: KWT - maxHydroPowerMeasure: - description: A measure of maximum hydropower energy that can be generated. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters) - type: number - x-ngsi: - model: https://schema.org/Number - type: Property - units: KWT - maxSolarPowerMeasure: - description: A measure of maximum solar energy that can be generated. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters) - type: number - x-ngsi: - model: https://schema.org/Number - type: Property - units: KWT - 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 - redistribution: - description: Indicates whether the generated energy will be dumped into the network - type: boolean - x-ngsi: - model: https://schema.org/Boolean - 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 - selfConsumption: - description: Indicate whether energy generated will use for self - type: boolean - x-ngsi: - model: https://schema.org/Boolean - 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 - status: - description: 'Status of the green energy generator. Enum:''outOfService, withIncidence, working''' - enum: - - outOfService - - withIncidence - - working - type: string - x-ngsi: - model: https://schema.org/Text - type: Property - type: - description: NGSI Entity Type. It has to be GreenEnergyGenerator - enum: - - GreenEnergyGenerator - type: string - x-ngsi: - model: https://schema.org/Text - 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.GreenEnergy/blob/master/GreenEnergyGenerator/LICENSE.md - x-model-schema: https://smart-data-models.github.io/dataModel.GreenEnergy/GreenEnergyGenerator/schema.json - x-model-tags: "" - x-version: 0.0.2 -``` -
- - - - - ## ペイロードの例 - #### GreenEnergyGenerator NGSI-v2 キー値の例 - JSON-LD形式のGreenEnergyGeneratorのkey-valuesの例である。これは、`options=keyValues`を使用したときにNGSI-v2と互換性があり、個々のエンティティのコンテキストデータを返す。 -
show/hide example + +[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org) + エンティティグリーン・エナジー・ジェネレーター +======================= + + [オープン・ライセンス](https://github.com/smart-data-models//dataModel.GreenEnergy/blob/master/GreenEnergyGenerator/LICENSE.md) + [文書は自動的に生成される](https://docs.google.com/presentation/d/e/2PACX-1vTs-Ng5dIAwkg91oTTUdt8ua7woBXhPnwavZ0FxgR8BsAI_Ek3C5q97Nd94HS8KhP-r_quD4H0fgyt3/pub?start=false&loop=false&delayms=3000#slide=id.gb715ace035_0_60) + + + グローバルな説明**グリーンエネルギーからエネルギーを生成することができる一般的な発電所**。 + バージョン: 0.0.2 + + + + ## プロパティのリスト + + [*] 属性に型がない場合は、複数の型があるか、異なるフォーマット/パターンがある可能性があるためです。 +- `address[object]`: 郵送先住所 . Model: [https://schema.org/address](https://schema.org/address) - `addressCountry[string]`: 国。例えば、スペイン . Model: [https://schema.org/addressCountry](https://schema.org/addressCountry) + - `addressLocality[string]`: 番地がある地域と、その地域に含まれる地域 . Model: [https://schema.org/addressLocality](https://schema.org/addressLocality) + - `addressRegion[string]`: その地域がある地域、またその国がある地域 . Model: [https://schema.org/addressRegion](https://schema.org/addressRegion) + - `district[string]`: 地区とは行政区画の一種で、国によっては地方自治体によって管理されている。 + - `postOfficeBoxNumber[string]`: 私書箱の住所のための私書箱番号。例:03578 . Model: [https://schema.org/postOfficeBoxNumber](https://schema.org/postOfficeBoxNumber) + - `postalCode[string]`: 郵便番号。例:24004 . Model: [https://schema.org/https://schema.org/postalCode](https://schema.org/https://schema.org/postalCode) + - `streetAddress[string]`: 番地 . Model: [https://schema.org/streetAddress](https://schema.org/streetAddress) + - `streetNr[string]`: 公道上の特定の物件を特定する番号 +- `alternateName[string]`: この項目の別名 - `areaServed[string]`: サービスまたは提供品が提供される地理的地域 . Model: [https://schema.org/Text](https://schema.org/Text) - `dataProvider[string]`: ハーモナイズされたデータ・エンティティの提供者を識別する一連の文字。 - `dateCreated[date-time]`: エンティティの作成タイムスタンプ。これは通常、ストレージプラットフォームによって割り当てられます。 - `dateModified[date-time]`: エンティティの最終変更のタイムスタンプ。これは通常、ストレージプラットフォームによって割り当てられる。 - `description[string]`: この商品の説明 - `generationSources[array]`: 発電に使用される電源のリスト。Enum:'biomass, eolic, geothermal, hydropower, solar'. . Model: [https://schema.org/ItemList](https://schema.org/ItemList) - `id[*]`: エンティティの一意識別子 - `location[*]`: アイテムへの Geojson 参照。Point、LineString、Polygon、MultiPoint、MultiLineString、MultiPolygon のいずれか。 - `maxBiomassMeasure[number]`: 生成可能な最大バイオマスエネルギーの尺度。UN/CEFACT共通コード(最大3文字)を用いて与えられる測定の単位コード(テキスト)。 . Model: [https://schema.org/Number](https://schema.org/Number) - `maxEolicPowerMeasure[number]`: 発生可能な最大電気エネルギーの尺度。UN/CEFACT共通コード(最大3文字)を用いて与えられる測定単位コード(テキスト)。 . Model: [https://schema.org/Number](https://schema.org/Number) - `maxGeothermalPowerGenerated[number]`: 発電可能な最大地熱エネルギーの尺度。UN/CEFACT 共通コード(最大 3 文字)を用いて与えられる測定の単位コード(テキスト)。 . Model: [https://schema.org/Number](https://schema.org/Number) - `maxHydroPowerMeasure[number]`: 発電可能な最大水力エネルギーの尺度。UN/CEFACT共通コード(最大3文字)を用いて与えられる測定の単位コード(テキスト)。 . Model: [https://schema.org/Number](https://schema.org/Number) - `maxSolarPowerMeasure[number]`: 発電可能な最大太陽エネルギーの尺度。UN/CEFACT共通コード(最大3文字)を用いて与えられる測定の単位コード(テキスト)。 . Model: [https://schema.org/Number](https://schema.org/Number) - `name[string]`: このアイテムの名前 - `owner[array]`: 所有者の固有IDを参照するJSONエンコードされた文字列を含むリスト。 - `redistribution[boolean]`: 発電されたエネルギーがネットワークに捨てられるかどうかを示す。 . Model: [https://schema.org/Boolean](https://schema.org/Boolean) - `seeAlso[*]`: アイテムに関する追加リソースを指すURIのリスト - `selfConsumption[boolean]`: 発電したエネルギーを自家用に使用するかどうかを示す . Model: [https://schema.org/Boolean](https://schema.org/Boolean) - `source[string]`: エンティティ・データの元のソースを URL として示す一連の文字。ソース・プロバイダの完全修飾ドメイン名、またはソース・オブジェクトの URL を推奨する。 - `status[string]`: グリーンエネルギー発電機のステータス。Enum:'outOfService, withIncidence, working'. . Model: [https://schema.org/Text](https://schema.org/Text) - `type[string]`: NGSI エンティティタイプ。これは GreenEnergyGenerator でなければならない。 . Model: [https://schema.org/Text](https://schema.org/Text) + + 必須プロパティ +- `id` - `type` + + グリーンエネルギー発電機の汎用モデル。太陽エネルギーまたは電気エネルギーを使用してエネルギーを生成することができる装置。 + + + ## プロパティのデータモデル記述 + アルファベット順(クリックで詳細表示) + + +
full yaml details + ```yaml +GreenEnergyGenerator: + description: A generic generator station which can generate energy from green energy + 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 + generationSources: + description: 'A list of sources used for power generation. Enum:''biomass, eolic, geothermal, hydropower, solar''' + items: + enum: + - biomass + - eolic + - geothermal + - hydropower + - solar + type: string + minItems: 1 + type: array + uniqueItems: true + x-ngsi: + model: https://schema.org/ItemList + 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 + maxBiomassPowerGenerated: + description: A measure of maximum biomass energy that can be generated. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters) + type: number + x-ngsi: + model: https://schema.org/Number + type: Property + units: KWT + maxEolicPowerGenerated: + description: A measure of maximum eolic energy that can be generated. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters) + type: number + x-ngsi: + model: https://schema.org/Number + type: Property + units: KWT + maxGeothermalPowerGenerated: + description: A measure of maximum geothermal energy that can be generated. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters) + type: number + x-ngsi: + model: https://schema.org/Number + type: Property + units: KWT + maxHydroPowerGenerated: + description: A measure of maximum hydropower energy that can be generated. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters) + type: number + x-ngsi: + model: https://schema.org/Number + type: Property + units: KWT + maxSolarPowerGenerated: + description: A measure of maximum solar energy that can be generated. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters) + type: number + x-ngsi: + model: https://schema.org/Number + type: Property + units: KWT + 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 + redistribution: + description: Indicates whether the generated energy will be dumped into the network + type: boolean + x-ngsi: + model: https://schema.org/Boolean + 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 + selfConsumption: + description: Indicate whether energy generated will use for self + type: boolean + x-ngsi: + model: https://schema.org/Boolean + 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 + status: + description: 'Status of the green energy generator. Enum:''outOfService, withIncidence, working''' + enum: + - outOfService + - withIncidence + - working + type: string + x-ngsi: + model: https://schema.org/Text + type: Property + type: + description: NGSI Entity Type. It has to be GreenEnergyGenerator + enum: + - GreenEnergyGenerator + type: string + x-ngsi: + model: https://schema.org/Text + 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) 2023 Contributors to Smart Data Models Program' + x-license-url: https://github.com/smart-data-models/dataModel.GreenEnergy/blob/master/GreenEnergyGenerator/LICENSE.md + x-model-schema: https://smart-data-models.github.io/dataModel.GreenEnergy/GreenEnergyGenerator/schema.json + x-model-tags: "" + x-version: 0.0.3 +``` +
+ + + + + ## ペイロードの例 + #### GreenEnergyGenerator NGSI-v2 キー値の例 + JSON-LD形式のGreenEnergyGeneratorのkey-valuesの例である。これは、`options=keyValues`を使用したときにNGSI-v2と互換性があり、個々のエンティティのコンテキストデータを返す。 +
show/hide example ```json { "id": "urn:ngsi-ld:GreenEnergyGenerator:santander:GreenEnergy:greenEnergyGenerator:0001", @@ -478,10 +481,10 @@ GreenEnergyGenerator: "maxBiomassPowerGenerated": 0 } ``` -
- #### GreenEnergyGenerator NGSI-v2 正規化例 - 以下は、正規化された JSON-LD 形式の GreenEnergyGenerator の例です。これは、オプションを使用しない場合、NGSI-v2と互換性があり、個々のエンティティのコンテキストデータを返します。 -
show/hide example +
+ #### GreenEnergyGenerator NGSI-v2 正規化例 + 以下は、正規化された JSON-LD 形式の GreenEnergyGenerator の例です。これは、オプションを使用しない場合、NGSI-v2と互換性があり、個々のエンティティのコンテキストデータを返します。 +
show/hide example ```json { "id": "urn:ngsi-ld:GreenEnergy:santander:GreenEnergy:greenEnergyGenerator:0001", @@ -515,7 +518,7 @@ GreenEnergyGenerator: "eolic" ] }, - "maxSolarPowerGenerated": { + "maxSolarPowerGenerated":{ "type": "Number", "value": 20 }, @@ -525,10 +528,10 @@ GreenEnergyGenerator: } } ``` -
- #### GreenEnergyGenerator NGSI-LD キー値の例 - 以下は、GreenEnergyGenerator の JSON-LD フォーマットのキー値の例である。これは NGSI-LD と互換性があり、`options=keyValues` を使うと個々のエンティティのコンテキストデータを返す。 -
show/hide example +
+ #### GreenEnergyGenerator NGSI-LD キー値の例 + 以下は、GreenEnergyGenerator の JSON-LD フォーマットのキー値の例である。これは NGSI-LD と互換性があり、`options=keyValues` を使うと個々のエンティティのコンテキストデータを返す。 +
show/hide example ```json { "id": "urn:ngsi-ld:GreenEnergyGenerator:santander:GreenEnergy:greenEnergyGenerator:0001", @@ -545,25 +548,25 @@ GreenEnergyGenerator: 43.46296641666926 ] }, - "maxBiomassPowerGenerated": 0, - "maxEolicPowerGenerated": 7, - "maxHydroPowerGenerated": 0, - "maxSolarPowerGenerated": 15, "name": "generator solar and eolic #9e46d", "redistribution": false, "selfConsumption": true, "source": "bike-in.com", "status": "working", + "maxSolarPowerGenerated": 15, + "maxEolicPowerGenerated": 7, + "maxHydroPowerGenerated": 0, + "maxBiomassPowerGenerated": 0, "@context": [ "https://smart-data-models.github.io/data-models/context.jsonld", "https://raw.githubusercontent.com/smart-data-models/dataModel.GreenEnergy/master/context.jsonld" ] } ``` -
- #### GreenEnergyGenerator NGSI-LD 正規化例 - 以下は、正規化された JSON-LD 形式の GreenEnergyGenerator の例である。これは、オプションを使用しない場合のNGSI-LDと互換性があり、個々のエンティティのコンテキストデータを返します。 -
show/hide example +
+ #### GreenEnergyGenerator NGSI-LD 正規化例 + 以下は、正規化された JSON-LD 形式の GreenEnergyGenerator の例である。これは、オプションを使用しない場合のNGSI-LDと互換性があり、個々のエンティティのコンテキストデータを返します。 +
show/hide example ```json { "id": "urn:ngsi-ld:GreenEnergy:santander:GreenEnergy:greenEnergyGenerator:0001", @@ -612,12 +615,12 @@ GreenEnergyGenerator: ] } ``` -
- - - - マグニチュード単位の扱い方については、[FAQ 10](https://smartdatamodels.org/index.php/faqs/)を参照のこと。 - - ---- - [Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM) +
+ + + + マグニチュード単位の扱い方については、[FAQ 10](https://smartdatamodels.org/index.php/faqs/)を参照のこと。 + + +--- + [Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)