Class: AdjustableOrAdjustedOrRelativeDate
This Rosetta class specifies the date as either an unadjusted, adjusted or relative date. It supplements the features of the AdjustableOrAdjustedDate to support the credit default swap option premium, which uses the relative date construct.
URI: common_domain_model:AdjustableOrAdjustedOrRelativeDate
classDiagram
class AdjustableOrAdjustedOrRelativeDate
click AdjustableOrAdjustedOrRelativeDate href "../AdjustableOrAdjustedOrRelativeDate/"
AdjustableOrAdjustedOrRelativeDate : adjustedDate
AdjustableOrAdjustedOrRelativeDate : dateAdjustments
AdjustableOrAdjustedOrRelativeDate --> "0..1" BusinessDayAdjustments : dateAdjustments
click BusinessDayAdjustments href "../BusinessDayAdjustments/"
AdjustableOrAdjustedOrRelativeDate : relativeDate
AdjustableOrAdjustedOrRelativeDate --> "0..1" RelativeDateOffset : relativeDate
click RelativeDateOffset href "../RelativeDateOffset/"
AdjustableOrAdjustedOrRelativeDate : unadjustedDate
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| unadjustedDate | 0..1 date |
A date subject to adjustment | direct |
| dateAdjustments | 0..1 BusinessDayAdjustments |
The business day convention and financial business centers used for adjusting… | direct |
| adjustedDate | 0..1 date |
The date once the adjustment has been performed | direct |
| relativeDate | 0..1 RelativeDateOffset |
A date specified as some offset to another date (the anchor date) | direct |
Expressions & Logic
All Of
Section titled “All Of”The class must satisfy all of:
- AnonymousClassExpression({ ‘description’: (’AdjustedDate: This data rule extends the data rule ’ ’AdjustableOrAdjustedDate_adjustedDate by specifying logic applicable to the ’ ‘relative date.’), ‘any_of’: [AnonymousClassExpression({ ‘slot_conditions’: {‘adjustedDate’: SlotDefinition({‘name’: ‘adjustedDate’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)})} }), AnonymousClassExpression({ ‘slot_conditions’: {‘relativeDate’: SlotDefinition({‘name’: ‘relativeDate’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)})} }), AnonymousClassExpression({ ‘slot_conditions’: {‘unadjustedDate’: SlotDefinition({‘name’: ‘unadjustedDate’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)})} }), AnonymousClassExpression({ ‘slot_conditions’: {‘unadjustedDate’: SlotDefinition({‘name’: ‘unadjustedDate’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)}), ‘dateAdjustments’: SlotDefinition({‘name’: ‘dateAdjustments’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)}), ‘adjustedDate’: SlotDefinition({‘name’: ‘adjustedDate’, ‘value_presence’: PresenceEnum(text=‘ABSENT’)})} })] })
Usages
Section titled “Usages”Identifier and Mapping Information
Section titled “Identifier and Mapping Information”Schema Source
Section titled “Schema Source”- from schema: https://w3id.org/lmodel/common-domain-model
Mappings
Section titled “Mappings”| Mapping Type | Mapped Value |
|---|---|
| self | common_domain_model:AdjustableOrAdjustedOrRelativeDate |
| native | common_domain_model:AdjustableOrAdjustedOrRelativeDate |
LinkML Source
Section titled “LinkML Source”Direct
Section titled “Direct”name: AdjustableOrAdjustedOrRelativeDatedescription: This Rosetta class specifies the date as either an unadjusted, adjusted or relative date. It supplements the features of the AdjustableOrAdjustedDate to support the credit default swap option premium, which uses the relative date construct.from_schema: https://w3id.org/lmodel/common-domain-modelattributes: unadjustedDate: name: unadjustedDate description: A date subject to adjustment. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime domain_of: - AdjustableDate - AdjustableDates - AdjustableOrAdjustedDate - AdjustableOrAdjustedOrRelativeDate - ObservationDate range: date dateAdjustments: name: dateAdjustments description: The business day convention and financial business centers used for adjusting the date if it would otherwise fall on a day that is not a business date in the specified business centers. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime domain_of: - AdjustableDate - AdjustableDates - AdjustableOrAdjustedDate - AdjustableOrAdjustedOrRelativeDate - ObservationSchedule - DividendPeriod - EconomicTerms range: BusinessDayAdjustments adjustedDate: name: adjustedDate annotations: rosetta_metadata: tag: rosetta_metadata value: id description: The date once the adjustment has been performed. (Note that this date may change if the business center holidays change). from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime domain_of: - AdjustableDate - AdjustableDates - AdjustableOrAdjustedDate - AdjustableOrAdjustedOrRelativeDate - RelativeDateOffset - ObservationDate - AdjustDateInstruction range: date relativeDate: name: relativeDate description: A date specified as some offset to another date (the anchor date). from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 domain_of: - AdjustableOrAdjustedOrRelativeDate - AdjustableOrRelativeDate - Composite range: RelativeDateOffsetall_of:- description: 'AdjustedDate: This data rule extends the data rule AdjustableOrAdjustedDate_adjustedDate by specifying logic applicable to the relative date.' any_of: - slot_conditions: adjustedDate: name: adjustedDate value_presence: PRESENT - slot_conditions: relativeDate: name: relativeDate value_presence: PRESENT - slot_conditions: unadjustedDate: name: unadjustedDate value_presence: PRESENT - slot_conditions: unadjustedDate: name: unadjustedDate value_presence: PRESENT dateAdjustments: name: dateAdjustments value_presence: PRESENT adjustedDate: name: adjustedDate value_presence: ABSENTInduced
Section titled “Induced”name: AdjustableOrAdjustedOrRelativeDatedescription: This Rosetta class specifies the date as either an unadjusted, adjusted or relative date. It supplements the features of the AdjustableOrAdjustedDate to support the credit default swap option premium, which uses the relative date construct.from_schema: https://w3id.org/lmodel/common-domain-modelattributes: unadjustedDate: name: unadjustedDate description: A date subject to adjustment. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime owner: AdjustableOrAdjustedOrRelativeDate domain_of: - AdjustableDate - AdjustableDates - AdjustableOrAdjustedDate - AdjustableOrAdjustedOrRelativeDate - ObservationDate range: date dateAdjustments: name: dateAdjustments description: The business day convention and financial business centers used for adjusting the date if it would otherwise fall on a day that is not a business date in the specified business centers. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime owner: AdjustableOrAdjustedOrRelativeDate domain_of: - AdjustableDate - AdjustableDates - AdjustableOrAdjustedDate - AdjustableOrAdjustedOrRelativeDate - ObservationSchedule - DividendPeriod - EconomicTerms range: BusinessDayAdjustments adjustedDate: name: adjustedDate annotations: rosetta_metadata: tag: rosetta_metadata value: id description: The date once the adjustment has been performed. (Note that this date may change if the business center holidays change). from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime owner: AdjustableOrAdjustedOrRelativeDate domain_of: - AdjustableDate - AdjustableDates - AdjustableOrAdjustedDate - AdjustableOrAdjustedOrRelativeDate - RelativeDateOffset - ObservationDate - AdjustDateInstruction range: date relativeDate: name: relativeDate description: A date specified as some offset to another date (the anchor date). from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_datetime rank: 1000 owner: AdjustableOrAdjustedOrRelativeDate domain_of: - AdjustableOrAdjustedOrRelativeDate - AdjustableOrRelativeDate - Composite range: RelativeDateOffsetall_of:- description: 'AdjustedDate: This data rule extends the data rule AdjustableOrAdjustedDate_adjustedDate by specifying logic applicable to the relative date.' any_of: - slot_conditions: adjustedDate: name: adjustedDate value_presence: PRESENT - slot_conditions: relativeDate: name: relativeDate value_presence: PRESENT - slot_conditions: unadjustedDate: name: unadjustedDate value_presence: PRESENT - slot_conditions: unadjustedDate: name: unadjustedDate value_presence: PRESENT dateAdjustments: name: dateAdjustments value_presence: PRESENT adjustedDate: name: adjustedDate value_presence: ABSENT