{"openapi":"3.0.4","info":{"title":"Portfolio","version":"0.0.1"},"paths":{},"components":{"schemas":{"Portfolio":{"required":["created","displayName","id","type"],"type":"object","properties":{"href":{"type":"string","description":"The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.","format":"uri","nullable":true},"id":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ResourceId"},"type":{"enum":["Transaction","Reference","DerivedTransaction","SimplePosition"],"type":"string","description":"The type of the portfolio. Available values: Transaction, Reference, DerivedTransaction, SimplePosition."},"displayName":{"minLength":1,"type":"string","description":"The name of the portfolio."},"description":{"type":"string","description":"The long form description of the portfolio.","nullable":true},"created":{"type":"string","description":"The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date.","format":"date-time"},"enablementDate":{"type":"string","description":"The effective datetime from which instrument events and corporate actions are generated and applied to the portfolio. Transactions and holdings booked to the portfolio contribute to holdings, valuations and other computed results from its creation date whatever the enablement date. Defaults to the portfolio's creation date when not explicitly set.","format":"date-time","nullable":true},"parentPortfolioId":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ResourceId"},"version":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Version"},"stagedModifications":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/StagedModificationsInfo"},"isDerived":{"type":"boolean","description":"Whether or not this is a derived portfolio."},"baseCurrency":{"type":"string","description":"The base currency of the portfolio.","nullable":true},"properties":{"type":"object","additionalProperties":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Property"},"description":"The requested portfolio properties. These will be from the 'Portfolio' domain.","nullable":true},"relationships":{"type":"array","items":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Relationship"},"description":"A set of relationships associated to the portfolio.","nullable":true},"instrumentScopes":{"type":"array","items":{"type":"string"},"description":"The instrument scope resolution strategy of this portfolio.","nullable":true},"accountingMethod":{"enum":["Default","AverageCost","FirstInFirstOut","LastInFirstOut","HighestCostFirst","LowestCostFirst","ProRateByUnits","ProRateByCost","ProRateByCostPortfolioCurrency","IntraDayThenFirstInFirstOut","LongTermHighestCostFirst","LongTermHighestCostFirstPortfolioCurrency","HighestCostFirstPortfolioCurrency","LowestCostFirstPortfolioCurrency","MaximumLossMinimumGain","MaximumLossMinimumGainPortfolioCurrency"],"type":"string","description":"The AccountingMethod used for the portfolio. Available values: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency."},"amortisationMethod":{"type":"string","description":"The amortisation method used by the portfolio for the calculation. Available values: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate.","nullable":true},"transactionTypeScope":{"type":"string","description":"The scope of the transaction types.","nullable":true},"cashGainLossCalculationDate":{"type":"string","description":"The scope of the transaction types.","nullable":true},"instrumentEventConfiguration":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/InstrumentEventConfiguration"},"amortisationRuleSetId":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ResourceId"},"taxRuleSetScope":{"type":"string","description":"The scope of the tax rule sets for this portfolio.","nullable":true},"settlementConfiguration":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/PortfolioSettlementConfiguration"},"transactionExclusionFilter":{"type":"string","description":"A filter expression that identifies transactions to exclude when building the transaction portfolio's transactions and holdings. Transactions matching this filter are flagged as excluded.","nullable":true},"taxLotSelectionCostBasis":{"type":"string","description":"The cost figure that cost-referencing accounting methods evaluate when selecting tax lots for a disposal. This can be: Cost or AmortisedCost. Defaults to Cost if not specified. Supply Default to explicitly reset it; a reset or never-configured basis reads back as absent. Available values: Default, Cost, AmortisedCost.","nullable":true},"fractionalUnitsTrueUpConfiguration":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/FractionalUnitsTrueUpConfiguration"},"holdingsFungibility":{"type":"string","description":"Whether the portfolio's holdings are fungible across the currencies of a currency group. This can be: Default or Enabled. Defaults to Default if not specified, which currently means holdings fungibility is not applied. Supply Default to explicitly reset it; a reset or never-configured flag reads back as absent. Available values: Default, Enabled.","nullable":true},"chargeableGainsRegime":{"type":"string","description":"The chargeable gains regime the portfolio is elected into. This can be: Default or UkChargeableGains. Defaults to Default if not specified, which means no chargeable gains pooling is applied. Under UkChargeableGains, in-scope holdings (equities, preferred shares, fund share classes and simple instruments) are depleted under the UK chargeable gains rules regardless of the accounting method on the portfolio, transaction or custodian account; other holdings use the portfolio's accounting method. Supply Default to explicitly reset it; a reset or never-configured regime reads back as absent. Available values: Default, UkChargeableGains.","nullable":true},"whtParameters":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/WhtParameters"},"links":{"type":"array","items":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Link"},"nullable":true}},"additionalProperties":false,"description":"A portfolio of a particular type.","title":"Portfolio"}}}}