{"openapi":"3.0.4","info":{"title":"PortfolioHolding","version":"0.0.1"},"paths":{},"components":{"schemas":{"PortfolioHolding":{"required":["cost","costPortfolioCcy","holdingType","instrumentUid","settledUnits","units"],"type":"object","properties":{"instrumentScope":{"type":"string","description":"The scope in which the holding's instrument is in.","nullable":true},"instrumentUid":{"minLength":1,"type":"string","description":"The unique Lusid Instrument Id (LUID) of the instrument that the holding is in."},"subHoldingKeys":{"type":"object","additionalProperties":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/PerpetualProperty"},"description":"The sub-holding properties which identify the holding. Each property will be from the 'Transaction' domain. These are configured on a transaction portfolio.","nullable":true},"properties":{"type":"object","additionalProperties":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Property"},"description":"The properties which have been requested to be decorated onto the holding. These will be from the 'Instrument' or 'Holding' domain.","nullable":true},"holdingType":{"minLength":1,"type":"string","description":"The code for the type of the holding e.g. P, B, C, R, F etc."},"units":{"type":"number","description":"The total number of units of the holding.","format":"double"},"settledUnits":{"type":"number","description":"The total number of settled units of the holding.","format":"double"},"cost":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/CurrencyAndAmount"},"costPortfolioCcy":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/CurrencyAndAmount"},"transaction":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Transaction"},"currency":{"type":"string","description":"The holding currency.","nullable":true},"holdingTypeName":{"type":"string","description":"The decoded type of the holding e.g. Position, Balance, CashCommitment, Receivable, ForwardFX etc.","nullable":true},"holdingId":{"type":"integer","description":"A single identifier for the holding within the portfolio. The holdingId is constructed from the LusidInstrumentId, sub-holding keys and currrency and is unique within the portfolio.","format":"int64","nullable":true},"notionalCost":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/CurrencyAndAmount"},"amortisedCost":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/CurrencyAndAmount"},"amortisedCostPortfolioCcy":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/CurrencyAndAmount"},"variationMargin":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/CurrencyAndAmount"},"variationMarginPortfolioCcy":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/CurrencyAndAmount"},"settlementSchedule":{"type":"array","items":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/SettlementSchedule"},"description":"Where no. of days ahead has been specified, future dated settlements will be captured here.","nullable":true},"currentFace":{"type":"number","description":"Current face value of the holding.","format":"double","nullable":true},"custodianAccountId":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ResourceId"},"unsettledUnits":{"type":"number","description":"The number of unsettled units for the holding.","format":"double"},"overdueUnits":{"type":"number","description":"The number of unsettled units for the holding that are beyond their contractual settlement date.","format":"double"}},"additionalProperties":false,"description":"A list of holdings.","title":"PortfolioHolding"}}}}