AccidentDetail

From Wikisphere
Jump to navigation Jump to search
processedSchema
title"AccidentDetail"
type"object"
properties.accidentDetails
title"Accident Details"
description"Details for Accident"
type"object"
properties.accidentDetails.properties.Severity
title"Severity"
type"string"
requiredtrue
enum
"Fatal"
"Injury"
"Property"
properties.accidentDetails.properties._localId
title"_localId"
type"string"
requiredtrue
x-format"uuid"
default"10e3aab0-d824-4017-a8d2-ea29cc0fd0b3"
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}$"
x-hiddentrue
properties.accidentDetails.properties.Main cause
title"Main cause"
type"string"
enum
"Vehicle defect"
"Road defect"
"Human error"
properties.accidentDetails.properties.Description
title"Description"
type"string"
x-format"textarea"
properties.accidentDetails.properties.Num vehicles
title"Num vehicles"
type"integer"
properties.accidentDetails.properties.Surface type
title"Surface type"
type"string"
enum
"Concrete"
"Asphalt"
"Gravel"
"Earth"
properties.accidentDetails.properties.Street lights
title"Street lights"
type"string"
enum
"Lit"
"Unlit"
properties.vehicles
title"vehicles"
type"array"
items
title"Vehicle"
description"A vehicle involved in the accident"
type"object"
requiredfalse
uniqueItemsfalse
readOnlyfalse
x-hiddenfalse
x-runtime-onlyfalse
properties.people
title"people"
type"array"
items
title"Person"
description"A person involved in the accident"
type"object"
requiredfalse
uniqueItemsfalse
readOnlyfalse
x-hiddenfalse
x-runtime-onlyfalse
properties.people.items
title"Person"
description"A person involved in the accident"
type"object"
properties.people.items.properties.Age
title"Age"
type"integer"
properties.people.items.properties.Sex
title"Sex"
type"string"
enum
"Male"
"Female"
properties.people.items.properties.Name
title"Name"
type"string"
x-format"text"
properties.people.items.properties.Injury
title"Injury"
type"string"
requiredtrue
enum
"Fatal"
"Serious"
"Minor"
"Not injured"
properties.people.items.properties.Address
title"Address"
type"string"
x-format"text"
properties.people.items.properties.vehicle
title"vehicle"
type"string"
requiredtrue
properties.people.items.properties._localId
title"_localId"
type"string"
requiredtrue
x-format"uuid"
default"f303c8c2-dc96-4cbf-ad5e-827a94828a72"
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}$"
x-hiddentrue