752 lines
18 KiB
JSON
752 lines
18 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "https://tilde.town/~lucidiot/itsb/docs/ntsb-carol.json",
|
|
"title": "NTSB CAROL database investigation JSON export schema",
|
|
"description": "This JSON Schema has been deduced from a sample of 10000 investigations exported using the JSON export feature of the NTSB's CAROL database search builder.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"cm_mkey": {
|
|
"type": "integer",
|
|
"description": "Unique identifier for the investigation."
|
|
},
|
|
"cm_closed": {
|
|
"type": "boolean",
|
|
"description": "Closed state of the investigation."
|
|
},
|
|
"cm_completionStatus": {
|
|
"type": "string",
|
|
"enum": ["Completed", "In-work", "N/A"]
|
|
},
|
|
"cm_hasSafetyRec": {
|
|
"type": "boolean",
|
|
"description": "Whether or not the investigation has any safety recommendations."
|
|
},
|
|
"cm_highestInjury": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"enum": ["Fatal", "Serious", "Minor", "None", null]
|
|
},
|
|
"cm_isStudy": {
|
|
"type": "boolean",
|
|
"description": "Whether this is a case study or an investigation."
|
|
},
|
|
"cm_mode": {
|
|
"type": "string",
|
|
"enum": ["Aviation", "Hazmat", "Highway", "Marine", "Pipeline", "Railroad"]
|
|
},
|
|
"cm_ntsbNum": {
|
|
"type": "string",
|
|
"description": "NTSB case number"
|
|
},
|
|
"cm_originalPublishedDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time",
|
|
"description": "Original publication date of the investigation report. Is null if no report has been published."
|
|
},
|
|
"cm_recentReportPublishDate": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"format": "date-time",
|
|
"description": "Last update date of the published investigation report. Is null when no update has been published."
|
|
},
|
|
"cm_mostRecentReportType": {
|
|
"type": "string",
|
|
"enum": ["Final"],
|
|
"description": "Type of the most recently published investigation report. Other report types are not known."
|
|
},
|
|
"cm_probableCause": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "Human-readable string summarizing the probable cause of the accident."
|
|
},
|
|
"cm_city": {
|
|
"type": "string",
|
|
"description": "City where the accident occurred."
|
|
},
|
|
"cm_country": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "Country where the accident occurred."
|
|
},
|
|
"cm_eventDate": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"cm_state": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"description": "Two-letter code of the US state where the accident occurred."
|
|
},
|
|
"cm_agency": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"enum": ["NTSB", "Coast Guard", "Other", null]
|
|
},
|
|
"cm_boardLaunch": {
|
|
"type": "boolean"
|
|
},
|
|
"cm_boardMeetingDate": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"cm_docketDate": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"cm_eventType": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"enum": ["ACC", "INC", "Occurrence", null]
|
|
},
|
|
"cm_launch": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"enum": ["Full", "None", "Partial", "Yes", null]
|
|
},
|
|
"cm_reportDate": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
],
|
|
"format": "date-time"
|
|
},
|
|
"cm_reportNum": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"cm_reportType": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"enum": ["BoardBrief", "CloseoutMemo", "DirectorBrief", "None", "Report", null]
|
|
},
|
|
"cm_vehicles": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"cm_vehicleNum": {
|
|
"type": "number"
|
|
},
|
|
"aircraftCategory": {
|
|
"type": "string"
|
|
},
|
|
"amateurBuilt": {
|
|
"type": "boolean"
|
|
},
|
|
"make": {
|
|
"type": "string"
|
|
},
|
|
"model": {
|
|
"type": "string"
|
|
},
|
|
"numberOfEngines": {
|
|
"type": [
|
|
"number",
|
|
"null"
|
|
]
|
|
},
|
|
"registrationNumber": {
|
|
"type": "string"
|
|
},
|
|
"gaFlight": {
|
|
"type": "boolean"
|
|
},
|
|
"cm_events": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"cm_eventNum": {
|
|
"type": "number"
|
|
},
|
|
"cicttEventSOEGroup": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"cm_eventCode": {
|
|
"type": "string"
|
|
},
|
|
"cm_isDefiningEvent": {
|
|
"type": "boolean"
|
|
},
|
|
"cm_sequenceNum": {
|
|
"type": "number"
|
|
},
|
|
"cm_tier1Num": {
|
|
"type": "string"
|
|
},
|
|
"cm_tier2Num": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"cm_eventNum",
|
|
"cicttEventSOEGroup",
|
|
"cm_eventCode",
|
|
"cm_isDefiningEvent",
|
|
"cm_sequenceNum",
|
|
"cm_tier1Num",
|
|
"cm_tier2Num"
|
|
]
|
|
}
|
|
},
|
|
"cm_findings": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"cm_findingNum": {
|
|
"type": "number"
|
|
},
|
|
"cm_findingCode": {
|
|
"type": "string"
|
|
},
|
|
"cm_findingReportText": {
|
|
"type": "string"
|
|
},
|
|
"cm_findingText": {
|
|
"type": "string"
|
|
},
|
|
"cm_inPc": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"cm_findingNum",
|
|
"cm_findingCode",
|
|
"cm_findingReportText",
|
|
"cm_findingText",
|
|
"cm_inPc"
|
|
]
|
|
}
|
|
},
|
|
"cm_engines": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"cm_engineNum": {
|
|
"type": "number"
|
|
},
|
|
"engineType": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"cm_engineNum",
|
|
"engineType"
|
|
]
|
|
}
|
|
},
|
|
"airMedical": {
|
|
"type": [
|
|
"boolean",
|
|
"null"
|
|
]
|
|
},
|
|
"airMedicalType": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"flightOperationType": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"flightScheduledType": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"flightServiceType": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"flightTerminalType": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"operatorName": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"registeredOwner": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"regulationFlightConductedUnder": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"revenueSightseeing": {
|
|
"type": [
|
|
"boolean",
|
|
"null"
|
|
]
|
|
},
|
|
"secondPilotPresent": {
|
|
"type": [
|
|
"null",
|
|
"boolean"
|
|
]
|
|
},
|
|
"carryingHazmat": {
|
|
"type": [
|
|
"null",
|
|
"boolean"
|
|
]
|
|
},
|
|
"equipmentType": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"railroadName": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"releasedHazmat": {
|
|
"type": [
|
|
"null",
|
|
"boolean"
|
|
]
|
|
},
|
|
"totalCars": {
|
|
"type": [
|
|
"number",
|
|
"null"
|
|
]
|
|
},
|
|
"totalLocomotiveUnits": {
|
|
"type": [
|
|
"number",
|
|
"null"
|
|
]
|
|
},
|
|
"trailingTons": {
|
|
"type": [
|
|
"null",
|
|
"number"
|
|
]
|
|
},
|
|
"trainName": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"trainNum": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"trainType": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"callSign": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"classificationSociety": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"customClassificationSociety": {
|
|
"type": "null"
|
|
},
|
|
"flagState": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"imoNum": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"mmsi": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"portOfRegistry": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"smcNum": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"vesselName": {
|
|
"type": "string"
|
|
},
|
|
"vesselType": {
|
|
"type": "string"
|
|
},
|
|
"trafficUnitName": {
|
|
"type": "string"
|
|
},
|
|
"trafficUnitType": {
|
|
"type": "string"
|
|
},
|
|
"vehicles": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"vehicleNum": {
|
|
"type": "number"
|
|
},
|
|
"bodyClass": {
|
|
"type": "null"
|
|
},
|
|
"drivingAutomationLevel": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"engineType": {
|
|
"type": "null"
|
|
},
|
|
"gvwr": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"manufacturer": {
|
|
"type": "null"
|
|
},
|
|
"transmissionType": {
|
|
"type": "null"
|
|
},
|
|
"vehicleMake": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"vehicleModel": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"vehicleName": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"vehicleType": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"vehicleYear": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"vehicleNum",
|
|
"bodyClass",
|
|
"drivingAutomationLevel",
|
|
"engineType",
|
|
"gvwr",
|
|
"manufacturer",
|
|
"transmissionType",
|
|
"vehicleMake",
|
|
"vehicleModel",
|
|
"vehicleName",
|
|
"vehicleType",
|
|
"vehicleYear"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"cm_vehicleNum",
|
|
"aircraftCategory",
|
|
"amateurBuilt",
|
|
"make",
|
|
"model",
|
|
"numberOfEngines",
|
|
"registrationNumber",
|
|
"gaFlight",
|
|
"cm_events",
|
|
"cm_findings",
|
|
"airMedical",
|
|
"airMedicalType",
|
|
"flightOperationType",
|
|
"flightScheduledType",
|
|
"flightServiceType",
|
|
"flightTerminalType",
|
|
"operatorName",
|
|
"registeredOwner",
|
|
"regulationFlightConductedUnder",
|
|
"revenueSightseeing",
|
|
"secondPilotPresent",
|
|
"cm_engines",
|
|
"callSign",
|
|
"classificationSociety",
|
|
"customClassificationSociety",
|
|
"flagState",
|
|
"imoNum",
|
|
"mmsi",
|
|
"portOfRegistry",
|
|
"smcNum",
|
|
"vesselName",
|
|
"vesselType",
|
|
"trafficUnitName",
|
|
"trafficUnitType",
|
|
"vehicles",
|
|
"carryingHazmat",
|
|
"equipmentType",
|
|
"railroadName",
|
|
"releasedHazmat",
|
|
"totalCars",
|
|
"totalLocomotiveUnits",
|
|
"trailingTons",
|
|
"trainName",
|
|
"trainNum",
|
|
"trainType"
|
|
]
|
|
}
|
|
},
|
|
"airportId": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"airportName": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"analysisNarrative": {
|
|
"type": "string"
|
|
},
|
|
"factualNarrative": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"prelimNarrative": {
|
|
"type": "null"
|
|
},
|
|
"cm_fatalInjuryCount": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"cm_minorInjuryCount": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"cm_seriousInjuryCount": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"accidentSiteCondition": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"cm_docketOriginalPublishDate": {
|
|
"type": "string"
|
|
},
|
|
"pipelineOperator": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"pipelineType": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"regulatorType": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"chemicalReleased": {
|
|
"type": "string"
|
|
},
|
|
"competentAuthority": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"containerType": {
|
|
"type": "string"
|
|
},
|
|
"dotContainerSpec": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"hazardClass": {
|
|
"type": "string"
|
|
},
|
|
"hazmatOperator": {
|
|
"type": "string"
|
|
},
|
|
"hazmatType": {
|
|
"type": "null"
|
|
},
|
|
"specialPermit": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"stateOfMaterial": {
|
|
"type": "string"
|
|
},
|
|
"stateOfMaterialOther": {
|
|
"type": "null"
|
|
},
|
|
"subHazardClass": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"cm_mkey",
|
|
"cm_closed",
|
|
"cm_completionStatus",
|
|
"cm_hasSafetyRec",
|
|
"cm_highestInjury",
|
|
"cm_isStudy",
|
|
"cm_mode",
|
|
"cm_ntsbNum",
|
|
"cm_originalPublishedDate",
|
|
"cm_recentReportPublishDate",
|
|
"cm_mostRecentReportType",
|
|
"cm_probableCause",
|
|
"cm_city",
|
|
"cm_country",
|
|
"cm_eventDate",
|
|
"cm_state",
|
|
"cm_agency",
|
|
"cm_boardLaunch",
|
|
"cm_boardMeetingDate",
|
|
"cm_docketDate",
|
|
"cm_eventType",
|
|
"cm_launch",
|
|
"cm_reportDate",
|
|
"cm_reportNum",
|
|
"cm_reportType",
|
|
"cm_vehicles",
|
|
"airportId",
|
|
"airportName",
|
|
"analysisNarrative",
|
|
"factualNarrative",
|
|
"prelimNarrative",
|
|
"cm_fatalInjuryCount",
|
|
"cm_minorInjuryCount",
|
|
"cm_seriousInjuryCount",
|
|
"accidentSiteCondition",
|
|
"cm_docketOriginalPublishDate",
|
|
"chemicalReleased",
|
|
"competentAuthority",
|
|
"containerType",
|
|
"dotContainerSpec",
|
|
"hazardClass",
|
|
"hazmatOperator",
|
|
"hazmatType",
|
|
"specialPermit",
|
|
"stateOfMaterial",
|
|
"stateOfMaterialOther",
|
|
"subHazardClass",
|
|
"pipelineOperator",
|
|
"pipelineType",
|
|
"regulatorType"
|
|
]
|
|
}
|
|
}
|