Class JSanctionType
A data type for a sanction or penalty ordered for a subject as a result of a disposition of a charge.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JSanctionType : NcActivityType, IEquatable<NcActivityType>, IEquatable<JSanctionType>
Properties
Category
A kind of sanction. NIEM reference is j:SanctionCategoryText
Declaration
[DataMember(Name = "category")]
public List<NcTextType> Category { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of sanction. NIEM reference is j:SanctionCategoryText |
Context
jSanctionType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JSanctionType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JSanctionType.ContextEnum> | jSanctionType JSON-LD context |
CreditedObligation
An amount of money or time requirement of a sanction already paid. NIEM reference is j:SanctionCreditedObligation
Declaration
[DataMember(Name = "creditedObligation")]
public List<NcObligationType> CreditedObligation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcObligationType> | An amount of money or time requirement of a sanction already paid. NIEM reference is j:SanctionCreditedObligation |
DaysSuspendedQuantity
A number of days for which the execution of the sanction is to be suspended pending clear conduct by a subject. NIEM reference is j:SanctionDaysSuspendedQuantity
Declaration
[DataMember(Name = "daysSuspendedQuantity")]
public List<NiemXsnonNegativeInteger> DaysSuspendedQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsnonNegativeInteger> | A number of days for which the execution of the sanction is to be suspended pending clear conduct by a subject. NIEM reference is j:SanctionDaysSuspendedQuantity |
Description
A description of a sanction imposed by a hearing. NIEM reference is j:SanctionDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of a sanction imposed by a hearing. NIEM reference is j:SanctionDescriptionText |
DisciplinaryAction
A correction action that is assigned as part of a sanction. NIEM reference is j:SanctionDisciplinaryAction
Declaration
[DataMember(Name = "disciplinaryAction")]
public List<NcDisciplinaryActionType> DisciplinaryAction { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDisciplinaryActionType> | A correction action that is assigned as part of a sanction. NIEM reference is j:SanctionDisciplinaryAction |
Frequency
A frequency with which a sanction is to be met. NIEM reference is j:SanctionFrequencyText
Declaration
[DataMember(Name = "frequency")]
public List<NcTextType> Frequency { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A frequency with which a sanction is to be met. NIEM reference is j:SanctionFrequencyText |
Grouping
A way of grouping multiple sanctions. NIEM reference is j:SanctionGroupingText
Declaration
[DataMember(Name = "grouping")]
public List<NcTextType> Grouping { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A way of grouping multiple sanctions. NIEM reference is j:SanctionGroupingText |
IsAdultSentence
True if a sanction for an extended jurisdiction juvenile is part of an adult or a juvenile sentence; false otherwise. NIEM reference is j:SanctionAdultSentenceIndicator
Declaration
[DataMember(Name = "isAdultSentence")]
public List<NiemXsboolean> IsAdultSentence { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a sanction for an extended jurisdiction juvenile is part of an adult or a juvenile sentence; false otherwise. NIEM reference is j:SanctionAdultSentenceIndicator |
IsConcurrent
True if the sanction runs concurrently with other sanctions imposed; false otherwise. NIEM reference is j:SanctionConcurrentIndicator
Declaration
[DataMember(Name = "isConcurrent")]
public List<NiemXsboolean> IsConcurrent { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if the sanction runs concurrently with other sanctions imposed; false otherwise. NIEM reference is j:SanctionConcurrentIndicator |
IsSentenceDefinition
True if a sanction 'defines' a sentence; false otherwise. NIEM reference is j:SanctionSentenceDefinitionIndicator
Declaration
[DataMember(Name = "isSentenceDefinition")]
public List<NiemXsboolean> IsSentenceDefinition { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsboolean> | True if a sanction 'defines' a sentence; false otherwise. NIEM reference is j:SanctionSentenceDefinitionIndicator |
IssuingAgency
A court that sets a sanction. NIEM reference is j:SanctionIssuingAgency
Declaration
[DataMember(Name = "issuingAgency")]
public List<NcOrganizationType> IssuingAgency { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcOrganizationType> | A court that sets a sanction. NIEM reference is j:SanctionIssuingAgency |
JurisdictionalAgency
A court that has jurisdiction over a sanction. NIEM reference is j:SanctionJurisdictionalAgency
Declaration
[DataMember(Name = "jurisdictionalAgency")]
public List<NcOrganizationType> JurisdictionalAgency { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcOrganizationType> | A court that has jurisdiction over a sanction. NIEM reference is j:SanctionJurisdictionalAgency |
Progress
A tracking of changes in a subject's progress toward fulfillment of the terms of a sanction. NIEM reference is j:SanctionProgress
Declaration
[DataMember(Name = "progress")]
public List<NcProgressType> Progress { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcProgressType> | A tracking of changes in a subject's progress toward fulfillment of the terms of a sanction. NIEM reference is j:SanctionProgress |
RelatedChargeDisposition
A final version of a disposed Charge. NIEM reference is j:SanctionRelatedChargeDispositionText
Declaration
[DataMember(Name = "relatedChargeDisposition")]
public List<NcTextType> RelatedChargeDisposition { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A final version of a disposed Charge. NIEM reference is j:SanctionRelatedChargeDispositionText |
RelatedSanctionIdentification
A sanction identification from related court case. NIEM reference is j:SanctionRelatedSanctionIdentification
Declaration
[DataMember(Name = "relatedSanctionIdentification")]
public List<NcIdentificationType> RelatedSanctionIdentification { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcIdentificationType> | A sanction identification from related court case. NIEM reference is j:SanctionRelatedSanctionIdentification |
SentenceSeverityLevel
A severity level of a sentence. NIEM reference is j:SentenceSeverityLevel
Declaration
[DataMember(Name = "sentenceSeverityLevel")]
public List<JSeverityLevelType> SentenceSeverityLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JSeverityLevelType> | A severity level of a sentence. NIEM reference is j:SentenceSeverityLevel |
SentencingGuideline
A sentencing guideline. NIEM reference is j:SentencingGuideline
Declaration
[DataMember(Name = "sentencingGuideline")]
public List<JSentencingGuidelineType> SentencingGuideline { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<JSentencingGuidelineType> | A sentencing guideline. NIEM reference is j:SentencingGuideline |
SentencingGuidelineDepartureCategory
A kind of departure from sentencing guidelines represented by a sentence for a charge.. NIEM reference is j:SentencingGuidelineDepartureCategoryText
Declaration
[DataMember(Name = "sentencingGuidelineDepartureCategory")]
public List<NcTextType> SentencingGuidelineDepartureCategory { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A kind of departure from sentencing guidelines represented by a sentence for a charge.. NIEM reference is j:SentencingGuidelineDepartureCategoryText |
SentencingGuidelineDepartureReason
A reason a judge departs from a sentencing guideline. NIEM reference is j:SentencingGuidelineDepartureReasonText
Declaration
[DataMember(Name = "sentencingGuidelineDepartureReason")]
public List<NcTextType> SentencingGuidelineDepartureReason { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A reason a judge departs from a sentencing guideline. NIEM reference is j:SentencingGuidelineDepartureReasonText |
SetDate
A date a sanction was set or ordered. NIEM reference is j:SanctionSetDate
Declaration
[DataMember(Name = "setDate")]
public List<NcDateType> SetDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date a sanction was set or ordered. NIEM reference is j:SanctionSetDate |
SetObligation
An amount of money or time requirement of a sanction that has been set. NIEM reference is j:SanctionSetObligation
Declaration
[DataMember(Name = "setObligation")]
public List<NcObligationType> SetObligation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcObligationType> | An amount of money or time requirement of a sanction that has been set. NIEM reference is j:SanctionSetObligation |
StayedObligation
An amount of money or time requirement of a sanction that is temporarily suspended. NIEM reference is j:SanctionStayedObligation
Declaration
[DataMember(Name = "stayedObligation")]
public List<NcObligationType> StayedObligation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcObligationType> | An amount of money or time requirement of a sanction that is temporarily suspended. NIEM reference is j:SanctionStayedObligation |
SuspendedObligation
An amount of money or time requirement of a sanction that is no longer required to be paid. NIEM reference is j:SanctionSuspendedObligation
Declaration
[DataMember(Name = "suspendedObligation")]
public List<NcObligationType> SuspendedObligation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcObligationType> | An amount of money or time requirement of a sanction that is no longer required to be paid. NIEM reference is j:SanctionSuspendedObligation |
Methods
Equals(JSanctionType)
Returns true if JSanctionType instances are equal
Declaration
public bool Equals(JSanctionType other)
Parameters
Type | Name | Description |
---|---|---|
JSanctionType | other | Instance of JSanctionType 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(JSanctionType, JSanctionType)
Declaration
public static bool operator ==(JSanctionType left, JSanctionType right)
Parameters
Type | Name | Description |
---|---|---|
JSanctionType | left | |
JSanctionType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JSanctionType, JSanctionType)
Declaration
public static bool operator !=(JSanctionType left, JSanctionType right)
Parameters
Type | Name | Description |
---|---|---|
JSanctionType | left | |
JSanctionType | right |
Returns
Type | Description |
---|---|
System.Boolean |