.cdm-java.6.0.0-dev.72.source-code.cdm-base-datetime-AdjustedRelativeDateOffset.schema.json Maven / Gradle / Ivy
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$anchor": "cdm.base.datetime",
"type": "object",
"title": "AdjustedRelativeDateOffset",
"description": "A type defining a date (referred to as the derived date) as a relative offset from another date (referred to as the anchor date) plus optional date adjustments.",
"properties": {
"periodMultiplier": {
"description": "A time period multiplier, e.g. 1, 2 or 3 etc. A negative value can be used when specifying an offset relative to another date, e.g. -2 days.",
"type": "integer"
},
"period": {
"description": "A time period, e.g. a day, week, month or year of the stream. If the periodMultiplier value is 0 (zero) then period must contain the value D (day).",
"$ref": "cdm-base-datetime-PeriodEnum.schema.json"
},
"dayType": {
"description": "In the case of an offset specified as a number of days, this element defines whether consideration is given as to whether a day is a good business day or not. If a day type of business days is specified then non-business days are ignored when calculating the offset. The financial business centers to use for determination of business days are implied by the context in which this element is used. This element must only be included when the offset is specified as a number of days. If the offset is zero days then the dayType element should not be included.",
"$ref": "cdm-base-datetime-DayTypeEnum.schema.json"
},
"businessDayConvention": {
"description": "The convention for adjusting a date if it would otherwise fall on a day that is not a business day, as specified by an ISDA convention (e.g. Following, Precedent).",
"$ref": "cdm-base-datetime-BusinessDayConventionEnum.schema.json"
},
"businessCenters": {
"$ref": "cdm-base-datetime-BusinessCenters.schema.json"
},
"businessCentersReference": {
"description": "A pointer style reference to a set of financial business centers defined elsewhere in the document. This set of business centers is used to determine whether a particular day is a business day or not.",
"$ref": "cdm-base-datetime-metafields-ReferenceWithMetaBusinessCenters.schema.json"
},
"dateRelativeTo": {
"description": "Specifies the anchor as an href attribute. The href attribute value is a pointer style reference to the element or component elsewhere in the document where the anchor date is defined.",
"$ref": "com-rosetta-model-metafields-ReferenceWithMetaString.schema.json"
},
"adjustedDate": {
"description": "The date once the adjustment has been performed. (Note that this date may change if the business center holidays change).",
"type": "string"
},
"relativeDateAdjustments": {
"description": "The business day convention and financial business centers used for adjusting the relative date if it would otherwise fall on a day that is not a business date in the specified business centers.",
"$ref": "cdm-base-datetime-BusinessDayAdjustments.schema.json"
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy