Class JDrivingIncidentType
A data type for details of an incident involving a vehicle.
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JDrivingIncidentType : NcIncidentType, IEquatable<NcActivityType>, IEquatable<NcIncidentType>, IEquatable<JDrivingIncidentType>
Properties
Cmv
A determination of whether the incident occurred while the driver was operating a commercial vehicle. NIEM reference is j:DrivingIncidentCMVText
Declaration
[DataMember(Name = "cmv")]
public List<NcTextType> Cmv { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A determination of whether the incident occurred while the driver was operating a commercial vehicle. NIEM reference is j:DrivingIncidentCMVText |
CmvCode
A determination of whether the incident occurred while the driver was operating a commercial vehicle. NIEM reference is j:DrivingIncidentCMVCode
Declaration
[DataMember(Name = "cmvCode")]
public List<AamvaD20CMVCodeType> CmvCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AamvaD20CMVCodeType> | A determination of whether the incident occurred while the driver was operating a commercial vehicle. NIEM reference is j:DrivingIncidentCMVCode |
Context
jDrivingIncidentType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JDrivingIncidentType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JDrivingIncidentType.ContextEnum> | jDrivingIncidentType JSON-LD context |
DrivingAccidentSeverity
A severity level of an accident, based on the most intense injury to any person or, if none were injured, so designating. NIEM reference is j:DrivingAccidentSeverityText
Declaration
[DataMember(Name = "drivingAccidentSeverity")]
public List<NcTextType> DrivingAccidentSeverity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A severity level of an accident, based on the most intense injury to any person or, if none were injured, so designating. NIEM reference is j:DrivingAccidentSeverityText |
DrivingAccidentSeverityCode
A severity level of an accident, based on the most intense injury to any person or, if none were injured, so designating. NIEM reference is j:DrivingAccidentSeverityCode
Declaration
[DataMember(Name = "drivingAccidentSeverityCode")]
public List<AamvaD20AccidentSeverityCodeType> DrivingAccidentSeverityCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AamvaD20AccidentSeverityCodeType> | A severity level of an accident, based on the most intense injury to any person or, if none were injured, so designating. NIEM reference is j:DrivingAccidentSeverityCode |
FemalePassengerQuantity
A number of females in a vehicle excluding the driver when an incident occurred. NIEM reference is j:DrivingIncidentFemalePassengerQuantityText
Declaration
[DataMember(Name = "femalePassengerQuantity")]
public List<NcTextType> FemalePassengerQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A number of females in a vehicle excluding the driver when an incident occurred. NIEM reference is j:DrivingIncidentFemalePassengerQuantityText |
HazMat
A determination of whether the incident occurred while the driver was operating a commercial vehicle that was carrying hazardous materials (that required a placard). NIEM reference is j:DrivingIncidentHazMatText
Declaration
[DataMember(Name = "hazMat")]
public List<NcTextType> HazMat { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A determination of whether the incident occurred while the driver was operating a commercial vehicle that was carrying hazardous materials (that required a placard). NIEM reference is j:DrivingIncidentHazMatText |
HazMatCode
A determination of whether the incident occurred while the driver was operating a commercial vehicle that was carrying hazardous materials (that required a placard). NIEM reference is j:DrivingIncidentHazMatCode
Declaration
[DataMember(Name = "hazMatCode")]
public List<AamvaD20HazMatCodeType> HazMatCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AamvaD20HazMatCodeType> | A determination of whether the incident occurred while the driver was operating a commercial vehicle that was carrying hazardous materials (that required a placard). NIEM reference is j:DrivingIncidentHazMatCode |
IsCollision
True if a driving incident involved a collision with another vehicle, person, or object; false otherwise. NIEM reference is j:DrivingIncidentCollisionIndicator
Declaration
[DataMember(Name = "isCollision")]
public List<NiemXsboolean> IsCollision { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a driving incident involved a collision with another vehicle, person, or object; false otherwise. NIEM reference is j:DrivingIncidentCollisionIndicator |
IsDriverOwnership
True if a driver owns the vehicle being driven in an incident; false otherwise. NIEM reference is j:DrivingIncidentDriverOwnershipIndicator
Declaration
[DataMember(Name = "isDriverOwnership")]
public List<NiemXsboolean> IsDriverOwnership { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a driver owns the vehicle being driven in an incident; false otherwise. NIEM reference is j:DrivingIncidentDriverOwnershipIndicator |
IsLaserDetection
True if a laser was involved in the detection of an incident; false otherwise. NIEM reference is j:DrivingIncidentLaserDetectionIndicator
Declaration
[DataMember(Name = "isLaserDetection")]
public List<NiemXsboolean> IsLaserDetection { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a laser was involved in the detection of an incident; false otherwise. NIEM reference is j:DrivingIncidentLaserDetectionIndicator |
IsMobilePhone
True if a mobile phone being used was involved in an incident; false otherwise. NIEM reference is j:DrivingIncidentMobilePhoneIndicator
Declaration
[DataMember(Name = "isMobilePhone")]
public List<NiemXsboolean> IsMobilePhone { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a mobile phone being used was involved in an incident; false otherwise. NIEM reference is j:DrivingIncidentMobilePhoneIndicator |
IsRadarDetection
True if radar was involved in the detection of an incident; false otherwise. NIEM reference is j:DrivingIncidentRadarDetectionIndicator
Declaration
[DataMember(Name = "isRadarDetection")]
public List<NiemXsboolean> IsRadarDetection { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if radar was involved in the detection of an incident; false otherwise. NIEM reference is j:DrivingIncidentRadarDetectionIndicator |
Jurisdiction
A jurisdiction in which an incident occurred. NIEM reference is j:DrivingIncidentJurisdiction
Declaration
[DataMember(Name = "jurisdiction")]
public List<NcJurisdictionType> Jurisdiction { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcJurisdictionType> | A jurisdiction in which an incident occurred. NIEM reference is j:DrivingIncidentJurisdiction |
LegalSpeedRateMeasure
A legally designated speed limit in the area where an incident occurred. NIEM reference is j:DrivingIncidentLegalSpeedRateMeasure
Declaration
[DataMember(Name = "legalSpeedRateMeasure")]
public List<NcSpeedMeasureType> LegalSpeedRateMeasure { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcSpeedMeasureType> | A legally designated speed limit in the area where an incident occurred. NIEM reference is j:DrivingIncidentLegalSpeedRateMeasure |
LocatorReferenceIdentification
A reference identification number for the organization that keeps the incident report. NIEM reference is j:DrivingIncidentLocatorReferenceIdentification
Declaration
[DataMember(Name = "locatorReferenceIdentification")]
public List<NcIdentificationType> LocatorReferenceIdentification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcIdentificationType> | A reference identification number for the organization that keeps the incident report. NIEM reference is j:DrivingIncidentLocatorReferenceIdentification |
MalePassengerQuantity
A number of males in a vehicle excluding the driver when an incident occurred. NIEM reference is j:DrivingIncidentMalePassengerQuantityText
Declaration
[DataMember(Name = "malePassengerQuantity")]
public List<NcTextType> MalePassengerQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A number of males in a vehicle excluding the driver when an incident occurred. NIEM reference is j:DrivingIncidentMalePassengerQuantityText |
Passenger
A person in a vehicle excluding the driver when an incident occurred. NIEM reference is j:DrivingIncidentPassenger
Declaration
[DataMember(Name = "passenger")]
public List<NcPersonType> Passenger { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcPersonType> | A person in a vehicle excluding the driver when an incident occurred. NIEM reference is j:DrivingIncidentPassenger |
PassengerDescription
A description of the people in a vehicle excluding the driver during the time of an incident. NIEM reference is j:DrivingIncidentPassengerDescriptionText
Declaration
[DataMember(Name = "passengerDescription")]
public List<NcTextType> PassengerDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the people in a vehicle excluding the driver during the time of an incident. NIEM reference is j:DrivingIncidentPassengerDescriptionText |
PassengerQuantity
A number of people in a vehicle excluding the driver when an incident occurred. NIEM reference is j:DrivingIncidentPassengerQuantityText
Declaration
[DataMember(Name = "passengerQuantity")]
public List<NcTextType> PassengerQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A number of people in a vehicle excluding the driver when an incident occurred. NIEM reference is j:DrivingIncidentPassengerQuantityText |
RecordedSpeedRateMeasure
A speed a vehicle was moving at when an incident occurred. NIEM reference is j:DrivingIncidentRecordedSpeedRateMeasure
Declaration
[DataMember(Name = "recordedSpeedRateMeasure")]
public List<NcSpeedMeasureType> RecordedSpeedRateMeasure { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcSpeedMeasureType> | A speed a vehicle was moving at when an incident occurred. NIEM reference is j:DrivingIncidentRecordedSpeedRateMeasure |
RoadCategory
A kind of road where an incident occurred. NIEM reference is j:DrivingIncidentRoadCategoryText
Declaration
[DataMember(Name = "roadCategory")]
public List<NcTextType> RoadCategory { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of road where an incident occurred. NIEM reference is j:DrivingIncidentRoadCategoryText |
RoadDescription
A description of the road conditions during the time of an incident. NIEM reference is j:DrivingIncidentRoadDescriptionText
Declaration
[DataMember(Name = "roadDescription")]
public List<NcTextType> RoadDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the road conditions during the time of an incident. NIEM reference is j:DrivingIncidentRoadDescriptionText |
TrafficDescription
A description of the traffic conditions during the time of an incident. NIEM reference is j:DrivingIncidentTrafficDescriptionText
Declaration
[DataMember(Name = "trafficDescription")]
public List<NcTextType> TrafficDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the traffic conditions during the time of an incident. NIEM reference is j:DrivingIncidentTrafficDescriptionText |
WeatherDescription
A description of the weather during the time of an incident. NIEM reference is j:DrivingIncidentWeatherDescriptionText
Declaration
[DataMember(Name = "weatherDescription")]
public List<NcTextType> WeatherDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the weather during the time of an incident. NIEM reference is j:DrivingIncidentWeatherDescriptionText |
Methods
Equals(JDrivingIncidentType)
Returns true if JDrivingIncidentType instances are equal
Declaration
public bool Equals(JDrivingIncidentType other)
Parameters
Type | Name | Description |
---|---|---|
JDrivingIncidentType | other | Instance of JDrivingIncidentType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(JDrivingIncidentType, JDrivingIncidentType)
Declaration
public static bool operator ==(JDrivingIncidentType left, JDrivingIncidentType right)
Parameters
Type | Name | Description |
---|---|---|
JDrivingIncidentType | left | |
JDrivingIncidentType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JDrivingIncidentType, JDrivingIncidentType)
Declaration
public static bool operator !=(JDrivingIncidentType left, JDrivingIncidentType right)
Parameters
Type | Name | Description |
---|---|---|
JDrivingIncidentType | left | |
JDrivingIncidentType | right |
Returns
Type | Description |
---|---|
System.Boolean |