{"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"},"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"},"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"}}}}