|
1 | | -<!-- 10-Header --> |
2 | | -[](https://smartdatamodels.org) |
3 | | -エンティティ: OSMShop |
4 | | -===============<!-- /10-Header --> |
5 | | -<!-- 15-License --> |
6 | | -[Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMShop/LICENSE.md) |
7 | | -[document generated automatically](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) |
8 | | -<!-- /15-License --> |
9 | | -<!-- 20-Description --> |
10 | | -グローバルな説明: **OpenStreetMapでタグ付けされたshop=*の店舗または小売店。小売製品をエンドカスタマーに直接販売する施設を表す** |
11 | | -バージョン: 0.0.1 |
12 | | -<!-- /20-Description --> |
13 | | -<!-- 30-PropertiesList --> |
| 1 | +<!-- 10-Header --> |
| 2 | +[](https://smartdatamodels.org) |
| 3 | +Entity: OSMShop |
| 4 | +===============<!-- /10-Header --> |
| 5 | +<!-- 15-License --> |
| 6 | +[Open License](https://github.com/smart-data-models//dataModel.OpenStreetMap/blob/master/OSMShop/LICENSE.md) |
| 7 | +[document generated automatically](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) |
| 8 | +<!-- /15-License --> |
| 9 | +<!-- 20-Description --> |
14 | 10 |
|
15 | | -## プロパティの一覧 |
| 11 | +Global description: **OpenStreetMapでshop=*タグが付けられた小売店舗。エンドユーザーに直接小売商品を販売する施設を表す** |
16 | 12 |
|
17 | | -<sup><sub>[*] 属性に型がない場合は、複数の型または異なる形式/パターンを持つ可能性があるためです</sub></sup> |
18 | | -- `address[object]`: 店舗の住所、schema.orgのPostalAddressに従って構造化されたもの - `addressCity[string]`: 住所の都市 |
19 | | - - `addressCountry[string]`: ISO 3166-1 alpha-2国コード |
20 | | - - `houseNumber[string]`: 家や建物の番号 |
21 | | - - `postalCode[string]`: 郵便番号 |
22 | | - - `streetAddress[string]`: 通り名 |
23 | | -- `alternateName[string]`: このアイテムの別名 - `areaServed[string]`: サービスまたは提供されたアイテムが提供される地理的なエリア . モデル: [https://schema.org/Text](https://schema.org/Text)- `brand[string]`: 店舗がチェーンまたはフランチャイズの一部である場合のブランド名 . モデル: [https://wiki.openstreetmap.org/wiki/Key:brand](https://wiki.openstreetmap.org/wiki/Key:brand)- `dataProvider[string]`: ハーモナイズされたデータエンティティを提供するプロバイダーのシーケンスの文字列 - `dateCreated[date-time]`: エンティティの作成タイムスタンプ。このタイムスタンプは通常、ストレージプラットフォームによって割り当てられます - `dateModified[date-time]`: エンティティの最後の変更のタイムスタンプ。このタイムスタンプは通常、ストレージプラットフォームによって割り当てられます - `description[string]`: このアイテムの説明 - `id[*]`: エンティティの一意の識別子 - `location[*]`: アイテムへのGeojsonリファレンス。Point、LineString、Polygon、MultiPoint、MultiLineString、またはMultiPolygonのいずれかになります - `name[string]`: このアイテムの名前 - `openingHours[string]`: 店舗の営業時間(OSM形式) . モデル: [https://wiki.openstreetmap.org/wiki/Key:opening_hours](https://wiki.openstreetmap.org/wiki/Key:opening_hours)- `operator[string]`: 店舗を運営するエンティティの名前 . モデル: [https://wiki.openstreetmap.org/wiki/Key:operator](https://wiki.openstreetmap.org/wiki/Key:operator)- `organic[string]`: 店舗が有機製品を販売するかどうかを示します . モデル: [https://wiki.openstreetmap.org/wiki/Key:organic](https://wiki.openstreetmap.org/wiki/Key:organic)- `osmId[number]`: 元のOpenStreetMap要素の整数識別子 - `osmLastModified[date-time]`: 最終変更のタイムスタンプ - `osmType[string]`: 元のOSM要素のタイプ - `owner[array]`: 所有者の一意のIDを参照するJSONエンコードされた文字列シーケンスを含むリスト - `phone[string]`: 店舗の電話番号 - `seeAlso[*]`: 追加のリソースを指すURIのリスト - `shopType[string]`: 小売カテゴリを分類するOSM店舗タグ。列挙体:'スーパーマーケット、コンビニエンスストア、パン屋、服、靴、美容院、自動車修理、自転車、ハードウェア、電子機器、フラワーショップ、書籍...' . モデル: [https://wiki.openstreetmap.org/wiki/Key:shop](https://wiki.openstreetmap.org/wiki/Key:shop)- `source[string]`: エンティティデータの元のソースをURLとして提供する文字列シーケンス。ソースプロバイダーの完全修飾ドメイン名、またはソースオブジェクトへのURLであることをお勧めします - `type[string]`: NGSIエンティティタイプ。OSMShopでなければなりません - `website[uri]`: 公式ウェブサイトのURL - `wheelchair[string]`: 車椅子アクセシビリティ . モデル: [https://wiki.openstreetmap.org/wiki/Key:wheelchair](https://wiki.openstreetmap.org/wiki/Key:wheelchair)<!-- /30-PropertiesList --> |
24 | | -<!-- 35-RequiredProperties --> |
25 | | -必須プロパティ |
26 | | -- `id` - `location` - `osmId` - `osmType` - `shopType` - `type` <!-- /35-RequiredProperties --> |
27 | | -<!-- 40-NotesYaml --> |
28 | | -<!-- /40-NotesYaml --> |
29 | | -<!-- 50-DataModelHeader --> |
30 | | -## プロパティのデータモデル説明 |
31 | | -アルファベット順に並べられている(詳細はクリックしてください) |
32 | | -<!-- /50-DataModelHeader --> |
33 | | -<!-- 60-ModelYaml --> |
34 | | -<details><summary><strong>フルYAMLの詳細</strong></summary> |
35 | | -```yaml |
| 13 | +version: 0.0.1 |
| 14 | +<!-- /20-Description --> |
| 15 | +<!-- 30-PropertiesList --> |
| 16 | + |
| 17 | +## プロパティ一覧 |
| 18 | + |
| 19 | +<sup><sub>[*] 属性に型がない場合は、複数の型や異なる形式/パターンを取り得るため</sub></sup> |
| 20 | +- `address[object]`: 店舗の住所。schema.orgのPostalAddressに従って構造化 |
| 21 | + - `addressCity[string]`: 住所の市区町村 |
| 22 | + - `addressCountry[string]`: ISO 3166-1 alpha-2 国コード |
| 23 | + - `houseNumber[string]`: 家屋番号または建物番号 |
| 24 | + - `postalCode[string]`: 郵便番号 |
| 25 | + - `streetAddress[string]`: 通りの名称 |
| 26 | +- `alternateName[string]`: この項目の別名 |
| 27 | +- `areaServed[string]`: サービスや提供される商品が存在する地理的エリア。モデル: [https://schema.org/Text](https://schema.org/Text) |
| 28 | +- `brand[string]`: 店舗がチェーンやフランチャイズの一部である場合のブランド名。モデル: [https://wiki.openstreetmap.org/wiki/Key:brand](https://wiki.openstreetmap.org/wiki/Key:brand) |
| 29 | +- `dataProvider[string]`: 調和されたデータエンティティの提供者を識別する文字列 |
| 30 | +- `dateCreated[date-time]`: エンティティ作成タイムスタンプ。通常はストレージプラットフォームによって割り当てられる |
| 31 | +- `dateModified[date-time]`: エンティティの最終更新タイムスタンプ。通常はストレージプラットフォームによって割り当てられる |
| 32 | +- `description[string]`: この項目の説明 |
| 33 | +- `id[*]`: エンティティの一意識別子 |
| 34 | +- `location[*]`: この項目へのジオJSON参照。Point、LineString、Polygon、MultiPoint、MultiLineString、MultiPolygonが可能 |
| 35 | +- `name[string]`: この項目の名称 |
| 36 | +- `openingHours[string]`: 店舗の営業時間(OSM形式)。モデル: [https://wiki.openstreetmap.org/wiki/Key:opening_hours](https://wiki.openstreetmap.org/wiki/Key:opening_hours) |
| 37 | +- `operator[string]`: 店舗を運営する組織の名称。モデル: [https://wiki.openstreetmap.org/wiki/Key:operator](https://wiki.openstreetmap.org/wiki/Key:operator) |
| 38 | +- `organic[string]`: 店舗が有機製品を販売しているかどうかを示す。モデル: [https://wiki.openstreetmap.org/wiki/Key:organic](https://wiki.openstreetmap.org/wiki/Key:organic) |
| 39 | +- `osmId[number]`: 元のOpenStreetMap要素の整数ID |
| 40 | +- `osmLastModified[date-time]`: 最終更新のタイムスタンプ |
| 41 | +- `osmType[string]`: 元のOSM要素の種類 |
| 42 | +- `owner[array]`: 所有者の一意IDを参照するJSONエンコードされた文字列のリスト |
| 43 | +- `phone[string]`: 店舗の電話番号 |
| 44 | +- `seeAlso[*]`: 関連リソースへのURIのリスト |
| 45 | +- `shopType[string]`: 小売カテゴリを分類するOSM shopタグ。Enum: 'supermarket, convenience, bakery, clothes, shoes, hairdresser, car_repair, bicycle, hardware, electronics, florist, books...'。モデル: [https://wiki.openstreetmap.org/wiki/Key:shop](https://wiki.openstreetmap.org/wiki/Key:shop) |
| 46 | +- `source[string]`: エンティティデータの元のソースURLとしての文字列。ソース提供者の完全修飾ドメイン名か、ソースオブジェクトへのURLを推奨 |
| 47 | +- `type[string]`: NGSIエンティティタイプ。値はOSMShopである必要がある |
| 48 | +- `website[uri]`: 公式ウェブサイトURL |
| 49 | +- `wheelchair[string]`: 車椅子アクセシビリティ。モデル: [https://wiki.openstreetmap.org/wiki/Key:wheelchair](https://wiki.openstreetmap.org/wiki/Key:wheelchair) |
| 50 | +<!-- /30-PropertiesList --> |
| 51 | + |
| 52 | +<!-- 35-RequiredProperties --> |
| 53 | + |
| 54 | +必須プロパティ |
| 55 | +- `id` |
| 56 | +- `location` |
| 57 | +- `osmId` |
| 58 | +- `osmType` |
| 59 | +- `shopType` |
| 60 | +- `type` |
| 61 | +<!-- /35-RequiredProperties --> |
| 62 | + |
| 63 | +<!-- 40-NotesYaml --> |
| 64 | +<!-- /40-NotesYaml --> |
| 65 | +<!-- 50-DataModelHeader --> |
| 66 | + |
| 67 | +## プロパティのデータモデル説明 |
| 68 | + |
| 69 | +アルファベット順(詳細についてはクリック) |
| 70 | +<!-- /50-DataModelHeader --> |
| 71 | +<!-- 60-ModelYaml --> |
| 72 | +<details><summary><strong>完全なYAMLの詳細</strong></summary> |
| 73 | +```yaml |
36 | 74 | OSMShop: |
37 | 75 | description: A shop or retail store from OpenStreetMap tagged with shop=*. Represents establishments selling retail products directly to end customers |
38 | 76 | properties: |
@@ -494,17 +532,20 @@ OSMShop: |
494 | 532 | x-model-schema: https://smart-data-models.github.io/dataModel.OpenStreetMap/OSMShop/schema.json |
495 | 533 | x-model-tags: OSM OpenStreetMap POI Shop |
496 | 534 | x-version: 0.0.1 |
497 | | -``` |
498 | | -</details> |
499 | | -<!-- /60-ModelYaml --> |
500 | | -<!-- 70-MiddleNotes --> |
501 | | -<!-- /70-MiddleNotes --> |
502 | | -<!-- 80-Examples --> |
503 | | -## ペイロードの例 |
504 | | -#### OSMShop NGSI-v2 キー値の例 |
505 | | -ここでは、キー値としてJSON形式のOSMShopの例を示します。これは、`options=keyValues`を使用して個々のエンティティのコンテキストデータを返す場合に、NGSI-v2と互換性があります。 |
506 | | -<details><summary><strong>例を表示/非表示</strong></summary> |
507 | | -```json |
| 535 | +``` |
| 536 | +</details> |
| 537 | +<!-- /60-ModelYaml --> |
| 538 | +<!-- 70-MiddleNotes --> |
| 539 | +<!-- /70-MiddleNotes --> |
| 540 | +<!-- 80-Examples --> |
| 541 | +
|
| 542 | +## 例のペイロード |
| 543 | +
|
| 544 | +#### OSMShop NGSI-v2 キー・バリュー形式の例 |
| 545 | +これはNGSI-v2で`options=keyValues`を使用した際に個別エンティティのコンテキストデータを返す、キー・バリュー形式のJSONによるOSMShopの例です。 |
| 546 | + |
| 547 | +<details><summary><strong>例を表示/非表示</strong></summary> |
| 548 | +```json |
508 | 549 | { |
509 | 550 | "id": "urn:ngsi-ld:OSMShop:node:9876543210", |
510 | 551 | "type": "OSMShop", |
@@ -535,12 +576,14 @@ OSMShop: |
535 | 576 | "https://www.openstreetmap.org/node/9876543210" |
536 | 577 | ] |
537 | 578 | } |
538 | | -``` |
539 | | -</details> |
540 | | -#### OSMShop NGSI-v2 正規化された例 |
541 | | -ここでは、正規化されたJSON形式のOSMShopの例を示します。これは、オプションを使用しない場合に、NGSI-v2と互換性があり、個々のエンティティのコンテキストデータを返します。 |
542 | | -<details><summary><strong>例を表示/非表示</strong></summary> |
543 | | -```json |
| 579 | +``` |
| 580 | +</details> |
| 581 | + |
| 582 | +#### OSMShop NGSI-v2 標準形式の例 |
| 583 | +これはオプションを使用しないNGSI-v2で個別エンティティのコンテキストデータを返す、標準形式のJSONによるOSMShopの例です。 |
| 584 | + |
| 585 | +<details><summary><strong>例を表示/非表示</strong></summary> |
| 586 | +```json |
544 | 587 | { |
545 | 588 | "id": "urn:ngsi-ld:OSMShop:node:9876543210", |
546 | 589 | "type": "OSMShop", |
@@ -610,12 +653,14 @@ OSMShop: |
610 | 653 | ] |
611 | 654 | } |
612 | 655 | } |
613 | | -``` |
614 | | -</details> |
615 | | -#### OSMShop NGSI-LD キー値の例 |
616 | | -ここでは、キー値としてJSON-LD形式のOSMShopの例を示します。これは、`options=keyValues`を使用して個々のエンティティのコンテキストデータを返す場合に、NGSI-LDと互換性があります。 |
617 | | -<details><summary><strong>例を表示/非表示</strong></summary> |
618 | | -```json |
| 656 | +``` |
| 657 | +</details> |
| 658 | + |
| 659 | +#### OSMShop NGSI-LD キー・バリュー形式の例 |
| 660 | +これはNGSI-LDで`options=keyValues`を使用した際に個別エンティティのコンテキストデータを返す、キー・バリュー形式のJSON-LDによるOSMShopの例です。 |
| 661 | + |
| 662 | +<details><summary><strong>例を表示/非表示</strong></summary> |
| 663 | +```json |
619 | 664 | { |
620 | 665 | "id": "urn:ngsi-ld:OSMShop:node:9876543210", |
621 | 666 | "type": "OSMShop", |
@@ -649,12 +694,14 @@ OSMShop: |
649 | 694 | "https://raw.githubusercontent.com/smart-data-models/dataModel.OpenStreetMap/refs/heads/master/context.jsonld" |
650 | 695 | ] |
651 | 696 | } |
652 | | -``` |
653 | | -</details> |
654 | | -#### OSMShop NGSI-LD 正規化された例 |
655 | | -ここでは、正規化されたJSON-LD形式のOSMShopの例を示します。これは、オプションを使用しない場合に、NGSI-LDと互換性があり、個々のエンティティのコンテキストデータを返します。 |
656 | | -<details><summary><strong>例を表示/非表示</strong></summary> |
657 | | -```json |
| 697 | +``` |
| 698 | +</details> |
| 699 | + |
| 700 | +#### OSMShop NGSI-LD 標準形式の例 |
| 701 | +これはオプションを使用しないNGSI-LDで個別エンティティのコンテキストデータを返す、標準形式のJSON-LDによるOSMShopの例です。 |
| 702 | + |
| 703 | +<details><summary><strong>例を表示/非表示</strong></summary> |
| 704 | +```json |
658 | 705 | { |
659 | 706 | "id": "urn:ngsi-ld:OSMShop:node:9876543210", |
660 | 707 | "type": "OSMShop", |
@@ -730,13 +777,15 @@ OSMShop: |
730 | 777 | "https://raw.githubusercontent.com/smart-data-models/dataModel.OpenStreetMap/refs/heads/master/context.jsonld" |
731 | 778 | ] |
732 | 779 | } |
733 | | -``` |
734 | | -</details><!-- /80-Examples --> |
735 | | -<!-- 90-FooterNotes --> |
736 | | -<!-- /90-FooterNotes --> |
737 | | -<!-- 95-Units --> |
738 | | -[FAQ 10](https://smartdatamodels.org/index.php/faqs/)を参照して、数量単位を扱う方法についての回答を得てください |
739 | | -<!-- /95-Units --> |
740 | | -<!-- 97-LastFooter --> |
741 | | ---- |
742 | | -[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter --> |
| 780 | +``` |
| 781 | +</details> |
| 782 | +<!-- /80-Examples --> |
| 783 | + |
| 784 | +<!-- 90-FooterNotes --> |
| 785 | +<!-- /90-FooterNotes --> |
| 786 | +<!-- 95-Units --> |
| 787 | +[FAQ 10](https://smartdatamodels.org/index.php/faqs/) 単位の扱いに関する回答については<NT_63/>を参照 |
| 788 | +<!-- /95-Units --> |
| 789 | +<!-- 97-LastFooter --> |
| 790 | +--- |
| 791 | +[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter --> |
|
0 commit comments