全球描述:** 包含原因和后果的交通事故描述。同步项目开发的第一个版本**
版本: 0.0.1
[*] 如果属性中没有类型,是因为它可能有多个类型或不同的格式/模式。
accidentDate[date-time]
: 事故发生时间 . Model: https://schema.org/DateTimeaccidentDescription[array]
: 根据所列出的编码情况组合对该道路交通事故进行描述。0:未说明情况;1:驾驶员正常行驶而未转向;2:驾驶员行驶时分心或未确定路线;3:驾驶员行驶时未保持安全距离;4:驾驶员行驶时未优先考虑右侧驶来的车辆;5:驾驶员行驶时未遵守停车规定;6:驾驶员行驶时未遵守优先信号;7:驾驶员逆行;8:驾驶员行驶时未遵守交通信号灯或代理信号;10:驾驶员行驶时未遵守交通信号灯或代理信号;11:驾驶员行驶时未遵守交通信号灯或代理信号;12:驾驶员行驶时未遵守交通信号灯或代理信号;13:驾驶员行驶时未遵守交通信号灯或代理信号:7:驾驶人逆行; 8:驾驶人不遵守交通信号灯或代理信号; 10:驾驶人不遵守禁止过境或通行标志; 11:驾驶人超速行驶; 12:驾驶人不遵守限速规定; 13:驾驶人耀眼的灯光越过其他车辆; 14:驾驶人不遵守交通规则; 15:驾驶人不遵守交通规则; 16:驾驶人不遵守交通规则; 17:驾驶人不遵守交通规则; 18:驾驶人不遵守交通规则; 19:驾驶人不遵守交通规则; 20:驾驶人不遵守交通规则; 21:驾驶人不遵守交通规则:14:驾驶人正常右转;15:不规则右转;16:驾驶人正常左转;17:不规则左转;18:驾驶人在交叉路口通过;20:驾驶人正常行驶;21:驾驶人分心驾驶或行驶路线未确定;22:驾驶人未保持安全距离行驶;23:驾驶人超速行驶;24:驾驶人未遵守交通规则行驶;25:驾驶人未遵守交通规则行驶;26:驾驶人未遵守交通规则行驶;27:驾驶人未遵守交通规则行驶;28:驾驶人未遵守交通规则行驶;29:驾驶人未遵守交通规则行驶;30:驾驶人未遵守交通规则行驶;31:驾驶人未遵守交通规则行驶:驾驶人未遵守限速规定;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:驾驶员在停车时不均衡地通过电车; 60:驾驶员不遵守交通信号灯或代理信号灯的操作; 61:驾驶员不遵守交通信号灯或代理信号灯的操作; 62:驾驶员不遵守交通信号灯或代理信号灯的操作; 63:驾驶员不遵守交通信号灯或代理信号灯的操作:60:驾驶人正常行驶; 61:驾驶人分心驾驶或行驶路线未确定; 62:驾驶人未保持安全车距行驶; 63:驾驶人逆行; 64:驾驶人超速行驶; 65:驾驶人未遵守限速规定; 66:驾驶人未遵守禁止过境或通行标志; 67:驾驶人超速行驶; 68:驾驶人超速行驶; 79:驾驶人超速行驶; 80:驾驶人超速行驶; 81:驾驶人超速行驶; 82:驾驶人超速行驶; 83:驾驶人超速行驶; 84:驾驶人超速行驶; 85:驾驶人超速行驶:67:驾驶员挂挡超越另一车辆;68:驾驶员轻率穿越平交道口;70:为避免撞击而洒水;71:因分心驾驶而泄漏; 72:清单上有超速泄漏; 73:驾驶员突然制动,造成运输工具损坏; 74:因车门打开导致人员从车内坠落; 75:因从行驶中的车辆下降导致人员从车内坠落; 76:76: 因紧贴或放置不当导致人员坠车; 80: 制动失灵或失效; 81:断裂或转向失灵; 82: 轮胎爆裂或过度磨损; 83:83: 前照灯或位置灯缺失或不足; 84: 闪烁灯或停车灯信号缺失或不足; 85: 拖车连接部件断裂; 86: 危险货物运输设备缺陷; 87:87: 身体残疾者车辆规定的改装不足; 88: 车轮脱落; 89: 自行车视觉装置缺乏或不足。 . Model: https://schema.org/TextaccidentLocation[string]
: 简要说明事故是否发生在城区或城外。0:市区内的区域 1:城镇内的城市道路 2:城镇内的省道 3:村庄内的国道 4:城外道路 5:省道 6:国道 7:高速公路 8:其他道路 9:区域道路accidentStatisticalDate[object]
: 事故发生的大致日期(原始事故数据源通常只报告统计属性,如季节、工作日和大致时间 . Model: https://schema.org/DateTimehour
:quarter
:weekday[string]
: 周日
accidentType[array]
: 道路事故快速分类。1: 正面碰撞;2: 正面-侧面碰撞;3: 侧面碰撞;4: 碰撞;5: 行人投资;6: 与停止或停止的车辆相撞;7: 与停放的车辆相撞;8: 与障碍物相撞;9: 与火车相撞;10: 溢出、滑倒;11: 因突然制动而发生的事故;12: 因从车辆上坠落而发生的事故;13: 与其他车辆相撞;14: 与其他车辆相撞;15: 与其他车辆相撞;16: 与其他车辆相撞;17: 与其他车辆相撞;18: 与其他车辆相撞;19: 与其他车辆相撞。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/streetAddress
alternateName[string]
: 该项目的替代名称areaServed[string]
: 提供服务或提供物品的地理区域 . Model: https://schema.org/TextdataProvider[string]
: 标识统一数据实体提供者的字符序列dateCreated[date-time]
: 实体创建时间戳。通常由存储平台分配dateModified[date-time]
: 实体最后一次修改的时间戳。通常由存储平台分配description[string]
: 项目描述id[*]
: 实体的唯一标识符localId[string]
: 源数据集中的唯一标识符 . Model: https://schema.org/Textlocation[*]
: 项目的 Geojson 引用。它可以是点、线条字符串、多边形、多点、多线条字符串或多多边形name[string]
: 该项目的名称numPassengersDead[number]
: 因事故死亡的车辆乘客人数 . Model: https://schema.org/NumbernumPassengersInjured[number]
: 因事故受伤的乘客人数 . Model: https://schema.org/NumbernumPedestrianDead[number]
: 因事故死亡的行人数量 . Model: https://schema.org/NumbernumPedestrianInjured[number]
: 因事故受伤的行人数量 . Model: https://schema.org/Numberowner[array]
: 包含一个 JSON 编码字符序列的列表,其中引用了所有者的唯一 IdspedestriansInvolved[boolean]
: 布尔值,用于确定事故中是否涉及行人roadClass[string]
: 发生事故的道路等级 . Model: https://wiki.openstreetmap.org/wiki/Key:highwayroadIntersection[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 形式给出实体数据原始来源的字符串。建议使用源提供者的完全合格域名或源对象的 URLstatus[string]
: 道路事故的状态。枚举:"存档、进行中、已解决"。 . Model: https://schema.org/TexttotalDeadPeopleWithin24Hours[number]
: 直接因事故死亡的人数 . Model: https://schema.org/NumbertotalDeadPeopleWithin30Days[number]
: 事故后死亡人数 . Model: https://schema.org/NumbertotalInjured[number]
: 因事故受伤(未死亡)的总人数 . Model: https://schema.org/Numbertype[string]
: NGSI 实体类型,必须是 RoadAccidentvehiclesInvolved[array]
: 0 : 行人 1 : 自行车 2 : 农用车 3 : 公共汽车 4 : 小客车 5 : 汽车 6 : 大篷车 7 : 电车 8 : 油罐车 9 : 带大篷车的汽车 10 : 带拖车的汽车 11 : 货车 12 : 轻便摩托车 13 : 油罐车 14 : 摩托车 15 : 带侧车的摩托车 16 : 摩托车 17 : 拖车 18 : 面包车 19 : 大篷车 20 : 建筑工地车辆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:大雨阵雨 14:大雨 15:雨夹雪 16:雨夹雪 17:冰雹阵雨 18:冰雹 19:阵雨 20:小雪大雨 14 : 大雨 15 : 雨夹雪 16 : 雨夹雪 17 : 雹雨 18 : 雹 19 : 阵雨 20 : 小雪 21 : 下雪 22 : 大雪阵雨 23 : 大雪 24 : 雷阵雨 25 : 打雷
所需属性
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
下面是一个以 JSON-LD 格式作为键值的 "RoadAccident "示例。当使用 options=keyValues
时,这与 NGSI-v2 兼容,并返回单个实体的上下文数据。
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
}
下面是一个规范化 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
}
}
下面是一个以 JSON-LD 格式作为键值的 "RoadAccident "示例。当使用 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"
]
}
下面是一个以 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,获取如何处理幅度单位的答案。