Class JOffenseType
A data type for an alleged violation of a statute, ordinance, or rule.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JOffenseType : NcActivityType, IEquatable<NcActivityType>, IEquatable<JOffenseType>
Properties
ApcoCode
An offense designation as specified by APCO. NIEM reference is j:OffenseAPCOCode
Declaration
[DataMember(Name = "apcoCode")]
public List<ApcoIncidentCategoryCodeType> ApcoCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ApcoIncidentCategoryCodeType> | An offense designation as specified by APCO. NIEM reference is j:OffenseAPCOCode |
Category
A kind of offense. NIEM reference is j:OffenseCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of offense. NIEM reference is j:OffenseCategoryText |
CategoryCode
A kind of offense. NIEM reference is j:OffenseCategoryCode
Declaration
[DataMember(Name = "categoryCode")]
public List<UcrCriminalActivityCategoryCodeType> CategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrCriminalActivityCategoryCodeType> | A kind of offense. NIEM reference is j:OffenseCategoryCode |
CategoryNdExCode
A kind of offense. NIEM reference is j:OffenseCategoryNDExCode
Declaration
[DataMember(Name = "categoryNdExCode")]
public List<NdexOffenseCategoryNDExCodeType> CategoryNdExCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexOffenseCategoryNDExCodeType> | A kind of offense. NIEM reference is j:OffenseCategoryNDExCode |
Context
jOffenseType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JOffenseType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JOffenseType.ContextEnum> | jOffenseType JSON-LD context |
CriminalActivityCategory
A kind of criminal activity. NIEM reference is j:CriminalActivityCategoryText
Declaration
[DataMember(Name = "criminalActivityCategory")]
public List<NcTextType> CriminalActivityCategory { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of criminal activity. NIEM reference is j:CriminalActivityCategoryText |
CriminalActivityCategoryCode
A kind of criminal activity. NIEM reference is j:CriminalActivityCategoryCode
Declaration
[DataMember(Name = "criminalActivityCategoryCode")]
public List<UcrCriminalActivityCategoryCodeType> CriminalActivityCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrCriminalActivityCategoryCodeType> | A kind of criminal activity. NIEM reference is j:CriminalActivityCategoryCode |
CriminalActivityNdExCategoryCode
A kind of criminal activity. NIEM reference is j:CriminalActivityNDExCategoryCode
Declaration
[DataMember(Name = "criminalActivityNdExCategoryCode")]
public List<NdexCriminalActivityCategoryNDExCodeType> CriminalActivityNdExCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexCriminalActivityCategoryNDExCodeType> | A kind of criminal activity. NIEM reference is j:CriminalActivityNDExCategoryCode |
DrivingCode
A driving offense designation as specified by the AAMVA Code Dictionary (ACD). NIEM reference is j:DrivingOffenseCode
Declaration
[DataMember(Name = "drivingCode")]
public List<AamvaD20DrivingOffenseCodeType> DrivingCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AamvaD20DrivingOffenseCodeType> | A driving offense designation as specified by the AAMVA Code Dictionary (ACD). NIEM reference is j:DrivingOffenseCode |
EntryPoint
A point of entry to a location or structure involved in an offense. NIEM reference is j:OffenseEntryPoint
Declaration
[DataMember(Name = "entryPoint")]
public List<JPassagePointType> EntryPoint { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JPassagePointType> | A point of entry to a location or structure involved in an offense. NIEM reference is j:OffenseEntryPoint |
ExitPoint
A point of exit to a location or structure involved in an offense. NIEM reference is j:OffenseExitPoint
Declaration
[DataMember(Name = "exitPoint")]
public List<JPassagePointType> ExitPoint { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JPassagePointType> | A point of exit to a location or structure involved in an offense. NIEM reference is j:OffenseExitPoint |
Factor
A set of details about a circumstance or factor that has an effect on an offense. NIEM reference is j:OffenseFactor
Declaration
[DataMember(Name = "factor")]
public List<JOffenseFactorType> Factor { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JOffenseFactorType> | A set of details about a circumstance or factor that has an effect on an offense. NIEM reference is j:OffenseFactor |
FactorBiasMotivation
A kind of bias that motivated an offense, if any. NIEM reference is j:OffenseFactorBiasMotivationText
Declaration
[DataMember(Name = "factorBiasMotivation")]
public List<NcTextType> FactorBiasMotivation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of bias that motivated an offense, if any. NIEM reference is j:OffenseFactorBiasMotivationText |
FactorBiasMotivationCause
An indication that the offender was motivated to commit the offense, in whole/part, because of bias. NIEM reference is j:OffenseFactorBiasMotivationCauseText
Declaration
[DataMember(Name = "factorBiasMotivationCause")]
public List<NcTextType> FactorBiasMotivationCause { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | An indication that the offender was motivated to commit the offense, in whole/part, because of bias. NIEM reference is j:OffenseFactorBiasMotivationCauseText |
FactorBiasMotivationCauseCode
An indication that the offender was motivated to commit the offense, in whole/part, because of bias. NIEM reference is j:OffenseFactorBiasMotivationCauseCode
Declaration
[DataMember(Name = "factorBiasMotivationCauseCode")]
public List<NdexBiasMotivationCauseCodeType> FactorBiasMotivationCauseCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexBiasMotivationCauseCodeType> | An indication that the offender was motivated to commit the offense, in whole/part, because of bias. NIEM reference is j:OffenseFactorBiasMotivationCauseCode |
FactorBiasMotivationCode
A kind of bias that motivated an offense, if any. NIEM reference is j:OffenseFactorBiasMotivationCode
Declaration
[DataMember(Name = "factorBiasMotivationCode")]
public List<NdexBiasMotivationCodeType> FactorBiasMotivationCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexBiasMotivationCodeType> | A kind of bias that motivated an offense, if any. NIEM reference is j:OffenseFactorBiasMotivationCode |
FactorBiasMotivationDescription
A description of a bias that motivated an offense. NIEM reference is j:OffenseFactorBiasMotivationDescriptionText
Declaration
[DataMember(Name = "factorBiasMotivationDescription")]
public List<NcTextType> FactorBiasMotivationDescription { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of a bias that motivated an offense. NIEM reference is j:OffenseFactorBiasMotivationDescriptionText |
Force
A force used during an offense, whether physical or aided by a tool or weapon. NIEM reference is j:OffenseForce
Declaration
[DataMember(Name = "force")]
public List<JForceType> Force { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JForceType> | A force used during an offense, whether physical or aided by a tool or weapon. NIEM reference is j:OffenseForce |
GangInvolvementCategoryCode
A kind of gang involved in an offense. NIEM reference is j:OffenseGangInvolvementCategoryCode
Declaration
[DataMember(Name = "gangInvolvementCategoryCode")]
public List<NdexGangInvolvementCategoryCodeType> GangInvolvementCategoryCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexGangInvolvementCategoryCodeType> | A kind of gang involved in an offense. NIEM reference is j:OffenseGangInvolvementCategoryCode |
IsAlcoholDrugConnected
True if alcohol or a drug was connected with offense; false otherwise. NIEM reference is j:OffenseAlcoholDrugConnectedIndicator
Declaration
[DataMember(Name = "isAlcoholDrugConnected")]
public List<NiemXsboolean> IsAlcoholDrugConnected { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if alcohol or a drug was connected with offense; false otherwise. NIEM reference is j:OffenseAlcoholDrugConnectedIndicator |
IsAttempted
True if an offense was attempted but not completed; false otherwise. NIEM reference is j:OffenseAttemptedIndicator
Declaration
[DataMember(Name = "isAttempted")]
public List<NiemXsboolean> IsAttempted { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if an offense was attempted but not completed; false otherwise. NIEM reference is j:OffenseAttemptedIndicator |
IsCargoTheft
True if an offense involves the criminal taking of any cargo that constitutes, in whole or in part, a commercial shipment of freight moving in commerce; false otherwise. NIEM reference is j:OffenseCargoTheftIndicator
Declaration
[DataMember(Name = "isCargoTheft")]
public List<NiemXsboolean> IsCargoTheft { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if an offense involves the criminal taking of any cargo that constitutes, in whole or in part, a commercial shipment of freight moving in commerce; false otherwise. NIEM reference is j:OffenseCargoTheftIndicator |
IsDomesticViolence
True if an offense involves the infliction of physical injury, or the creation of a reasonable fear that physical injury or harm will be inflicted, by a parent or member or former member of a child's household, against a child or against another member of the household; false otherwise. NIEM reference is j:OffenseDomesticViolenceIndicator
Declaration
[DataMember(Name = "isDomesticViolence")]
public List<NiemXsboolean> IsDomesticViolence { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if an offense involves the infliction of physical injury, or the creation of a reasonable fear that physical injury or harm will be inflicted, by a parent or member or former member of a child's household, against a child or against another member of the household; false otherwise. NIEM reference is j:OffenseDomesticViolenceIndicator |
IsEvidenceHeld
True if evidence was held due to an offense; false otherwise. NIEM reference is j:OffenseEvidenceHeldIndicator
Declaration
[DataMember(Name = "isEvidenceHeld")]
public List<NiemXsboolean> IsEvidenceHeld { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if evidence was held due to an offense; false otherwise. NIEM reference is j:OffenseEvidenceHeldIndicator |
IsFamilyMember
True if an offense was against a family member and by statute is not considered to be domestic violence; false otherwise. NIEM reference is j:OffenseFamilyMemberIndicator
Declaration
[DataMember(Name = "isFamilyMember")]
public List<NiemXsboolean> IsFamilyMember { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if an offense was against a family member and by statute is not considered to be domestic violence; false otherwise. NIEM reference is j:OffenseFamilyMemberIndicator |
IsGamblingConnected
True if gambling is connected with offense; false otherwise. NIEM reference is j:OffenseGamblingConnectedIndicator
Declaration
[DataMember(Name = "isGamblingConnected")]
public List<NiemXsboolean> IsGamblingConnected { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if gambling is connected with offense; false otherwise. NIEM reference is j:OffenseGamblingConnectedIndicator |
IsGangInvolvement
True if a gang is involved in an offense; false otherwise. NIEM reference is j:OffenseGangInvolvementIndicator
Declaration
[DataMember(Name = "isGangInvolvement")]
public List<NiemXsboolean> IsGangInvolvement { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a gang is involved in an offense; false otherwise. NIEM reference is j:OffenseGangInvolvementIndicator |
IsHomeInvasion
True if offense involves entering a private and occupied dwelling, with the intent of committing a crime, often while threatening the resident of the dwelling; false otherwise. NIEM reference is j:OffenseHomeInvasionIndicator
Declaration
[DataMember(Name = "isHomeInvasion")]
public List<NiemXsboolean> IsHomeInvasion { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if offense involves entering a private and occupied dwelling, with the intent of committing a crime, often while threatening the resident of the dwelling; false otherwise. NIEM reference is j:OffenseHomeInvasionIndicator |
IsIdentityTheft
True if an offense involves use of identity information of another person, fraudulently and without permission to obtain money, goods, services, or false official documents; false otherwise. NIEM reference is j:OffenseIdentityTheftIndicator
Declaration
[DataMember(Name = "isIdentityTheft")]
public List<NiemXsboolean> IsIdentityTheft { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if an offense involves use of identity information of another person, fraudulently and without permission to obtain money, goods, services, or false official documents; false otherwise. NIEM reference is j:OffenseIdentityTheftIndicator |
IsJuvenileAsAdult
True if a juvenile is to be processed as an adult; false otherwise. NIEM reference is j:JuvenileAsAdultIndicator
Declaration
[DataMember(Name = "isJuvenileAsAdult")]
public List<NiemXsboolean> IsJuvenileAsAdult { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a juvenile is to be processed as an adult; false otherwise. NIEM reference is j:JuvenileAsAdultIndicator |
IsJuvenileOffender
True if the legal status of a person is a juvenile; false otherwise. NIEM reference is j:JuvenileOffenderIndicator
Declaration
[DataMember(Name = "isJuvenileOffender")]
public List<NiemXsboolean> IsJuvenileOffender { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if the legal status of a person is a juvenile; false otherwise. NIEM reference is j:JuvenileOffenderIndicator |
IsPsychologicalPsychiatricConditionConnected
True if a psychological or psychiatric condition is connected with offense; false otherwise. NIEM reference is j:OffensePsychologicalPsychiatricConditionConnectedIndicator
Declaration
[DataMember(Name = "isPsychologicalPsychiatricConditionConnected")]
public List<NiemXsboolean> IsPsychologicalPsychiatricConditionConnected { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a psychological or psychiatric condition is connected with offense; false otherwise. NIEM reference is j:OffensePsychologicalPsychiatricConditionConnectedIndicator |
IsRacketeerInfluencedAndCorruptOrganizationsAct
True if a Racketeer Influenced and Corrupt Organizations Act (RICO) Act or 'little RICO Act' applicable offense; false otherwise. NIEM reference is j:OffenseRacketeerInfluencedAndCorruptOrganizationsActIndicator
Declaration
[DataMember(Name = "isRacketeerInfluencedAndCorruptOrganizationsAct")]
public List<NiemXsboolean> IsRacketeerInfluencedAndCorruptOrganizationsAct { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a Racketeer Influenced and Corrupt Organizations Act (RICO) Act or 'little RICO Act' applicable offense; false otherwise. NIEM reference is j:OffenseRacketeerInfluencedAndCorruptOrganizationsActIndicator |
IsTerrorism
True if an offense involves the use of force or violence against persons or property to intimidate or coerce a Government, the civilian population, or any segment thereof, in furtherance of political or social objectives; false otherwise. NIEM reference is j:OffenseTerrorismIndicator
Declaration
[DataMember(Name = "isTerrorism")]
public List<NiemXsboolean> IsTerrorism { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if an offense involves the use of force or violence against persons or property to intimidate or coerce a Government, the civilian population, or any segment thereof, in furtherance of political or social objectives; false otherwise. NIEM reference is j:OffenseTerrorismIndicator |
Level
A level of an offense, such as a felony or misdemeanor. NIEM reference is j:OffenseLevelText
Declaration
[DataMember(Name = "level")]
public List<NcTextType> Level { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A level of an offense, such as a felony or misdemeanor. NIEM reference is j:OffenseLevelText |
MoCrimeAndMotive
A probable crime type and/or motive based on a usual way in which a criminal organization or person acts or operates. NIEM reference is j:OffenseMOCrimeAndMotiveText
Declaration
[DataMember(Name = "moCrimeAndMotive")]
public List<NcTextType> MoCrimeAndMotive { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A probable crime type and/or motive based on a usual way in which a criminal organization or person acts or operates. NIEM reference is j:OffenseMOCrimeAndMotiveText |
MoCrimeAndMotiveCode
A probable crime type and/or motive based on a usual way in which a criminal organization or person acts or operates. NIEM reference is j:OffenseMOCrimeAndMotiveCode
Declaration
[DataMember(Name = "moCrimeAndMotiveCode")]
public List<NdexOffenseMOCrimeAndMotiveCodeType> MoCrimeAndMotiveCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexOffenseMOCrimeAndMotiveCodeType> | A probable crime type and/or motive based on a usual way in which a criminal organization or person acts or operates. NIEM reference is j:OffenseMOCrimeAndMotiveCode |
Name
A name or designation of an offense. NIEM reference is j:OffenseName
Declaration
[DataMember(Name = "name")]
public List<NcTextType> Name { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name or designation of an offense. NIEM reference is j:OffenseName |
NcicCode
An offense designation as specified by FBI's National Crime Information Center (NCIC) system. NIEM reference is j:OffenseNCICCode
Declaration
[DataMember(Name = "ncicCode")]
public List<NcicOFFCodeType> NcicCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcicOFFCodeType> | An offense designation as specified by FBI's National Crime Information Center (NCIC) system. NIEM reference is j:OffenseNCICCode |
NdExCode
An offense designation. NIEM reference is j:OffenseNDExCode
Declaration
[DataMember(Name = "ndExCode")]
public List<NdexOffenseCodeType> NdExCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NdexOffenseCodeType> | An offense designation. NIEM reference is j:OffenseNDExCode |
Qualifier
A set of details that further characterizes an offense. NIEM reference is j:OffenseQualifierText
Declaration
[DataMember(Name = "qualifier")]
public List<NcTextType> Qualifier { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A set of details that further characterizes an offense. NIEM reference is j:OffenseQualifierText |
SentenceDate
A date a person was sentenced. NIEM reference is j:OffenseSentenceDate
Declaration
[DataMember(Name = "sentenceDate")]
public List<NcDateType> SentenceDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date a person was sentenced. NIEM reference is j:OffenseSentenceDate |
SeverityLevel
A description of the level of severity of an offense. NIEM reference is j:OffenseSeverityLevelText
Declaration
[DataMember(Name = "severityLevel")]
public List<NcTextType> SeverityLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of the level of severity of an offense. NIEM reference is j:OffenseSeverityLevelText |
StructuresEnteredQuantity
A number of structures or premises entered by the subject during an offense. NIEM reference is j:OffenseStructuresEnteredQuantity
Declaration
[DataMember(Name = "structuresEnteredQuantity")]
public List<NcQuantityType> StructuresEnteredQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcQuantityType> | A number of structures or premises entered by the subject during an offense. NIEM reference is j:OffenseStructuresEnteredQuantity |
UcrCode
An offense designation as specified by FBI's Uniform Crime Reporting (UCR) program. NIEM reference is j:OffenseUCRCode
Declaration
[DataMember(Name = "ucrCode")]
public List<UcrOffenseCodeType> UcrCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UcrOffenseCodeType> | An offense designation as specified by FBI's Uniform Crime Reporting (UCR) program. NIEM reference is j:OffenseUCRCode |
ViolatedStatute
A set of details about a statute, rule, or ordinance that was violated as a result of an offense. NIEM reference is j:OffenseViolatedStatute
Declaration
[DataMember(Name = "violatedStatute")]
public List<JStatuteType> ViolatedStatute { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JStatuteType> | A set of details about a statute, rule, or ordinance that was violated as a result of an offense. NIEM reference is j:OffenseViolatedStatute |
Methods
Equals(JOffenseType)
Returns true if JOffenseType instances are equal
Declaration
public bool Equals(JOffenseType other)
Parameters
Type | Name | Description |
---|---|---|
JOffenseType | other | Instance of JOffenseType 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(JOffenseType, JOffenseType)
Declaration
public static bool operator ==(JOffenseType left, JOffenseType right)
Parameters
Type | Name | Description |
---|---|---|
JOffenseType | left | |
JOffenseType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JOffenseType, JOffenseType)
Declaration
public static bool operator !=(JOffenseType left, JOffenseType right)
Parameters
Type | Name | Description |
---|---|---|
JOffenseType | left | |
JOffenseType | right |
Returns
Type | Description |
---|---|
System.Boolean |