{"openapi":"3.0.4","info":{"title":"FlowConventions","version":"0.0.1"},"paths":{},"components":{"schemas":{"FlowConventions":{"required":["currency","dayCountConvention","paymentCalendars","paymentFrequency","resetCalendars","rollConvention"],"type":"object","properties":{"currency":{"type":"string","description":"Currency of the flow convention."},"paymentFrequency":{"maxLength":50,"minLength":0,"type":"string","description":"When generating a multiperiod flow, or when the maturity of the flow is not given but the start date is,\r\nthe tenor is the time-step from the anchor-date to the nominal maturity of the flow prior to any adjustment.\r\n\r\nFor more information on tenors, see [knowledge base article KA-02097](https://support.lusid.com/knowledgebase/article/KA-02097)"},"dayCountConvention":{"maxLength":50,"minLength":0,"type":"string","description":"when calculating the fraction of a year between two dates, what convention is used to represent the number of days in a year\r\nand difference between them.\r\nFor more information on day counts, see [knowledge base article KA-01798](https://support.lusid.com/knowledgebase/article/KA-01798)\r\n            \r\nSupported string (enumeration) values are: [Actual360, Act360, MoneyMarket, Actual365, Act365, Thirty360, ThirtyU360, Bond, ThirtyE360, EuroBond, ActualActual, ActAct, ActActIsda, ActActIsma, ActActIcma, OneOne, Act364, Act365F, Act365L, Act365_25, Act252, Bus252, NL360, NL365, ActActAFB, Act365Cad, ThirtyActIsda, Thirty365Isda, ThirtyEActIsda, ThirtyE360Isda, ThirtyE365Isda, ThirtyU360EOM]."},"rollConvention":{"maxLength":50,"minLength":0,"type":"string","description":"For backward compatibility, this can either specify a business day convention or a roll convention. If the business\r\nday convention is provided using the BusinessDayConvention property, this must be a valid roll convention.\r\n            \r\nWhen used as a roll convention:\r\nThe conventions specifying the rule used to generate dates in a schedule.\r\n\r\nSupported string (enumeration) values are: [None, EndOfMonth, IMM, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, FirstMonday, FirstTuesday, FirstWednesday, FirstThursday, FirstFriday, SecondMonday, SecondTuesday, SecondWednesday, SecondThursday, SecondFriday, ThirdMonday, ThirdTuesday, ThirdWednesday, ThirdThursday, ThirdFriday, FourthMonday, FourthTuesday, FourthWednesday, FourthThursday, FourthFriday, LastMonday, LastTuesday, LastWednesday, LastThursday, LastFriday].\r\n            \r\nWhen in backward compatible mode:\r\nSupported string (enumeration) values are: [NoAdjustment, None, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing]."},"paymentCalendars":{"type":"array","items":{"type":"string"},"description":"An array of strings denoting holiday calendars that apply to generation of payment schedules."},"resetCalendars":{"type":"array","items":{"type":"string"},"description":"An array of strings denoting holiday calendars that apply to generation of reset schedules."},"settleDays":{"type":"integer","description":"DEPRECATED\r\nNumber of Good Business Days between the trade date and the effective or settlement date of the instrument.\r\nThis field is now deprecated and not picked up in schedule generation or adjustment to bond accrual start date. Defaulted to 0 if not set.","format":"int32"},"resetDays":{"type":"integer","description":"The number of Good Business Days between determination and payment of reset. Defaulted to 0 if not set.","format":"int32"},"leapDaysIncluded":{"type":"boolean","description":"If this flag is set to true, the 29th of February is included in the date schedule when the business roll convention is applied.\r\nIf this flag is set to false, the business roll convention ignores February 29 for date schedules, cash flow payments etc.\r\nThis flag defaults to true if not specified, i.e., leap days are included in a date schedule generation.","nullable":true},"accrualDateAdjustment":{"maxLength":50,"minLength":0,"type":"string","description":"Indicates if the accrual dates are adjusted using the business day convention. The default value is 'Adjusted'.\r\n\r\nSupported string (enumeration) values are: [Adjusted, Unadjusted].","nullable":true},"businessDayConvention":{"type":"string","description":"When generating a set of dates, what convention should be used for adjusting dates that coincide with a non-business day.\r\n            \r\nIf not set, defaults to the value of RollConvention. Available values: NoAdjustment, None, Previous, P, Following, F, ModifiedPrevious, MP, ModifiedFollowing, MF, HalfMonthModifiedFollowing, Nearest, Invalid.","nullable":true},"accrualDayCountConvention":{"maxLength":50,"minLength":0,"type":"string","description":"Optional, if not set the main DayCountConvention is used for all accrual calculations.\r\nThis only needs to be set when accrual uses a different day count to the coupon calculation.","nullable":true},"couponPaymentLag":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/RelativeDateOffset"},"scope":{"maxLength":256,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string","description":"The scope used when updating or inserting the convention.","nullable":true},"code":{"maxLength":256,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string","description":"The code of the convention.","nullable":true}},"additionalProperties":false,"description":"A flow convention defines the specification for generation of the date schedule for a leg or set of cashflows.\r\nIt determines the tenor of these and, how to map the unadjusted set of dates to dates which are 'good business\r\ndays'. For example, if an unadjusted date falls on a Saturday or a bank holiday, should it be rolled forward\r\nor backward to obtain the adjusted date.\r\nFor more information, see https://support.lusid.com/knowledgebase/article/KA-02055/","title":"FlowConventions"}}}}