Skip to content

Latest commit

 

History

History
1458 lines (1401 loc) · 56.5 KB

File metadata and controls

1458 lines (1401 loc) · 56.5 KB

Smart Data Models

エンティティ道路事故

オープン・ライセンス

文書は自動的に生成される

グローバルな記述:交通事故の原因と後遺症の説明。シンクロニシティ・プロジェクトで開発された最初のバージョン

バージョン: 0.0.1

プロパティのリスト

[*] 属性に型がない場合は、複数の型があるか、異なるフォーマット/パターンがある可能性があるためです

  • accidentDate[date-time]: 事故発生日時 . Model: https://schema.org/DateTime
  • accidentDescription[array]: 本交通事故に関する記述として、コード化された状況を列挙する。0:特定できない状況、1:曲がることなく規則正しく進行した、2:脇見運転や進路未定で進行した、3:安全な車間距離を保たずに進行した、4:右から来る車両を優先せずに進行した、5:停止を無視して進行した、6:優先信号を無視して進行した、7:8: 信号や係員の合図を無視して進行した 10: 通行禁止や進入禁止の標識を無視して進行した 11: スピード違反をして進行した 12: 制限速度を無視して進行した 13: ライトがまぶしく他の車両を横切った 14:規則正しく右折した、15:不規則に右折した、16:規則正しく左折した、17:不規則に左折した、18:交差点を通過した、20:規則正しく進行した、21:脇見運転や進路未定で進行した、22:安全な車間距離を保たずに進行した、23:スピード違反で進行した、24:制限速度を守らずに進行した 25: 車道の右端近くを通らなかった 26: 交通に逆らって進行した 27: 通行禁止または進入禁止の標識を無視して進行した 28: 他の車両を横切る眩しいライトを点灯して進行した 29: 規則正しく追い越した 30: 右側に不規則に追い越した 31:31:カーブ、坂道、見通しの悪い場所で追い越した 32:追い越し中の車両を追い越した 33:適切な通行禁止標識を無視して追い越した 34:降格または転換の操作をした 35:循環の流れに乗る操作をした 36:左折する操作をした(私道、販売店) 37:運転者が規則正しく停止または停車するように操作した; 38: 運転者が不規則に停止または停車するように操作した; 39: 他の不規則な二輪車と一緒になった; 40: 運転者が規則正しく進行した; 41: 運転者がスピードを出しながら進行した; 42: 運転者が制限速度を守らずに進行した; 43: 運転者が交通に逆らって進行した; 44: 運転者がギアを入れたまま通過した; 45: 操縦した; 46:信号や係員の合図を無視した運転、 47: 車道から無防備に出てきた、 48: 車線からはみ出し、手先にぶつかった、 49: 適切な横断歩道で歩行者を優先しなかった、 50: 横断歩道を通行するために停止している車両を追い越した、 51: 荷物を持った歩行者にぶつかった、 52: 停止している路面電車を不規則に追い越した、 60:61: 脇見運転または進路未定であった 62: 安全な車間距離を保たずに進行した 63: 交通に逆らって進行した 64: スピード違反で進行した 65: 制限速度を無視して進行した 66: 通行禁止または進入禁止の標識を無視して進行した 67:67:ギアを入れたまま他の車両を追い越した場合。 68:不注意で踏切を越えた場合:漫然運転による流出を伴うリスニング、72:速度超過で流出、73:運転者が急ブレーキをかけ、その結果搬送された;74:ドア開放による車両からの転落; 75: 走行中の車両からの降下による車両からの転落; 76:76:しがみつきまたは不適切な配置による車両からの人の転落; 80:ブレーキの故障または不具合; 81:82:タイヤの破裂または過度の摩耗;83:83:前照灯またはポジションランプの欠落または不備;84:点滅灯または停止灯信号機の欠落または不備;85:トレーラーの連結部品の破損;86:危険物輸送装置の不備;87:身体障害者用車両に規定された適合の不備、88:車輪の脱落、89:自転車用視覚装置の欠如または不備 . Model: https://schema.org/Text
  • accidentLocation[string]: 事故が市街地または市街地外で発生した場合の簡単な説明。0:市街地内の地方道 1:市街地内の地方道 2:市街地内の地方道 3:村落内の州道 4:市街地外の地方道 5:地方道 6:州道 7:高速道路 8:別の道 9:地方道
  • accidentStatisticalDate[object]: 事故が発生したおおよその日時(元の事故データ・ソースは、季節、平日、おおよその時間といった統計的属性のみを報告していることが多い . Model: https://schema.org/DateTime
    • hour:
    • quarter:
    • weekday[string]: 平日
  • accidentType[array]: この交通事故を簡単に分類すると1:正面衝突、2:正面-側面衝突、3:側面衝突、4:衝突、5:歩行者の衝突、6:停車中または停止中の車両との衝突、7:駐車中の車両との衝突、8:障害物との衝突、9:列車との衝突、10:流出、スリップ、11:急ブレーキによる事故、12:車両からの転落による事故。
  • address[object]: 郵送先住所 . Model: https://schema.org/address
  • alternateName[string]: この項目の別名
  • areaServed[string]: サービスまたは提供品が提供される地理的地域 . Model: https://schema.org/Text
  • dataProvider[string]: ハーモナイズされたデータ・エンティティの提供者を識別する一連の文字。
  • dateCreated[date-time]: エンティティの作成タイムスタンプ。これは通常、ストレージプラットフォームによって割り当てられます。
  • dateModified[date-time]: エンティティの最終変更のタイムスタンプ。これは通常、ストレージプラットフォームによって割り当てられる。
  • description[string]: この商品の説明
  • id[*]: エンティティの一意識別子
  • localId[string]: ソースデータセットからの一意の識別子 . Model: https://schema.org/Text
  • location[*]: アイテムへの Geojson 参照。Point、LineString、Polygon、MultiPoint、MultiLineString、MultiPolygon のいずれか。
  • name[string]: このアイテムの名前
  • numPassengersDead[number]: 事故により死亡した同乗者の数 . Model: https://schema.org/Number
  • numPassengersInjured[number]: 事故による同乗者の負傷者数 . Model: https://schema.org/Number
  • numPedestrianDead[number]: 事故による歩行者の死者数 . Model: https://schema.org/Number
  • numPedestrianInjured[number]: 事故による歩行者の負傷者数 . Model: https://schema.org/Number
  • owner[array]: 所有者の固有IDを参照するJSONエンコードされた文字列を含むリスト。
  • pedestriansInvolved[boolean]: 歩行者が事故に巻き込まれたかどうかを判断するブール値
  • roadClass[string]: 事故が起きた道路の分類 . Model: https://wiki.openstreetmap.org/wiki/Key:highway
  • roadIntersection[string]: 事故が発生した道路の簡単な説明。 1:十字路、2:ラウンドアバウト、3:報告された交差点、4:信号機のある交差点、5:報告されていない交差点、6:踏切、7:直線、8:カーブ、9:バンプ、ボトルネック、10:坂道、11:照明されたギャラリー、12:照明のないギャラリー;
  • roadPaving[string]: 道路の舗装1:舗装道路、2:粗舗装道路、3:未舗装道路;
  • roadSign[string]: 事故現場の道路標識の簡単な説明。1:なし、2:縦、3:横、4:縦と横、5:工事現場による仮設;
  • roadSurface[string]: 事故時の道路状況の簡単な説明。1:乾いている、2:濡れている、3:滑りやすい、4:凍っている、5:雪が積もっている;
  • roadTrunk[string]: 事故が発生した道路の幹の種類の簡単な説明。1:道路分岐、2:二次分岐、3:小分岐、4:ジャンクション分岐、5:道路分岐点、6:高速道路左車線、7:高速道路右車線、8:高速道路ジャンクション入口、9:高速道路出口ジャンクション、10:高速道路ジャンクション幹線、11:高速道路駅、12:その他のケース、15:都市外道路
  • seeAlso[*]: アイテムに関する追加リソースを指すURIのリスト
  • source[string]: エンティティ・データの元のソースを URL として示す一連の文字。ソース・プロバイダの完全修飾ドメイン名、またはソース・オブジェクトの URL を推奨する。
  • status[string]: 交通事故の状況。列挙:アーカイブ、進行中、解決済み . Model: https://schema.org/Text
  • totalDeadPeopleWithin24Hours[number]: 事故による直接死者数 . Model: https://schema.org/Number
  • totalDeadPeopleWithin30Days[number]: 事故による死者数 . Model: https://schema.org/Number
  • totalInjured[number]: 事故による負傷者(死者ではない)の総数 . Model: https://schema.org/Number
  • type[string]: NGSIエンティティタイプ。RoadAccidentでなければならない。
  • vehiclesInvolved[array]: 事故車両(および歩行者)リスト 0 : 歩行者 1 : 自転車 2 : 農業用車両 3 : バス 4 : ミニバス 5 : 自動車 6 : キャラバン 7 : 路面電車 8 : タンクローリー 9 : キャラバン付き自動車 10 : トレーラー付き自動車 11 :ローリー 12 : 原付 13 : タンクローリー 14 : オートバイ 15 : サイドカー付きオートバイ 16 : モータースクーター 17 : トレーラー 18 : バン 19 : キャラバン 20 : 建設車輌 21 : トロリー 22 : ビントロリー 23 : 掃き掃除車輌 24 : 清掃車輌
  • weakestSubject[string]: 事故に巻き込まれた最も弱い主体(通常は歩行者)を表す車両。0 : 歩行者 1 : 自転車 2 : 農業用車両 3 : バス 4 : ミニバス 5 : 自動車 6 : キャラバン 7 : 路面電車 8 : タンクローリー 9 : キャラバン付き自動車 10 : トレーラー付き自動車 11 : ローリー 12 : 原付 13 : タンクローリー 14 : オートバイ 15 : サイドカー付きオートバイ 16 : モータースクーター 17 : トレーラー 18 : バン 19 : キャラバン 20 : 建設または保守用車両 21 : トロリー 22 : ビントロリー 23 : 掃き掃除用機械 24 : 清掃用トロリー
  • weatherConditions[array]: 交通事故発生時の天候を簡単にご記入ください。0 : 晴夜 1 : 晴昼 2 : やや曇り 3 : 部分曇り 4 : 霧 5 : 霧 6 : 高雲 7 : 曇り 8 : 非常に曇り 9 : 曇り 10 : 小雨 11 : 霧雨 12 : 小雨 13 :heavyRainShower 14 : heavyRain 15 : sleetShower 16 : sleet 17 : hailShower 18 : hail 19 : shower 20 : lightSnow 21 : snow 22 : heavySnowShower 23 : heavySnow 24 : thunderShower 25 : thunder

必須プロパティ

  • id
  • status
  • type

シンクロニシティ・プロジェクトに由来するデータ・モデル

プロパティのデータモデル記述

アルファベット順(クリックで詳細表示)

full yaml details
RoadAccident:      
  description: A road accident description with causes and aftermath. First version developed in Synchronicity project      
  properties:      
    accidentDate:      
      description: Datetime of the accident      
      format: date-time      
      type: string      
      x-ngsi:      
        model: https://schema.org/DateTime      
        type: Property      
    accidentDescription:      
      description: 'Description about this Road Accident as a combination of codified situation enlisted. 0: Unspecified circumstance; 1: Driver proceeded regularly without turning; 2: Driver proceeded with a distracted driving or undecided course; 3: Driver proceeded without maintaining a safe distance; 4: Driver proceeded without giving priority to the vehicle coming from the right; 5: Driver proceeded without respecting the stop; 6: Driver proceeded without respecting the signal to give precedence; 7: Driver proceeded against traffic; 8: Driver proceeded without respecting the traffic light or agent signals; 10: Driver proceeded without respecting the signs of prohibition of transit or access; 11: Driver proceeded with speeding; 12: Driver proceeded without respecting the speed limits; 13: Driver proceeded with the dazzling lights crossing other vehicles; 14: Driver turned right regularly; 15: It turned irregularly to the right; 16: Driver turned left regularly; 17: It turned irregularly to the left; 18: Driver passed at the intersection; 20: Driver proceeded regularly; 21: Driver proceeded with a distracted driving or undecided course; 22: Driver proceeded without maintaining a safe distance; 23: Driver proceeded with speeding; 24: Driver proceeded without respecting the speed limits; 25: It proceeded not near the right edge of the roadway; 26: Driver proceeded against traffic; 27: Driver proceeded without respecting the signs of prohibition of transit or access; 28: Driver proceeded with the dazzling lights crossing other vehicles; 29: Driver passed regularly; 30: It passed irregularly to the right; 31: Driver overtook on a curve, on a hill or with insufficient visibility; 32: It overtook a vehicle that was overtaking another; 33: Driver passed without observing the appropriate prohibition sign; 34: Maneuvered in relegation or conversion; 35: Driver maneuvered to get into the flow of circulation; 36: Maneuvering To turn left (private passage, distributor); 37: Driver maneuvered regularly to stop or stop; 38: Driver maneuvered irregularly to stop or stop; 39: It was joined by other irregular two-wheeled vehicles; 40: Driver proceeded regularly; 41: Driver proceeded with speeding; 42: Driver proceeded without respecting the speed limits; 43: Driver proceeded against traffic; 44: Driver passed the vehicle in gear; 45: Maneuvered; 46: Maneuvered without respecting traffic light or agent signals; 47: Driver came out of the driveway without precaution; 48: Driver stepped out of the lane and hit the pawn; 49: It did not give priority to the pedestrian on the appropriate crossings; 50: It overtook a vehicle stopped to allow the crossing; 51: Driver hit the pedestrian with the load; 52: Driver was passing a tram unevenly at the stop; 60: Driver proceeded regularly; 61: Driver proceeded with a distracted driving or undecided course; 62: Driver proceeded without maintaining a safe distance; 63: Driver proceeded against traffic; 64: Driver proceeded with speeding; 65: Driver proceeded without respecting the speed limits; 66: Driver proceeded without respecting the signs of prohibition of transit or access; 67: Driver was passing another vehicle in gear; 68: Driver imprudently crossed the level crossing; 70: Spill with spillage to avoid impact; 71: Listening with spillage for distracted driving; 72: List with over-speed spill; 73: Driver suddenly braked with consequence to the transported; 74: Fall of person from vehicle for: door opening; 75: Fall of person from vehicle for: descent from vehicle in motion; 76: Fall of person from vehicle due to: clinging or improperly placed; 80: Brake failure or failure; 81: Breakage or steering failure; 82: Tire burst or excessive wear; 83: Lack or insufficiency of headlights or position lights; 84: Lack or insufficiency of flashing lights or stopping light signals; 85: Breaking of trailer coupling parts; 86: Deficiency of dangerous goods transport equipment; 87: Deficiency of the adaptations prescribed to vehicles of physically handicapped people; 88: Wheel detachment; 89: Lack or insufficiency      
        of visual devices for cycles'      
      items:      
        enum:      
          - 0      
          - 1      
          - 2      
          - 3      
          - 4      
          - 5      
          - 6      
          - 7      
          - 8      
          - 9      
          - 10      
          - 11      
          - 12      
          - 13      
          - 14      
          - 15      
          - 16      
          - 17      
          - 18      
          - 19      
          - 20      
          - 21      
          - 22      
          - 23      
          - 24      
          - 25      
          - 26      
          - 27      
          - 28      
          - 29      
          - 30      
          - 31      
          - 32      
          - 33      
          - 34      
          - 35      
          - 36      
          - 37      
          - 38      
          - 39      
          - 40      
          - 41      
          - 42      
          - 43      
          - 44      
          - 45      
          - 46      
          - 47      
          - 48      
          - 49      
          - 50      
          - 51      
          - 52      
          - 53      
          - 54      
          - 55      
          - 56      
          - 57      
          - 58      
          - 59      
          - 60      
          - 61      
          - 62      
          - 63      
          - 64      
          - 65      
          - 66      
          - 67      
          - 68      
          - 69      
          - 70      
          - 71      
          - 72      
          - 73      
          - 74      
          - 75      
          - 76      
          - 77      
          - 78      
          - 79      
          - 80      
          - 81      
          - 82      
          - 83      
          - 84      
          - 85      
          - 86      
          - 87      
          - 88      
          - 89      
        type: string      
      type: array      
      x-ngsi:      
        model: https://schema.org/Text      
        type: Property      
    accidentLocation:      
      description: 'Brief description if the accident took place in a urban or extra-urban area. 0: Regional within the urban area 1: Urban road in the town 2: Provincial road within the town 3: State road within the village 4: Extra-urban road 5: Provincial 6: State road 7: Highway 8: Another way 9: Regional road'      
      enum:      
        - 0      
        - 1      
        - 2      
        - 3      
        - 4      
        - 5      
        - 6      
        - 7      
        - 8      
        - 9      
      type: string      
      x-ngsi:      
        type: Property      
    accidentStatisticalDate:      
      description: 'approximate datetime of the accident (often original accident data source reports only statistical attributes such as season, weekday and approximate hour'      
      properties:      
        hour:      
          type: integer      
        quarter:      
          type: integer      
        weekday:      
          description: Week days      
          enum:      
            - Monday      
            - Tuesday      
            - Wednesday      
            - Thursday      
            - Friday      
            - Saturday      
            - Sunday      
          type: string      
        year:      
          type: integer      
      type: object      
      x-ngsi:      
        model: https://schema.org/DateTime      
        type: Property      
    accidentType:      
      description: 'Quick classification this Road Accident. 1: Frontal collision; 2: Frontal-lateral collision; 3: Side crash; 4: Collision; 5: Pedestrian investment; 6: Impact with vehicle stopped or stopped; 7: Impact with parked vehicle; 8: Impact with obstacle; 9: Impact with train; 10: Spill, slip; 11: Accident due to sudden braking; 12: Accident due to falling from a vehicle;. '      
      items:      
        enum:      
          - 1      
          - 2      
          - 3      
          - 4      
          - 5      
          - 6      
          - 7      
          - 8      
          - 9      
          - 10      
          - 11      
          - 12      
        type: string      
      type: array      
      x-ngsi:      
        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      
    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      
    localId:      
      description: Unique identifier from the source data set      
      type: string      
      x-ngsi:      
        model: https://schema.org/Text      
        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      
    numPassengersDead:      
      description: Number of vehicle's passengers dead because the accident      
      minimum: 0      
      type: number      
      x-ngsi:      
        model: https://schema.org/Number      
        type: Property      
    numPassengersInjured:      
      description: Number of vehicle's passengers injured because the accident      
      minimum: 0      
      type: number      
      x-ngsi:      
        model: https://schema.org/Number      
        type: Property      
    numPedestrianDead:      
      description: Number of pedestrians dead because the accident      
      minimum: 0      
      type: number      
      x-ngsi:      
        model: https://schema.org/Number      
        type: Property      
    numPedestrianInjured:      
      description: Number of pedestrians injured because the accident      
      minimum: 0      
      type: number      
      x-ngsi:      
        model: https://schema.org/Number      
        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      
    pedestriansInvolved:      
      description: Boolean to determine if pedestrians were involved in the accidents      
      type: boolean      
      x-ngsi:      
        type: Property      
    roadClass:      
      description: ' The classification of road where this accident took place'      
      type: string      
      x-ngsi:      
        model: https://wiki.openstreetmap.org/wiki/Key:highway      
        type: Property      
    roadIntersection:      
      description: 'Brief description of the piece of the road where the accident took place.   1: Crossroad; 2: Roundabout; 3: Reported intersection; 4: Intersection with traffic light; 5: Intersection not reported; 6: Rail crossing; 7: Straight; 8: Curve; 9: Bump, bottleneck; 10: Slope; 11: Illuminated gallery; 12: Unlit gallery;'      
      enum:      
        - 1      
        - 2      
        - 3      
        - 4      
        - 5      
        - 6      
        - 7      
        - 8      
        - 9      
        - 10      
        - 11      
        - 12      
      type: string      
      x-ngsi:      
        type: Property      
    roadPaving:      
      description: 'Road paving. 1: Paved road; 2: Rough paved road; 3: Unpaved road;'      
      enum:      
        - 1      
        - 2      
        - 3      
      type: string      
      x-ngsi:      
        type: Property      
    roadSign:      
      description: 'Brief description of the road sign where the accident took place. 1: Absent; 2: Vertical; 3: Horizontal; 4: Vertical and horizontal; 5: Temporary by construction site;'      
      enum:      
        - 1      
        - 2      
        - 3      
        - 4      
        - 5      
      type: string      
      x-ngsi:      
        type: Property      
    roadSurface:      
      description: 'Brief description of the condition of the road during the accident. 1: Dry; 2: Wet; 3: Slippery; 4: frozen; 5: Snowcapped;'      
      enum:      
        - 1      
        - 2      
        - 3      
        - 4      
        - 5      
      type: string      
      x-ngsi:      
        type: Property      
    roadTrunk:      
      description: 'Brief description of type of trunk of the road where the accident took place. 1: Road branch; 2: Secondary branch; 3: Minor branch; 4: Junction branch; 5: Road junction; 6: Motorway left lane; 7: Highway carriageway right; 8: Motorway junction entrance; 9: Highway exit junction; 10: Highway junction trunk; 11: Highway station; 12: Other cases; 15: Extra urban road'      
      enum:      
        - 1      
        - 2      
        - 3      
        - 4      
        - 5      
        - 6      
        - 7      
        - 8      
        - 9      
        - 10      
        - 11      
        - 12      
        - 15      
      type: string      
      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      
    status:      
      description: 'Status of the Road Accident. Enum:''archived, onGoing, solved'''      
      enum:      
        - archived      
        - onGoing      
        - solved      
      type: string      
      x-ngsi:      
        model: https://schema.org/Text      
        type: Property      
    totalDeadPeopleWithin24Hours:      
      description: Number of people dead directly because the accident      
      minimum: 0      
      type: number      
      x-ngsi:      
        model: https://schema.org/Number      
        type: Property      
    totalDeadPeopleWithin30Days:      
      description: Number of people dead because the aftermath of the accident      
      minimum: 0      
      type: number      
      x-ngsi:      
        model: https://schema.org/Number      
        type: Property      
    totalInjured:      
      description: total number of people injured (not dead) because the accident      
      minimum: 0      
      type: number      
      x-ngsi:      
        model: https://schema.org/Number      
        type: Property      
    type:      
      description: NGSI Entity type. it has to be RoadAccident      
      enum:      
        - RoadAccident      
      type: string      
      x-ngsi:      
        type: Property      
    vehiclesInvolved:      
      description: 'List of the vehicles (and pedestrians) involved because the accident 0 : pedestrian 1 : bicycle 2 : agriculturalVehicle 3 : bus 4 : minibus 5 : car 6 : caravan 7 : tram 8 : tanker 9 : carWithCaravan 10 : carWithTrailer 11 : lorry 12 : moped 13 : tanker 14 : motorcycle 15 : motorcycleWithSideCar 16 : motorscooter 17 : trailer 18 : van 19 : caravan 20 : constructionOrMaintenanceVehicle 21 : trolley 22 : binTrolley 23 : sweepingMachine 24 : cleaningTrolley'      
      items:      
        enum:      
          - 0      
          - 1      
          - 2      
          - 3      
          - 4      
          - 5      
          - 6      
          - 7      
          - 8      
          - 9      
          - 10      
          - 11      
          - 12      
          - 13      
          - 14      
          - 15      
          - 16      
          - 17      
          - 18      
          - 19      
          - 20      
          - 21      
          - 22      
          - 23      
          - 24      
        type: string      
      type: array      
      x-ngsi:      
        type: Property      
    weakestSubject:      
      description: 'vehicle that represent the weakest subject involved because the accident (usually pedestrian). 0 : pedestrian 1 : bicycle 2 : agriculturalVehicle 3 : bus 4 : minibus 5 : car 6 : caravan 7 : tram 8 : tanker 9 : carWithCaravan 10 : carWithTrailer 11 : lorry 12 : moped 13 : tanker 14 : motorcycle 15 : motorcycleWithSideCar 16 : motorscooter 17 : trailer 18 : van 19 : caravan 20 : constructionOrMaintenanceVehicle 21 : trolley 22 : binTrolley 23 : sweepingMachine 24 : cleaningTrolley'      
      enum:      
        - 0      
        - 1      
        - 2      
        - 3      
        - 4      
        - 5      
        - 6      
        - 7      
        - 8      
        - 9      
        - 10      
        - 11      
        - 12      
        - 13      
        - 14      
        - 15      
        - 16      
        - 17      
        - 18      
        - 19      
        - 20      
        - 21      
        - 22      
        - 23      
        - 24      
      type: string      
      x-ngsi:      
        type: Property      
    weatherConditions:      
      description: 'Brief description of weather conditions during this Road Accident. 0 : clearNight 1 : sunnyDay 2 : slightlyCloudy 3 : partlyCloudy 4 : mist 5 : fog 6 : highClouds 7 : cloudy 8 : veryCloudy 9 : overcast 10 : lightRainShower 11 : drizzle 12 : lightRain 13 : heavyRainShower 14 : heavyRain 15 : sleetShower 16 : sleet 17 : hailShower 18 : hail 19 : shower 20 : lightSnow 21 : snow 22 : heavySnowShower 23 : heavySnow 24 : thunderShower 25 : thunder'      
      items:      
        enum:      
          - 0      
          - 1      
          - 2      
          - 3      
          - 4      
          - 5      
          - 6      
          - 7      
          - 8      
          - 9      
          - 10      
          - 11      
          - 12      
          - 13      
          - 14      
          - 15      
          - 16      
          - 17      
          - 18      
          - 19      
          - 20      
          - 21      
          - 22      
          - 23      
          - 24      
          - 25      
        type: string      
      type: array      
      x-ngsi:      
        type: Property      
  required:      
    - id      
    - type      
    - status      
  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.Transportation/blob/master/RoadAccident/LICENSE.md      
  x-model-schema: https://smart-data-models.github.io/dataModel.Transportation/RoadAccident/schema.json      
  x-model-tags: ""      
  x-version: 0.0.1      

ペイロードの例

RoadAccident NGSI-v2 キー値の例

RoadAccidentのJSON-LD形式のkey-valuesの例である。これはNGSI-v2と互換性があり、options=keyValuesを使用すると、個々のエンティティのコンテキストデータを返す。

show/hide example
{  
  "id": "urn:ngsi-ld:RoadAccident:id:ORHW:45620815",  
  "type": "RoadAccident",  
  "dateCreated": "2018-06-23T04:19:24Z",  
  "dateModified": "2020-10-29T08:36:40Z",  
  "source": "To be defined",  
  "name": "Name of the element of the accident.",  
  "alternateName": "Other name.",  
  "description": "Clash in the middle of a traffic light",  
  "dataProvider": "Municipality.",  
  "owner": [  
    "urn:ngsi-ld:RoadAccident:items:SUUU:18395806",  
    "urn:ngsi-ld:RoadAccident:items:GVOF:30958855"  
  ],  
  "seeAlso": [  
    "urn:ngsi-ld:RoadAccident:items:ESLS:37894243",  
    "urn:ngsi-ld:RoadAccident:items:ZNUH:87936284"  
  ],  
  "location": {  
    "type": "Point",  
    "coordinates": [  
      -56.6404505,  
      168.370658  
    ]  
  },  
  "address": {  
    "streetAddress": "FranklinStrasse",  
    "addressLocality": "Berlin",  
    "addressRegion": "Berlin",  
    "addressCountry": "Germany",  
    "postalCode": "10387",  
    "postOfficeBoxNumber": "",  
    "areaServed": "worldwide."  
  },  
  "areaServed": "worldwide",  
  "localId": "20210312-A1.",  
  "status": "onGoing",  
  "accidentDate": "2021-03-12T13:59:36Z",  
  "accidentStatisticalDate": {  
    "year": 2021,  
    "quarter": 1,  
    "weekday": "Friday",  
    "hour": 4  
  },  
  "accidentType": [  
    "10",  
    "6"  
  ],  
  "accidentDescription": [  
    "23",  
    "46"  
  ],  
  "weatherConditions": [  
    "10",  
    "20"  
  ],  
  "roadSurface": "2",  
  "roadPaving": "2",  
  "accidentLocation": "5",  
  "roadClass": "Motorway.",  
  "roadIntersection": "8",  
  "roadTrunk": "12",  
  "roadSign": "5",  
  "pedestriansInvolved": true,  
  "vehiclesInvolved": [  
    "21",  
    "6"  
  ],  
  "weakestSubject": "20",  
  "numPassengersInjured": 1,  
  "numPassengersDead": 1,  
  "numPedestrianInjured": 1,  
  "numPedestrianDead": 0,  
  "totalInjured": 2,  
  "totalDeadPeopleWithin30Days": 0,  
  "totalDeadPeopleWithin24Hours": 0  
}  

RoadAccident NGSI-v2 正規化例

以下は、正規化されたJSON-LD形式のRoadAccidentの例である。これは、オプションを使用しない場合、NGSI-v2と互換性があり、個々のエンティティのコンテキストデータを返します。

show/hide example
{  
  "id": "urn:ngsi-ld:RoadAccident:id:ORHW:45620815",  
  "dateCreated": {  
    "type": "DateTime",  
    "value": "2018-06-23T04:19:24Z"  
  },  
  "dateModified": {  
    "type": "DateTime",  
    "value": "2020-10-29T08:36:40Z"  
  },  
  "source": {  
    "type": "Text",  
    "value": "To be defined"  
  },  
  "name": {  
    "type": "Text",  
    "value": "Name of the element of the accident."  
  },  
  "alternateName": {  
    "type": "Text",  
    "value": "Other name."  
  },  
  "description": {  
    "type": "Text",  
    "value": "Clash in the middle of a traffic light"  
  },  
  "dataProvider": {  
    "type": "Text",  
    "value": "Municipality."  
  },  
  "owner": {  
    "type": "StructuredValue",  
    "value": [  
      "urn:ngsi-ld:RoadAccident:items:SUUU:18395806",  
      "urn:ngsi-ld:RoadAccident:items:GVOF:30958855"  
    ]  
  },  
  "seeAlso": {  
    "type": "StructuredValue",  
    "value": [  
      "urn:ngsi-ld:RoadAccident:items:ESLS:37894243",  
      "urn:ngsi-ld:RoadAccident:items:ZNUH:87936284"  
    ]  
  },  
  "location": {  
    "type": "geo:json",  
    "value": {  
      "type": "Point",  
      "coordinates": [  
        -56.6404505,  
        168.370658  
      ]  
    }  
  },  
  "address": {  
    "type": "StructuredValue",  
    "value": {  
      "streetAddress": "FranklinStrasse",  
      "addressLocality": "Berlin",  
      "addressRegion": "Berlin",  
      "addressCountry": "Germany",  
      "postalCode": "10387",  
      "postOfficeBoxNumber": "",  
      "areaServed": "worldwide."  
    }  
  },  
  "areaServed": {  
    "type": "Text",  
    "value": "worldwide"  
  },  
  "type": "RoadAccident",  
  "localId": {  
    "type": "Text",  
    "value": "20210312-A1."  
  },  
  "status": {  
    "type": "Text",  
    "value": "onGoing"  
  },  
  "accidentDate": {  
    "type": "DateTime",  
    "value": "2021-03-12T13:59:36Z"  
  },  
  "accidentStatisticalDate": {  
    "type": "StructuredValue",  
    "value": {  
      "year": 2021,  
      "quarter": 1,  
      "weekday": "Friday",  
      "hour": 4  
    }  
  },  
  "accidentType": {  
    "type": "StructuredValue",  
    "value": [  
      "10",  
      "6"  
    ]  
  },  
  "accidentDescription": {  
    "type": "StructuredValue",  
    "value": [  
      "23",  
      "46"  
    ]  
  },  
  "weatherConditions": {  
    "type": "StructuredValue",  
    "value": [  
      "10",  
      "20"  
    ]  
  },  
  "roadSurface": {  
    "type": "Text",  
    "value": "2"  
  },  
  "roadPaving": {  
    "type": "Text",  
    "value": "2"  
  },  
  "accidentLocation": {  
    "type": "Text",  
    "value": "5"  
  },  
  "roadClass": {  
    "type": "Text",  
    "value": "Motorway."  
  },  
  "roadIntersection": {  
    "type": "Text",  
    "value": "8"  
  },  
  "roadTrunk": {  
    "type": "Text",  
    "value": "12"  
  },  
  "roadSign": {  
    "type": "Text",  
    "value": "5"  
  },  
  "pedestriansInvolved": {  
    "type": "Boolean",  
    "value": true  
  },  
  "vehiclesInvolved": {  
    "type": "StructuredValue",  
    "value": [  
      "21",  
      "6"  
    ]  
  },  
  "weakestSubject": {  
    "type": "Text",  
    "value": "20"  
  },  
  "numPassengersInjured": {  
    "type": "Boolean",  
    "value": true  
  },  
  "numPassengersDead": {  
    "type": "Boolean",  
    "value": true  
  },  
  "numPedestrianInjured": {  
    "type": "Boolean",  
    "value": true  
  },  
  "numPedestrianDead": {  
    "type": "Boolean",  
    "value": false  
  },  
  "totalInjured": {  
    "type": "Number",  
    "value": 2  
  },  
  "totalDeadPeopleWithin30Days": {  
    "type": "Boolean",  
    "value": false  
  },  
  "totalDeadPeopleWithin24Hours": {  
    "type": "Boolean",  
    "value": false  
  }  
}  

道路事故 NGSI-LD キー値の例

RoadAccidentのJSON-LD形式のkey-valuesの例である。options=keyValues`を使うとNGSI-LDと互換性があり、個々のエンティティのコンテキストデータを返す。

show/hide example
{  
  "id": "urn:ngsi-ld:RoadAccident:id:ORHW:45620815",  
  "type": "RoadAccident",  
  "accidentDate": "2021-03-12T13:59:36Z",  
  "accidentDescription": [  
    "23",  
    "46"  
  ],  
  "accidentLocation": "5",  
  "accidentStatisticalDate": {  
    "year": 2021,  
    "quarter": 1,  
    "weekday": "Friday",  
    "hour": 4  
  },  
  "accidentType": [  
    "10",  
    "6"  
  ],  
  "address": {  
    "streetAddress": "FranklinStrasse",  
    "addressLocality": "Berlin",  
    "addressRegion": "Berlin",  
    "addressCountry": "Germany",  
    "postalCode": "10387",  
    "postOfficeBoxNumber": "",  
    "areaServed": "worldwide."  
  },  
  "alternateName": "Other name.",  
  "areaServed": "worldwide",  
  "dataProvider": "Municipality.",  
  "dateCreated": "2018-06-23T04:19:24Z",  
  "dateModified": "2020-10-29T08:36:40Z",  
  "description": "Clash in the middle of a traffic light",  
  "localId": "20210312-A1.",  
  "location": {  
    "type": "Point",  
    "coordinates": [  
      -56.6404505,  
      168.370658  
    ]  
  },  
  "name": "Name of the element of the accident.",  
  "numPassengersDead": 1,  
  "numPassengersInjured": 1,  
  "numPedestrianDead": 0,  
  "numPedestrianInjured": 1,  
  "owner": [  
    "urn:ngsi-ld:RoadAccident:items:SUUU:18395806",  
    "urn:ngsi-ld:RoadAccident:items:GVOF:30958855"  
  ],  
  "pedestriansInvolved": true,  
  "roadClass": "Motorway.",  
  "roadIntersection": "8",  
  "roadPaving": "2",  
  "roadSign": "5",  
  "roadSurface": "2",  
  "roadTrunk": "12",  
  "seeAlso": [  
    "urn:ngsi-ld:RoadAccident:items:ESLS:37894243",  
    "urn:ngsi-ld:RoadAccident:items:ZNUH:87936284"  
  ],  
  "source": "To be defined",  
  "status": "onGoing",  
  "totalDeadPeopleWithin24Hours": 0,  
  "totalDeadPeopleWithin30Days": 0,  
  "totalInjured": 2,  
  "vehiclesInvolved": [  
    "21",  
    "6"  
  ],  
  "weakestSubject": "20",  
  "weatherConditions": [  
    "10",  
    "20"  
  ],  
  "@context": [  
    "https://raw.githubusercontent.com/smart-data-models/dataModel.Transportation/master/context.jsonld"  
  ]  
}  

道路事故 NGSI-LD 正規化例

以下は、正規化されたJSON-LD形式のRoadAccidentの例である。これは、オプションを使用しない場合、NGSI-LDと互換性があり、個々のエンティティのコンテキストデータを返します。

show/hide example
{  
  "id": "urn:ngsi-ld:RoadAccident:id:ORHW:45620815",  
  "type": "RoadAccident",  
  "accidentDate": {  
    "type": "Property",  
    "value": {  
      "@type": "DateTime",  
      "@value": "2021-03-12T13:59:36Z"  
    }  
  },  
  "accidentDescription": {  
    "type": "Property",  
    "value": [  
      "23",  
      "46"  
    ]  
  },  
  "accidentLocation": {  
    "type": "Property",  
    "value": "5"  
  },  
  "accidentStatisticalDate": {  
    "type": "Property",  
    "value": {  
      "year": 2021,  
      "quarter": 1,  
      "weekday": "Friday",  
      "hour": 4  
    }  
  },  
  "accidentType": {  
    "type": "Property",  
    "value": [  
      "10",  
      "6"  
    ]  
  },  
  "address": {  
    "type": "Property",  
    "value": {  
      "streetAddress": "FranklinStrasse",  
      "addressLocality": "Berlin",  
      "addressRegion": "Berlin",  
      "addressCountry": "Germany",  
      "postalCode": "10387",  
      "postOfficeBoxNumber": "",  
      "areaServed": "worldwide."  
    }  
  },  
  "alternateName": {  
    "type": "Property",  
    "value": "Other name."  
  },  
  "areaServed": {  
    "type": "Property",  
    "value": "worldwide"  
  },  
  "dataProvider": {  
    "type": "Property",  
    "value": "Municipality."  
  },  
  "dateCreated": {  
    "type": "Property",  
    "value": {  
      "@type": "DateTime",  
      "@value": "2018-06-23T04:19:24Z"  
    }  
  },  
  "dateModified": {  
    "type": "Property",  
    "value": {  
      "@type": "DateTime",  
      "@value": "2020-10-29T08:36:40Z"  
    }  
  },  
  "description": {  
    "type": "Property",  
    "value": "Clash in the middle of a traffic light"  
  },  
  "localId": {  
    "type": "Property",  
    "value": "20210312-A1."  
  },  
  "location": {  
    "type": "GeoProperty",  
    "value": {  
      "type": "Point",  
      "coordinates": [  
        -56.6404505,  
        88.370658  
      ]  
    }  
  },  
  "name": {  
    "type": "Property",  
    "value": "Name of the element of the accident."  
  },  
  "numPassengersDead": {  
    "type": "Property",  
    "value": 1  
  },  
  "numPassengersInjured": {  
    "type": "Property",  
    "value": 1  
  },  
  "numPedestrianDead": {  
    "type": "Property",  
    "value": 0  
  },  
  "numPedestrianInjured": {  
    "type": "Property",  
    "value": 1  
  },  
  "owner": {  
    "type": "Property",  
    "value": [  
      "urn:ngsi-ld:RoadAccident:items:SUUU:18395806",  
      "urn:ngsi-ld:RoadAccident:items:GVOF:30958855"  
    ]  
  },  
  "pedestriansInvolved": {  
    "type": "Property",  
    "value": true  
  },  
  "roadClass": {  
    "type": "Property",  
    "value": "Motorway."  
  },  
  "roadIntersection": {  
    "type": "Property",  
    "value": "8"  
  },  
  "roadPaving": {  
    "type": "Property",  
    "value": "2"  
  },  
  "roadSign": {  
    "type": "Property",  
    "value": "5"  
  },  
  "roadSurface": {  
    "type": "Property",  
    "value": "2"  
  },  
  "roadTrunk": {  
    "type": "Property",  
    "value": "12"  
  },  
  "seeAlso": {  
    "type": "Property",  
    "value": [  
      "urn:ngsi-ld:RoadAccident:items:ESLS:37894243",  
      "urn:ngsi-ld:RoadAccident:items:ZNUH:87936284"  
    ]  
  },  
  "source": {  
    "type": "Property",  
    "value": "To be defined"  
  },  
  "status": {  
    "type": "Property",  
    "value": "onGoing"  
  },  
  "totalDeadPeopleWithin24Hours": {  
    "type": "Property",  
    "value": 0  
  },  
  "totalDeadPeopleWithin30Days": {  
    "type": "Property",  
    "value": 0  
  },  
  "totalInjured": {  
    "type": "Property",  
    "value": 2  
  },  
  "vehiclesInvolved": {  
    "type": "Property",  
    "value": [  
      "21",  
      "6"  
    ]  
  },  
  "weakestSubject": {  
    "type": "Property",  
    "value": "20"  
  },  
  "weatherConditions": {  
    "type": "Property",  
    "value": [  
      "10",  
      "20"  
    ]  
  },  
  "@context": [  
    "https://raw.githubusercontent.com/smart-data-models/dataModel.Transportation/master/context.jsonld"  
  ]  
}  

マグニチュード単位の扱い方については、FAQ 10を参照のこと。


Smart Data Models +++ Contribution Manual +++ About