AccidentDetail

From Wikisphere
Revision as of 07:57, 4 November 2025 by Admin (talk | contribs) (Admin changed the content model of the page JsonSchema:AccidentDetail from "wikitext" to "JSON")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
type"object"
title""
$schema"http://json-schema.org/draft-04/schema#"
properties
photo
type"array"
items
$ref"#/definitions/photo"
options
collapsedtrue
propertyOrder3
person
type"array"
items
$ref"#/definitions/person"
options
collapsedtrue
propertyOrder2
vehicle
type"array"
items
$ref"#/definitions/vehicle"
options
collapsedtrue
propertyOrder1
accidentDetails
$ref"#/definitions/accidentDetails"
options
collapsedtrue
propertyOrder0
definitions
photo
type"object"
title"Photo"
multipletrue
required
"_localId"
"Picture"
properties
Picture
type"string"
media
type"image/jpeg"
binaryEncoding"base64"
fieldType"image"
propertyOrder0
_localId
type"string"
options
hiddentrue
pattern"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
Description
type"string"
format"text"
fieldType"text"
isSearchabletrue
propertyOrder1
definitions
Empty object
description"Pictures of the accident"
plural_title"Photos"
person
type"object"
title"Person"
multipletrue
required
"_localId"
properties
Age
type"string"
format"number"
fieldType"text"
isSearchablefalse
propertyOrder4
Sex
enum
"Male"
"Female"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder3
Name
type"string"
format"text"
fieldType"text"
isSearchablefalse
propertyOrder0
Injury
enum
"Fatal"
"Serious"
"Minor"
"Not injured"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder5
Address
type"string"
format"text"
fieldType"text"
isSearchablefalse
propertyOrder1
vehicle
type"string"
watch
target"vehicle"
fieldType"reference"
enumSource
title"{{item.vehicle type}} {{item.Make}} {{item.Model}}"
value"{{item._localId}}"
source"target"
propertyOrder11
Hospital
type"string"
format"text"
fieldType"text"
isSearchablefalse
propertyOrder9
_localId
type"string"
options
hiddentrue
pattern"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
Involvment
enum
"Pedestrian"
"Witness"
"Passenger"
"Driver"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder10
Driver error
enum
"Fatigued/asleep"
"Inattentive"
"Too fast"
"Too close"
"No signal"
"Bad overtaking"
"Bad turning"
"Using cell phone"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder6
Alcohol/drugs
enum
"Alcohol suspected"
"Drugs suspected"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder7
License number
type"string"
format"text"
fieldType"text"
isSearchablefalse
propertyOrder2
Seat belt/helmet
enum
"Seat belt/helmet worn"
"Not worn"
"Not worn correctly"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder8
definitions
Empty object
description"A person involved in the accident"
plural_title"People"
vehicle
type"object"
title"Vehicle"
multipletrue
required
"_localId"
properties
Make
type"string"
format"text"
fieldType"text"
isSearchablefalse
propertyOrder1
Model
type"string"
format"text"
fieldType"text"
isSearchablefalse
propertyOrder2
Damage
enum
"None"
"Front"
"Rear"
"Right"
"Left"
"Roof"
"Multiple"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder11
Defect
enum
"None"
"Lights"
"Brakes"
"Steering"
"Tires"
"Multiple"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder10
Loading
enum
"Legal"
"Over loaded"
"Unsafe load"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder8
Maneuver
enum
"Left turn"
"Right turn"
""U" turn"
"Cross traffic"
"Merging"
"Diverging"
"Overtaking"
"Going ahead"
"Reversing"
"Sudden start"
"Sudden stop"
"Parked off road"
"Parked on road"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder7
_localId
type"string"
options
hiddentrue
pattern"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
Direction
enum
"North"
"South"
"East"
"West"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder9
Plate number
type"string"
format"text"
fieldType"text"
isSearchablefalse
propertyOrder3
Vehicle type
enum
"Bicycle"
"Pedicab"
"Motorcycle"
"Tricycle"
"Car"
"Jeepney"
"Bus"
"Truck (Rigid)"
"Truck (Artic)"
"Van"
"Animal"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder0
Engine number
type"string"
format"text"
fieldType"text"
isSearchablefalse
propertyOrder5
Chassis number
type"string"
format"text"
fieldType"text"
isSearchablefalse
propertyOrder4
Insurance details
type"string"
format"textarea"
fieldType"text"
isSearchablefalse
propertyOrder6
definitions
Empty object
description"A vehicle involved in the accident"
plural_title"Vehicles"
accidentDetails
type"object"
title"Accident Details"
detailstrue
multiplefalse
required
"_localId"
properties
Severity
enum
"Fatal"
"Injury"
"Property"
type"string"
fieldType"selectlist"
displayType"select"
isSearchabletrue
propertyOrder0
_localId
type"string"
options
hiddentrue
pattern"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
Main cause
enum
"Vehicle defect"
"Road defect"
"Human error"
type"string"
fieldType"selectlist"
displayType"select"
isSearchabletrue
propertyOrder1
Description
type"string"
format"textarea"
fieldType"text"
isSearchablefalse
propertyOrder3
Num vehicles
type"string"
format"number"
fieldType"text"
isSearchablefalse
propertyOrder5
Surface type
enum
"Concrete"
"Asphalt"
"Gravel"
"Earth"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder12
Street lights
enum
"Lit"
"Unlit"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder10
Collision type
enum
"Head on"
"Rear end"
"Right angle"
"Side swipe"
"Overturned vehicle"
"Hit object in road"
"Hit object off road"
"Hit parked vehicle"
"Hit pedestrian"
"Hit animal"
type"string"
fieldType"selectlist"
displayType"select"
isSearchabletrue
propertyOrder2
Traffic control
enum
"None"
"Centerline"
"Pedestrian crossing"
"School crossing"
"Police controlled"
"Traffic lights"
"Stop sign"
"Give way"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder8
Surface condition
enum
"Dry"
"Wet"
"Muddy"
"Flooded"
type"string"
fieldType"selectlist"
displayType"select"
isSearchablefalse
propertyOrder11
Num driver casualties
type"string"
format"number"
fieldType"text"
isSearchabletrue
propertyOrder4
Num passenger casualties
type"string"
format"number"
fieldType"text"
isSearchablefalse
propertyOrder6
Num pedestrian casualties
type"string"
format"number"
fieldType"text"
isSearchablefalse
propertyOrder7
definitions
Empty object
description"Details for Accident"
plural_title"Accident Details"
propertyOrder0
description""
plural_title""