{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/finbourne/json-schema/finbourne-paged-resource-list-of-fund-structure-schema.json",
  "title": "PagedResourceListOfFundStructure",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/finbourne-openapi.yml#/components/schemas/PagedResourceListOfFundStructure",
  "additionalProperties": false,
  "properties": {
    "nextPage": {
      "type": [
        "string",
        "null"
      ]
    },
    "previousPage": {
      "type": [
        "string",
        "null"
      ]
    },
    "values": {
      "items": {
        "$ref": "#/$defs/FundStructure"
      },
      "type": "array"
    },
    "href": {
      "format": "uri",
      "type": [
        "string",
        "null"
      ]
    },
    "links": {
      "items": {
        "$ref": "#/$defs/Link"
      },
      "type": [
        "array",
        "null"
      ]
    }
  },
  "required": [
    "values"
  ],
  "type": "object",
  "$defs": {
    "AllocationGroup": {
      "additionalProperties": false,
      "properties": {
        "classes": {
          "description": "An optional list of share classes that belong to this group. Each entry must reference a ShareClass already present on the Fund. You can provide this or the Formula, but not both.",
          "items": {
            "$ref": "#/$defs/AllocationGroupClass"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "name": {
          "description": "The display name of the Allocation Group.",
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        },
        "description": {
          "description": "An optional description for the Allocation Group.",
          "maxLength": 1024,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": [
            "string",
            "null"
          ]
        },
        "shareClassShortCode": {
          "description": "The short code that identifies the Allocation Group.",
          "maxLength": 64,
          "minLength": 1,
          "type": "string"
        },
        "apportionmentMethodProperty": {
          "$ref": "#/$defs/ApportionmentMethodProperty"
        },
        "formula": {
          "description": "An optional filter expression used to define which classes belong to this group, based on fund grouping criteria. You can provide this or the Classes, but not both.",
          "maxLength": 1024,
          "minLength": 0,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "name",
        "shareClassShortCode"
      ],
      "type": "object"
    },
    "AllocationGroupClass": {
      "additionalProperties": false,
      "properties": {
        "shareClassShortCode": {
          "description": "A short code that uniquely identifies the share class within the Fund and is attached to the transaction.",
          "maxLength": 64,
          "minLength": 1,
          "type": "string"
        },
        "apportionmentFactor": {
          "description": "Only used for fixed percentage method or be zero, must equal 1 or 0 across all classes in the fund.",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "shareClassSeriesCode": {
          "description": "The series of the share class the member refers to. Not yet supported: an allocation group is apportioned by share class, so a member that names a series is rejected.",
          "maxLength": 64,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "shareClassShortCode"
      ],
      "type": "object"
    },
    "ApportionmentMethodProperty": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "description": "The code identifying the allocation method property.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "scope": {
          "description": "The scope of the allocation method property.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        }
      },
      "required": [
        "code",
        "scope"
      ],
      "type": "object"
    },
    "DayMonth": {
      "additionalProperties": false,
      "properties": {
        "day": {
          "description": "Day part of Day, Month for Year End date specification.",
          "format": "int32",
          "maximum": 31,
          "minimum": 1,
          "type": "integer"
        },
        "month": {
          "description": "Month part of Day, Month for Year End date specification.",
          "format": "int32",
          "maximum": 12,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "day",
        "month"
      ],
      "type": "object"
    },
    "DealingEstimates": {
      "additionalProperties": false,
      "description": "How a fund treats estimated dealing when it strikes a valuation point before dealing is final.",
      "properties": {
        "sources": {
          "description": "Where the Fund's dealing estimates are read from: LusidTA, orders held in LUSID Transfer Agency, or External, orders dealt outside LUSID and reported to it. At least one, each at most once. Naming both sums the two books with no de-duplication between them; each source's completeness is tracked on its own. Available values: LusidTA, External.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "requireComplete": {
          "description": "Whether the dealing book must be complete before a swing is proposed. For the LusidTA source the book is complete once each share class's TA/DealingSchedule cut-off has passed at the strike's as-at; a class with no cut-off configured is treated as complete and the audit says so. An order written after its class's cut-off is late: reported on the audit but not counted. When true and the book is incomplete the valuation point is still struck, at the unswung baseline, and no swing is proposed; the audit says why. Defaults to true.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "countPending": {
          "description": "Whether a Pending order at the valuation point counts towards the estimated flow. Orders in the New and Priced states always count. When true a Pending order is folded into the flows like them; when false it is left out of the decision and reported on the audit as pending and not counted, with its value where one can be read. Defaults to false.",
          "type": [
            "boolean",
            "null"
          ]
        },
        "unitValuation": {
          "description": "The price estimated flows are turned into units at: EstimatePrice, the estimate struck at this valuation point, or LastOfficialPrice, the last official dealing price the Fund published. Available values: EstimatePrice, LastOfficialPrice.",
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "sources",
        "unitValuation"
      ],
      "type": "object"
    },
    "DirectionSpreads": {
      "additionalProperties": false,
      "description": "The tiers of spread for one direction of net cashflow and what their bounds measure.",
      "properties": {
        "basis": {
          "description": "What the tier bounds measure: Amount, the size of the net cashflow in the fund currency; PctOfNav, the net cashflow as a percentage of the previous valuation point's NAV; or DilutionOfNav, the dilution of NAV the net cashflow causes as a percentage of the previous valuation point's NAV, which is the flow's size times the fund's spread from its struck NAV to the side the flow trades at including notional dealing costs, as a proportion of that side. A DilutionOfNav direction needs every active NAV type's valuation recipe to publish that side including notional dealing costs, so it needs bid or ask market rules and a notional dealing cost table. PctOfNav and DilutionOfNav tiers match nothing when there is no previous NAV. Available values: Amount, PctOfNav, DilutionOfNav.",
          "minLength": 1,
          "type": "string"
        },
        "tiers": {
          "description": "The tiers, in ascending order. Each starts where the previous one ends, and only the last is unbounded above. The first tier's lower bound is the threshold: a flow at or below it does not swing.",
          "items": {
            "$ref": "#/$defs/SwingSpreadTier"
          },
          "type": "array"
        }
      },
      "required": [
        "basis",
        "tiers"
      ],
      "type": "object"
    },
    "DualPriceDerivation": {
      "additionalProperties": false,
      "description": "How a Dual fund derives its dealing prices from one real price by fixed spreads.",
      "properties": {
        "realSide": {
          "description": "The price read from the valuation: Bid or Offer, from which the other side is derived, or Mid, the share class unit price, from which both sides are derived, for a fund whose market data has no bid or offer. Available values: Bid, Offer, Mid.",
          "minLength": 1,
          "type": "string"
        },
        "includeNdc": {
          "description": "Whether the real side is read including notional dealing costs, which needs the NAV type to have a notional dealing cost table. Must be false for Mid.",
          "type": "boolean"
        },
        "bidSpreadBps": {
          "description": "How far below the real price the bid is set, in basis points of the real price. Zero or more. Required when the bid is derived, for an Offer or Mid real side, and absent for a Bid one.",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "offerSpreadBps": {
          "description": "How far above the real price the offer is set, in basis points of the real price. Zero or more. Required when the offer is derived, for a Bid or Mid real side, and absent for an Offer one.",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "includeNdc",
        "realSide"
      ],
      "type": "object"
    },
    "Fund": {
      "additionalProperties": false,
      "description": "A Fund entity.",
      "properties": {
        "href": {
          "description": "The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "$ref": "#/$defs/ResourceId"
        },
        "displayName": {
          "description": "The name of the Fund.",
          "maxLength": 256,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "description": "A description for the Fund.",
          "maxLength": 1024,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": [
            "string",
            "null"
          ]
        },
        "baseCurrency": {
          "description": "The base currency of the Fund in ISO 4217 currency code format. All portfolios must be of a matching base currency.",
          "type": [
            "string",
            "null"
          ]
        },
        "investorStructure": {
          "description": "The Investor structure to be used by the Fund. Available values: NonUnitised, Classes.",
          "minLength": 1,
          "type": "string"
        },
        "portfolioIds": {
          "description": "A list of the portfolios on the fund, which are part of the Fund. Note: These must all have the same base currency, which must also match the Fund Base Currency.",
          "items": {
            "$ref": "#/$defs/PortfolioEntityIdWithDetails"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "fundConfigurationId": {
          "$ref": "#/$defs/ResourceId"
        },
        "shortCode": {
          "description": "A short code for the Fund. A fund structure tags journal entry lines with the short code of the member they originated from, so it should be unique across the funds of one structure. Optional.",
          "type": [
            "string",
            "null"
          ]
        },
        "aborId": {
          "$ref": "#/$defs/ResourceId"
        },
        "shareClassInstruments": {
          "description": "Details the user-provided instrument identifiers and the instrument resolved from them. These would be decommissioned in favour of the new AllocationGroups and ShareClasses structures.",
          "items": {
            "$ref": "#/$defs/InstrumentResolutionDetail"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "type": {
          "description": "The kind of vehicle the fund is, one of the values of the system/fundVehicleType data type. Master and Feeder are deprecated: the structural role of a fund now lives on its fund structure node, and a fund with either type cannot be a member of a fund structure. Available values: Standalone, Master, Feeder, SPV, AIV, TaxBlocker, CarryVehicle, SponsorCommitmentVehicle, CoInvestVehicle, GPInterestHolder, SMA, CTA.",
          "type": [
            "string",
            "null"
          ]
        },
        "taxTransparency": {
          "description": "Whether the Fund is looked through for tax: Transparent passes its income and gains to its holders as their own, Opaque is taxed in its own right. Optional; if not set, a TaxBlocker is Opaque and a CarryVehicle or GPInterestHolder is Transparent. A fund structure requires it on every SPV and AIV member. Available values: Transparent, Opaque.",
          "type": [
            "string",
            "null"
          ]
        },
        "inceptionDate": {
          "description": "Inception date of the Fund",
          "format": "date-time",
          "type": "string"
        },
        "decimalPlaces": {
          "description": "Number of decimal places for reporting",
          "format": "int32",
          "maximum": 30,
          "minimum": 0,
          "type": [
            "integer",
            "null"
          ]
        },
        "yearEndDate": {
          "$ref": "#/$defs/DayMonth"
        },
        "primaryNavType": {
          "$ref": "#/$defs/NavType"
        },
        "additionalNavTypes": {
          "description": "The definitions for any additional NAVs on the Fund.",
          "items": {
            "$ref": "#/$defs/NavType"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "properties": {
          "additionalProperties": {
            "$ref": "#/$defs/Property"
          },
          "description": "A set of properties for the Fund.",
          "type": [
            "object",
            "null"
          ]
        },
        "createInstrument": {
          "description": "Whether to master an instrument upon fund creation. For unitised funds (Classes, Series, or Partners), an instrument is mastered per share class. A share class that supplies no ClientInternal identifier gets one of {FundScope}:{Code}:{ShareClassShortCode}. For non-unitised funds, a single instrument is mastered for the fund itself, with a ClientInternal identifier of {FundScope}:{Code}. Defaults to false.",
          "type": "boolean"
        },
        "instrumentScope": {
          "description": "The scope in which instruments are mastered when CreateInstrument is true. For non-unitised funds the fund scope also forms part of the fund instrument's ClientInternal identifier: {FundScope}:{Code}. Defaults to the default instrument scope. Legacy share class instruments are resolved via ShareClassInstrumentScopes instead.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": [
            "string",
            "null"
          ]
        },
        "allocationGroups": {
          "description": "An optional list of Allocation Group definitions for the Fund.",
          "items": {
            "$ref": "#/$defs/AllocationGroup"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "shareClasses": {
          "description": "An optional list of Share Class definitions for the Fund.",
          "items": {
            "$ref": "#/$defs/ShareClass"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "fundInstrument": {
          "$ref": "#/$defs/FundInstrument"
        },
        "pricingMethodology": {
          "$ref": "#/$defs/PricingMethodology"
        },
        "reportingPrices": {
          "description": "Share class prices the Fund publishes at each valuation point under labels of its own, alongside the dealing price, for example a mid price for performance reporting. Optional. Each source other than Mid must be published by the valuation recipe of every active NAV type. Labels must be unique and cannot be dealingPrice, dealingBid or dealingOffer. Patch the list whole at /reportingPrices.",
          "items": {
            "$ref": "#/$defs/ReportingPrice"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "dealingEstimates": {
          "$ref": "#/$defs/DealingEstimates"
        },
        "version": {
          "$ref": "#/$defs/Version"
        },
        "whtParameters": {
          "$ref": "#/$defs/WhtParameters"
        },
        "valuationTemplateId": {
          "$ref": "#/$defs/ResourceId"
        },
        "partnershipAccountingPortfolioId": {
          "$ref": "#/$defs/ResourceId"
        },
        "links": {
          "items": {
            "$ref": "#/$defs/Link"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "inceptionDate",
        "investorStructure"
      ],
      "type": "object"
    },
    "FundInstrument": {
      "additionalProperties": false,
      "properties": {
        "instrumentIdentifiers": {
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Unique instrument identifiers. Must only point to the same instrument",
          "type": "object"
        }
      },
      "required": [
        "instrumentIdentifiers"
      ],
      "type": "object"
    },
    "FundStructure": {
      "additionalProperties": false,
      "description": "Definition of the structure of a fund",
      "properties": {
        "href": {
          "description": "The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "$ref": "#/$defs/ResourceId"
        },
        "name": {
          "description": "The display name of the Fund Structure.",
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        },
        "description": {
          "description": "An optional description for the Fund Structure.",
          "maxLength": 1024,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": [
            "string",
            "null"
          ]
        },
        "funds": {
          "description": "An optional list of existing funds to be incorporated as part of the structure.",
          "items": {
            "$ref": "#/$defs/Fund"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "allocationGroups": {
          "description": "An optional list of Allocation Groups that can apply across a Fund Structure. A group may span the share classes of a member and the members that invest into it through dedicated share class links.",
          "items": {
            "$ref": "#/$defs/AllocationGroup"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "nodes": {
          "description": "The list of nodes that make up the Fund Structure, each referencing a Fund and defining its role. May be empty on create, with members added later through the members endpoint.",
          "items": {
            "$ref": "#/$defs/FundStructureNode"
          },
          "type": "array"
        },
        "edges": {
          "description": "The list of edges that define how the members of the structure are linked: a member investing into a dedicated share class of another, or holding an equity, GP, LP or carry interest in another through an instrument.",
          "items": {
            "$ref": "#/$defs/FundStructureEdge"
          },
          "type": "array"
        },
        "roleDataTypeId": {
          "$ref": "#/$defs/ResourceId"
        },
        "navTypeCodes": {
          "description": "The NAV types every member of the structure produces, by code. Declaring them once here gives the structure a shared Timeline. At least one is required, and every member fund must define a NAV type with each of these codes.",
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "version": {
          "$ref": "#/$defs/Version"
        },
        "properties": {
          "additionalProperties": {
            "$ref": "#/$defs/Property"
          },
          "description": "A set of properties to decorate onto the Fund Structure.",
          "type": [
            "object",
            "null"
          ]
        },
        "links": {
          "items": {
            "$ref": "#/$defs/Link"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "edges",
        "id",
        "name",
        "nodes"
      ],
      "type": "object"
    },
    "FundStructureAllocationBasis": {
      "additionalProperties": false,
      "description": "The default apportionment basis of a Fund Structure member.",
      "properties": {
        "kind": {
          "description": "How the apportionment is weighted. ValueWeighted apportions pro rata to each investing member's value; PropertyWeighted apportions pro rata to the property named in 'property'; FixedPercentage defers to factors held on an allocation map. A ValueWeighted basis is rejected where a holder of this member also holds an unrelated member, because the member could not be finalised before that sibling is valued. Available values: ValueWeighted, PropertyWeighted, FixedPercentage, Committed, CommittedExGP, UncalledCommitment, PaidIn, PaidInForDeal, Recallable, FeeWeightedCommitment, FixedAmount.",
          "type": [
            "string",
            "null"
          ]
        },
        "property": {
          "$ref": "#/$defs/ApportionmentMethodProperty"
        },
        "scopedToMember": {
          "description": "Whether the basis is evaluated only over amounts booked against this member rather than fund-wide.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "FundStructureDriftMateriality": {
      "additionalProperties": false,
      "description": "How much ownership drift a Fund Structure member tolerates on the members it holds through an instrument.",
      "properties": {
        "warnAmount": {
          "description": "The misallocated P&L, in base currency, above which the valuation point carries a warning naming the holder, the held member and both shares. Optional; unset means never warn.",
          "format": "double",
          "minimum": 0,
          "type": [
            "number",
            "null"
          ]
        },
        "refuseAmount": {
          "description": "The misallocated P&L, in base currency, above which the P&L flow is refused until the sharing percentage is corrected. Must not be less than the warning amount. Optional; unset means never refuse. A share bought from another investor at a premium or a discount shows as drift however correct the sharing percentage.",
          "format": "double",
          "minimum": 0,
          "type": [
            "number",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "FundStructureEdge": {
      "additionalProperties": false,
      "description": "A link from one member of a Fund Structure to another, and how that link is held.",
      "properties": {
        "from": {
          "description": "The node code of the member that holds the link: the investor or the owner.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "to": {
          "$ref": "#/$defs/FundStructureEdgeTarget"
        },
        "linkageType": {
          "description": "How the link is held. DedicatedShareClass (the default) means the source invests into a share class of the target; DirectEquityInstrument, GPInterest, LPInterest and CarryInterest mean the source holds that interest in the target through the instrument in viaInstrumentId. Available values: DedicatedShareClass, DirectEquityInstrument, GPInterest, LPInterest, CarryInterest.",
          "type": [
            "string",
            "null"
          ]
        },
        "viaInstrumentId": {
          "$ref": "#/$defs/ResourceId"
        },
        "sharingPercentage": {
          "description": "The holder's ILPA sharing percentage in the target member, adjusted for transfers and equalisation but not reduced by ordinary distributions. Between 0 and 1 inclusive; the percentages declared into any one member must sum to no more than 1. Defaults to 1 (sole ownership) when not supplied. A value of 0 records a full exit: keep the edge and set it to 0 from the date the interest ended, so that the change in percentage from one version of the structure to the next tells the P&L flow what was disposed of. Each disposal or acquisition trade of the holder's needs its own version of the structure, effective on that trade's date: proceeds received on a date with no change in percentage are taken as a distribution on the retained interest, not a disposal. A change in percentage with no trade of the holder's on its date takes effect at the holder's next transaction on the member or period close, whichever comes first.",
          "format": "double",
          "maximum": 1,
          "minimum": 0,
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "from",
        "to"
      ],
      "type": "object"
    },
    "FundStructureEdgeTarget": {
      "additionalProperties": false,
      "description": "The member a link points at, and for a dedicated share class link the share class on that member.",
      "properties": {
        "node": {
          "description": "The node code of the member the link points at.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "shareClassShortCode": {
          "description": "The short code of the share class on the target member that the source invests into. Required for a DedicatedShareClass link and not allowed on any other.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "node"
      ],
      "type": "object"
    },
    "FundStructureNode": {
      "additionalProperties": false,
      "description": "A node in a Fund Structure, representing a Fund and its role within the structure.",
      "properties": {
        "nodeCode": {
          "description": "A unique identifier for this node within the Fund Structure.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "fundScope": {
          "description": "The scope of the Fund referenced by this node.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "fundCode": {
          "description": "The code of the Fund referenced by this node.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "role": {
          "description": "The role of this node within the structure. Must be one of the acceptable values of the structure's role data type.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "allocationBasis": {
          "$ref": "#/$defs/FundStructureAllocationBasis"
        },
        "pnlFlowMode": {
          "description": "How this member's profit and loss reaches the member that holds it. Set on the held member, not on the holder: it has no effect on a member no edge holds. EquityPickup (the default) leaves the holder revaluing its position in this member; BucketFlowThrough passes the holder one line per economic bucket, tagged with its origin; TransactionFlowThrough passes the holder every line, tagged with its origin and path. Available values: EquityPickup, BucketFlowThrough, TransactionFlowThrough.",
          "type": [
            "string",
            "null"
          ]
        },
        "allocationMapId": {
          "$ref": "#/$defs/ResourceId"
        },
        "driftMateriality": {
          "$ref": "#/$defs/FundStructureDriftMateriality"
        }
      },
      "required": [
        "fundCode",
        "fundScope",
        "nodeCode",
        "role"
      ],
      "type": "object"
    },
    "InstrumentResolutionDetail": {
      "additionalProperties": false,
      "properties": {
        "instrumentIdentifiers": {
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Unique instrument identifiers",
          "type": "object"
        },
        "lusidInstrumentId": {
          "description": "LUSID's internal unique instrument identifier, resolved from the instrument identifiers",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "readOnly": true,
          "type": [
            "string",
            "null"
          ]
        },
        "instrumentScope": {
          "description": "The scope in which the instrument lies.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "readOnly": true,
          "type": [
            "string",
            "null"
          ]
        },
        "launchPrice": {
          "description": "The launch price set when a shareclass is added to the fund. Defaults to 1.",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "launchDate": {
          "description": "The launch date set when a shareclass is added to the fund. Defaults to Fund Inception Date.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "instrumentIdentifiers"
      ],
      "type": "object"
    },
    "LabelValueSet": {
      "additionalProperties": false,
      "description": "The set of string labels in a multi-value property.",
      "properties": {
        "values": {
          "items": {
            "type": "string"
          },
          "minItems": 1,
          "type": "array"
        }
      },
      "required": [
        "values"
      ],
      "type": "object"
    },
    "Link": {
      "additionalProperties": false,
      "properties": {
        "relation": {
          "type": "string"
        },
        "href": {
          "format": "uri",
          "type": "string"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "method": {
          "type": "string"
        }
      },
      "required": [
        "href",
        "method",
        "relation"
      ],
      "type": "object"
    },
    "MetricValue": {
      "additionalProperties": false,
      "properties": {
        "value": {
          "description": "The numerical value of the property.",
          "format": "double",
          "type": "number"
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "NavSettlementConfiguration": {
      "additionalProperties": false,
      "properties": {
        "cashSettlement": {
          "$ref": "#/$defs/NavSettlementConfigurationCategory"
        },
        "deferredCashReceipt": {
          "$ref": "#/$defs/NavSettlementConfigurationCategory"
        }
      },
      "required": [
        "cashSettlement",
        "deferredCashReceipt"
      ],
      "type": "object"
    },
    "NavSettlementConfigurationCategory": {
      "additionalProperties": false,
      "properties": {
        "calculateInstructionToPortfolioRate": {
          "description": "An optional flag that allows for the calculation of the instruction to portfolio rate for instructions with settlement category CashSettlement or DeferredCashReceipt, if it is not provided on the settlement instruction.",
          "type": "boolean"
        },
        "calculateTradeDateToSettlementFxPnL": {
          "description": "An optional flag that allows for the calculation of FxPnL between Trade and Settlement Date.",
          "type": "boolean"
        }
      },
      "required": [
        "calculateInstructionToPortfolioRate",
        "calculateTradeDateToSettlementFxPnL"
      ],
      "type": "object"
    },
    "NavType": {
      "additionalProperties": false,
      "properties": {
        "status": {
          "description": "The Status of the Nav Type: Active, Inactive or InFlux. A follower added to a leader that already has finalised valuation points is InFlux until those points have been back-filled for it; it cannot be reported on while InFlux. Available values: Active, Inactive, InFlux.",
          "minLength": 1,
          "type": "string"
        },
        "reportingFromValuationPointCode": {
          "description": "The code of the earliest of the leader's finalised valuation points a back-filled follower Nav Type can be reported from. That point carries the true-up of every earlier period the back-fill could not value and is reported with the status Initialising. Read-only; not set on a leader, on a follower that needed no back-fill, or while the follower is InFlux.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": [
            "string",
            "null"
          ]
        },
        "code": {
          "description": "The Code for the Nav Type. Must be unique within the Fund.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": [
            "string",
            "null"
          ]
        },
        "displayName": {
          "description": "The Display Name for the Nav Type. Must be unique within the Fund.",
          "maxLength": 256,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "description": "The Description for the Nav Type.",
          "maxLength": 1024,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": [
            "string",
            "null"
          ]
        },
        "chartOfAccountsId": {
          "$ref": "#/$defs/ResourceId"
        },
        "postingModuleCodes": {
          "description": "The Posting Module Codes from which the rules to be applied are retrieved.",
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "cleardownModuleCodes": {
          "description": "The Cleardown Module Codes from which the rules to be applied are retrieved.",
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "settlementConfiguration": {
          "$ref": "#/$defs/NavSettlementConfiguration"
        },
        "valuationRecipeId": {
          "$ref": "#/$defs/ResourceId"
        },
        "holdingRecipeId": {
          "$ref": "#/$defs/ResourceId"
        },
        "accountingMethod": {
          "description": "Determines the accounting treatment given to the simple position portfolio's tax lots. A non-default value is required. Available values: AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency.",
          "minLength": 1,
          "type": "string"
        },
        "subHoldingKeys": {
          "description": "A set of unique transaction properties to group the derived transaction portfolio's holdings by, perhaps for strategy tagging. Each property must be from the 'Transaction' domain and identified by a key in the format {domain}/{scope}/{code}, for example 'Transaction/strategies/quantsignal'. See https://support.lusid.com/docs/how-do-i-register-sub-holding-keys-shks-with-a-portfolio for more information.",
          "items": {
            "description": "The key that uniquely identifies the property. It has the format {domain}/{scope}/{code}.",
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "amortisationMethod": {
          "description": "The amortisation method used by the portfolio for the calculation. Available values: NoAmortisation, StraightLine, EffectiveYield, StraightLineSettlementDate, EffectiveYieldSettlementDate.",
          "minLength": 1,
          "type": "string"
        },
        "transactionTypeScope": {
          "description": "The scope of the transaction types.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "cashGainLossCalculationDate": {
          "description": "The option when the Cash Gain Loss to be calulated, TransactionDate/SettlementDate. A non-default value is required. Available values: SettlementDate, TransactionDate.",
          "minLength": 1,
          "type": "string"
        },
        "amortisationRuleSetId": {
          "$ref": "#/$defs/ResourceId"
        },
        "leaderNavTypeCode": {
          "description": "The code of the Nav Type that this Nav Type will follow when set.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": [
            "string",
            "null"
          ]
        },
        "transactionTemplateScope": {
          "description": "The Transaction Template Scope used by the NavType.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "transactionExclusionFilter": {
          "description": "Optional filter expression to exclude specific transactions from this NavType's derived portfolios. The filter can reference Transaction, Portfolio, or Instrument fields and properties. The filter can be changed by patching the NavType, which propagates it to the NavType's derived portfolios. A NavType never inherits the filter of the Fund's portfolios: omitting the filter, or setting it to an empty string, means no filter. A transaction amended across a Final valuation point so that it newly matches the filter is reversed in the next valuation point, and one amended so that it stops matching is posted in the next valuation point as a true-up.",
          "maxLength": 16384,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": [
            "string",
            "null"
          ]
        },
        "pricingBasis": {
          "description": "The side of the quote this Nav Type values the fund on: Mid, Bid or Ask. Overrides the pricing basis of the valuation recipe's market options for this Nav Type only, so a bid NAV and an ask NAV can share one recipe. Omit it to value on the recipe's own pricing basis. Available values: Mid, Bid, Ask.",
          "type": [
            "string",
            "null"
          ]
        },
        "swingPricing": {
          "$ref": "#/$defs/SwingPricingRule"
        },
        "notionalDealingCostTableId": {
          "$ref": "#/$defs/ResourceId"
        },
        "valuationTemplateId": {
          "$ref": "#/$defs/ResourceId"
        },
        "chargeableGainsRegime": {
          "description": "The chargeable gains regime the Nav Type's derived portfolio is elected into. This can be: Default or UkChargeableGains. Omit it, or supply Default, to leave the derived portfolio inheriting its parent portfolio's regime. Under UkChargeableGains, in-scope holdings in the derived portfolio are depleted under the UK chargeable gains rules regardless of the Nav Type's accounting method; it requires the Fund's base currency to be GBP. Available values: Default, UkChargeableGains.",
          "type": [
            "string",
            "null"
          ]
        },
        "cashCostReliefMethod": {
          "description": "How this Nav Type relieves base cost when a cash position's local balance reduces towards zero. This can be: AverageCost or SettlementAmount. Omit it, or supply AverageCost, and a cash disposal releases the position's average base cost and posts the difference to the contra leg as realised FX on the settlement date. Under SettlementAmount, a cash disposal releases the base amount at which the contra leg of the same transaction is posted, so the settlement nets to nil in base currency and no realised FX is posted on the cash leg; the cash position then carries the unrecognised FX in its base cost until the deemed exposure event recognises it. It cannot be combined with calculateTradeDateToSettlementFxPnL, whether set on the Nav Type's settlement configuration or inherited from a portfolio's; a valuation point on the Nav Type fails while a transaction type in its scope turns calculateTradeDateToSettlementFxPnL on for a movement; and it can be changed on an existing Nav Type only while the Nav Type has no positions. Available values: AverageCost, SettlementAmount.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "accountingMethod",
        "amortisationMethod",
        "cashGainLossCalculationDate",
        "chartOfAccountsId",
        "holdingRecipeId",
        "settlementConfiguration",
        "status",
        "transactionTemplateScope",
        "transactionTypeScope",
        "valuationRecipeId"
      ],
      "type": "object"
    },
    "PortfolioEntityIdWithDetails": {
      "additionalProperties": false,
      "properties": {
        "displayName": {
          "maxLength": 256,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "maxLength": 1024,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": [
            "string",
            "null"
          ]
        },
        "scope": {
          "description": "The scope within which the portfolio or portfolio group lives.",
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "code": {
          "description": "Portfolio name or code.",
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "portfolioEntityType": {
          "description": "String identifier for portfolio e.g. \"SinglePortfolio\" and \"GroupPortfolio\". If not specified, it is assumed to be a single portfolio. Available values: SinglePortfolio, GroupPortfolio.",
          "maxLength": 128,
          "minLength": 0,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "code",
        "scope"
      ],
      "type": "object"
    },
    "PricingMethodology": {
      "additionalProperties": false,
      "description": "How a fund prices its share classes for dealing. A Single fund deals at one price per class, which starts at a\r\nbaseline and may swing with the fund's net cashflow. A Dual fund deals at a bid and an offer per class.",
      "properties": {
        "outputShape": {
          "description": "How many dealing prices each share class publishes: Single, one price that subscriptions and redemptions both deal at, or Dual, a bid that redemptions deal at and an offer that subscriptions deal at. Available values: Single, Dual.",
          "minLength": 1,
          "type": "string"
        },
        "swingPolicy": {
          "$ref": "#/$defs/SwingPolicy"
        },
        "priceLabels": {
          "description": "What a Dual fund's two prices are. BidOffer is the only label available: the bid and the offer, including notional dealing costs, that the valuation recipe of each active NAV type publishes. Required for a Dual fund and must be omitted for a Single fund. Available values: BidOffer, CreationCancellation.",
          "type": [
            "string",
            "null"
          ]
        },
        "derivation": {
          "$ref": "#/$defs/DualPriceDerivation"
        }
      },
      "required": [
        "outputShape"
      ],
      "type": "object"
    },
    "Property": {
      "additionalProperties": false,
      "properties": {
        "key": {
          "description": "The key of the property. This takes the format {domain}/{scope}/{code} e.g. 'Instrument/system/Name' or 'Transaction/strategy/quantsignal'.",
          "type": "string"
        },
        "value": {
          "$ref": "#/$defs/PropertyValue"
        },
        "effectiveFrom": {
          "description": "The effective datetime from which the property is valid.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "effectiveUntil": {
          "description": "The effective datetime until which the property is valid. If not supplied this will be valid indefinitely, or until the next 'effectiveFrom' datetime of the property.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "referenceData": {
          "additionalProperties": {
            "$ref": "#/$defs/PropertyReferenceDataValue"
          },
          "description": "The ReferenceData linked to the value of the property. The ReferenceData is taken from the DataType on the PropertyDefinition that defines the property.",
          "readOnly": true,
          "type": [
            "object",
            "null"
          ]
        }
      },
      "required": [
        "key"
      ],
      "type": "object"
    },
    "PropertyReferenceDataValue": {
      "additionalProperties": false,
      "description": "The ReferenceData relevant to the property. The ReferenceData is taken from the DataType on the PropertyDefinition that defines the Property.\r\nOnly ReferenceData where the ReferenceData value matches the Property value is included.",
      "properties": {
        "stringValue": {
          "maxLength": 512,
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "numericValue": {
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "PropertyValue": {
      "additionalProperties": false,
      "description": "The value of the property.",
      "properties": {
        "labelValue": {
          "description": "The text value of a property defined as having the 'Label' type.",
          "type": [
            "string",
            "null"
          ]
        },
        "metricValue": {
          "$ref": "#/$defs/MetricValue"
        },
        "labelValueSet": {
          "$ref": "#/$defs/LabelValueSet"
        }
      },
      "type": "object"
    },
    "ReportingPrice": {
      "additionalProperties": false,
      "description": "A share class price a fund publishes at each valuation point under a label of its own, alongside the dealing price.",
      "properties": {
        "source": {
          "description": "The share class price published: Mid, the unit price, or Bid, Offer, BidIncNdc or OfferIncNdc, as the valuation recipe of each active NAV type publishes it. Available values: Mid, Bid, Offer, BidIncNdc, OfferIncNdc, Creation, Cancellation.",
          "minLength": 1,
          "type": "string"
        },
        "label": {
          "description": "The name the price is published under in the share class's reporting prices. Unique within the fund.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        }
      },
      "required": [
        "label",
        "source"
      ],
      "type": "object"
    },
    "ResourceId": {
      "additionalProperties": false,
      "description": "Identifiers of an entity",
      "properties": {
        "scope": {
          "description": "The scope used to identify an entity",
          "maxLength": 512,
          "minLength": 1,
          "type": "string"
        },
        "code": {
          "description": "The code used to identify an entity",
          "maxLength": 512,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "code",
        "scope"
      ],
      "type": "object"
    },
    "Series": {
      "additionalProperties": false,
      "properties": {
        "shareClassShortCode": {
          "description": "The short code of the share class the Series belongs to. A series identifier is unique only within its share class.",
          "type": [
            "string",
            "null"
          ]
        },
        "seriesIdentifier": {
          "description": "The identifier that uniquely identifies this Series within the Share Class.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "seriesType": {
          "description": "The type of the Series. Available values: Lead, Standard.",
          "minLength": 1,
          "type": "string"
        },
        "launchDate": {
          "description": "The date on which the Series was launched.",
          "format": "date-time",
          "type": "string"
        },
        "launchPriceType": {
          "description": "The type of launch price for the Series. Available values: Manual, Calculated.",
          "minLength": 1,
          "type": "string"
        },
        "domCcy": {
          "description": "The denomination currency of the Series.",
          "type": "string"
        },
        "properties": {
          "additionalProperties": {
            "$ref": "#/$defs/Property"
          },
          "description": "An optional set of properties to associate with the Series. Only applied if createInstrument is set to true on the parent Fund.",
          "type": [
            "object",
            "null"
          ]
        },
        "launchPrice": {
          "description": "The launch price of the Series. Required when LaunchPriceType is Manual; ignored when it is Calculated.",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "status": {
          "description": "The lifecycle status of the Series: Open, Closed or Rolled. Defaults to Open. Available values: Open, Closed, Rolled.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "domCcy",
        "launchDate",
        "launchPriceType",
        "seriesIdentifier",
        "seriesType"
      ],
      "type": "object"
    },
    "ShareClass": {
      "additionalProperties": false,
      "properties": {
        "instrumentIdentifiers": {
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Unique instrument identifiers",
          "type": [
            "object",
            "null"
          ]
        },
        "series": {
          "description": "The series that belong to this Share Class - only relevant if InvestorType is Series.",
          "items": {
            "$ref": "#/$defs/Series"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "name": {
          "description": "The display name of the Share Class.",
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        },
        "description": {
          "description": "An optional description for the Share Class.",
          "maxLength": 1024,
          "minLength": 0,
          "pattern": "^[\\s\\S]*$",
          "type": [
            "string",
            "null"
          ]
        },
        "shareClassShortCode": {
          "description": "A short code that uniquely identifies the share class within the Fund.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "launchPrice": {
          "description": "The launch price set when a shareclass is added to the fund. Defaults to 1.",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "launchDate": {
          "description": "The launch date set when a shareclass is added to the fund. Defaults to Fund Inception Date.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "properties": {
          "additionalProperties": {
            "$ref": "#/$defs/Property"
          },
          "description": "An optional set of properties for the Share Class. These must be from the 'Instrument' domain.",
          "type": [
            "object",
            "null"
          ]
        },
        "investorType": {
          "description": "The Type of Share Class. Available values: Unitised.",
          "minLength": 1,
          "type": "string"
        },
        "distributionType": {
          "description": "The type of distribution the ShareClass will calculate. Available values: Income, Accumulation.",
          "type": [
            "string",
            "null"
          ]
        },
        "domCcy": {
          "description": "The domestic currency of the ShareClass instrument.",
          "type": "string"
        },
        "tradingConventions": {
          "$ref": "#/$defs/TradingConventions"
        },
        "roundingConventionsPrice": {
          "description": "Rounding conventions used for the ShareClass quotes.",
          "items": {
            "$ref": "#/$defs/ShareClassRoundingConvention"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "roundingConventionsUnits": {
          "description": "Rounding conventions used for the ShareClass units.",
          "items": {
            "$ref": "#/$defs/SimpleRoundingConvention"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "timeZoneConventions": {
          "$ref": "#/$defs/TimeZoneConventions"
        },
        "distributionPaymentType": {
          "description": "The tax treatment applied to distributions. Available values: Invalid, Gross, Net.",
          "type": [
            "string",
            "null"
          ]
        },
        "hedging": {
          "description": "Indicates whether the ShareClass applies currency hedging. Available values: Invalid, None, ApplyHedging.",
          "type": [
            "string",
            "null"
          ]
        },
        "whtParameters": {
          "$ref": "#/$defs/WhtParameters"
        }
      },
      "required": [
        "domCcy",
        "investorType",
        "name",
        "shareClassShortCode"
      ],
      "type": "object"
    },
    "ShareClassRoundingConvention": {
      "additionalProperties": false,
      "properties": {
        "precision": {
          "description": "The precision of the rounding: the number of decimal places, or of significant figures when PrecisionType is SignificantFigures. At most 28, and at least 1 for SignificantFigures. Defaults to 0.",
          "format": "int32",
          "type": "integer"
        },
        "roundingType": {
          "description": "The type of rounding, applied at the last decimal place or significant figure. Defaults to None, which leaves the value unrounded. Available values: None, Down, Up, Nearest.",
          "type": [
            "string",
            "null"
          ]
        },
        "precisionType": {
          "description": "What Precision counts: DecimalPlaces (the default) or SignificantFigures. A SignificantFigures convention is not copied onto an instrument created for the share class. Available values: DecimalPlaces, SignificantFigures.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "SimpleRoundingConvention": {
      "additionalProperties": false,
      "description": "Certain bonds will follow certain rounding conventions.\r\nFor example, Thai government bonds will round accrued interest and cashflow values 2dp, whereas for\r\nFrench government bonds, the rounding is to 7dp.",
      "properties": {
        "precision": {
          "description": "The precision of the rounding. The decimal places or significant figures to which the rounding takes place.\r\nDefaults to 0 if not set.",
          "format": "int32",
          "type": "integer"
        },
        "roundingType": {
          "description": "The type of rounding.\r\nDefault value: None. Available values: None, Down, Up, Nearest.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "SwingBaseline": {
      "additionalProperties": false,
      "description": "The price a Single fund's dealing price starts from before any swing.",
      "properties": {
        "source": {
          "description": "The price the dealing price starts from: Mid, the share class unit price, or Bid or Offer, the share class price that the valuation recipe of each active NAV type publishes on that side. Available values: Mid, Bid, Offer.",
          "minLength": 1,
          "type": "string"
        },
        "includeNdc": {
          "description": "Whether a Bid or Offer baseline reads the price including notional dealing costs, which needs the NAV type to have a notional dealing cost table. Required for a Bid or Offer baseline and must be omitted for a Mid baseline.",
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "source"
      ],
      "type": "object"
    },
    "SwingPolicy": {
      "additionalProperties": false,
      "description": "The baseline a Single fund's dealing price starts from, the spreads it swings by and, for a Market swing, the\r\ntriggers that say when it swings.",
      "properties": {
        "baseline": {
          "$ref": "#/$defs/SwingBaseline"
        },
        "defaultSpreadSource": {
          "description": "Where the swing comes from. Stored swings by the tiers in spreads. Market swings to the bid or offer, including notional dealing costs, that the valuation recipe of each active NAV type publishes, when the net cashflow passes inflowTrigger or outflowTrigger. Omit it for a fund that never swings and always deals at its baseline. Available values: Stored, Market.",
          "type": [
            "string",
            "null"
          ]
        },
        "spreads": {
          "$ref": "#/$defs/SwingSpreads"
        },
        "inflowTrigger": {
          "$ref": "#/$defs/SwingTrigger"
        },
        "outflowTrigger": {
          "$ref": "#/$defs/SwingTrigger"
        },
        "approvalMode": {
          "description": "Who settles the swing decision a valuation point deals at. Automatic, the default, finalises the valuation point on the engine's proposal. Manual holds the proposal: the valuation point cannot be finalised until a manager has submitted a pricingMethodologyOverride on it, equal to the proposal to approve it or different to overrule it. A valuation point keeps the approval mode in force when it was struck, with the rest of its pricing methodology, so a change reaches an open valuation point only once it is struck again. Must be Automatic when defaultSpreadSource is omitted, because a price that never swings has no decision to approve. Available values: Automatic, Manual.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "baseline"
      ],
      "type": "object"
    },
    "SwingPricingRule": {
      "additionalProperties": false,
      "description": "Deprecated and ignored; use the Fund's pricing methodology.\r\nMoved a NAV type's pricing basis with its net dealing flow. When the flow, as a percentage of the previous\r\nvaluation point's NAV, exceeded the threshold the fund was valued on the inflow or outflow basis instead of\r\nthe NAV type's own basis.",
      "properties": {
        "thresholdPercentageOfNav": {
          "description": "The net dealing flow, as a percentage of the previous valuation point's NAV, above which the fund swings. Must be zero or more; zero swings on any non-zero flow.",
          "format": "double",
          "minimum": 0,
          "type": "number"
        },
        "inflowBasis": {
          "description": "The pricing basis the fund is valued on when net subscriptions exceed the threshold: Mid, Bid or Ask. Defaults to Ask. Available values: Mid, Bid, Ask.",
          "type": [
            "string",
            "null"
          ]
        },
        "outflowBasis": {
          "description": "The pricing basis the fund is valued on when net redemptions exceed the threshold: Mid, Bid or Ask. Defaults to Bid. Available values: Mid, Bid, Ask.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "thresholdPercentageOfNav"
      ],
      "type": "object"
    },
    "SwingSpreadTier": {
      "additionalProperties": false,
      "description": "One tier of spread: the band of net cashflow it covers and the spread applied when the flow falls in it.",
      "properties": {
        "lowerBoundExclusive": {
          "description": "The size of net cashflow, as a magnitude, above which the tier applies. Zero or more; zero on the first tier swings on any net flow.",
          "format": "double",
          "type": "number"
        },
        "upperBoundInclusive": {
          "description": "The size of net cashflow, as a magnitude, up to and including which the tier applies. Omit it on the last tier, which covers every larger flow.",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "bps": {
          "description": "The spread, in basis points of the baseline price, applied when the net cashflow falls in the tier. Zero or more.",
          "format": "double",
          "type": "number"
        }
      },
      "required": [
        "bps",
        "lowerBoundExclusive"
      ],
      "type": "object"
    },
    "SwingSpreads": {
      "additionalProperties": false,
      "description": "The stored spreads a Single fund swings by, one set for each direction of net cashflow.",
      "properties": {
        "inflow": {
          "$ref": "#/$defs/DirectionSpreads"
        },
        "outflow": {
          "$ref": "#/$defs/DirectionSpreads"
        }
      },
      "type": "object"
    },
    "SwingTrigger": {
      "additionalProperties": false,
      "description": "When a Market swing fires in one direction: the net cashflow measure and the size it must exceed.",
      "properties": {
        "type": {
          "description": "What the threshold measures: NetCashflowAbsolute, the size of the net cashflow in the fund currency; NetCashflowPctOfNav, the net cashflow as a percentage of the previous valuation point's NAV; or DilutionOfNav, the dilution of NAV the net cashflow causes as a percentage of the previous valuation point's NAV, which is the flow's size times the fund's spread from its struck NAV to the side the flow trades at including notional dealing costs, as a proportion of that side. The dilution is measured once for the fund, so every share class takes the same decision, and it can fire on a day of wide spreads where the same flow would not on a quiet one. NetCashflowPctOfNav and DilutionOfNav triggers do not fire when there is no previous NAV. Available values: NetCashflowAbsolute, NetCashflowPctOfNav, DilutionOfNav.",
          "minLength": 1,
          "type": "string"
        },
        "threshold": {
          "description": "The size of net cashflow, as a magnitude, the flow must be above for the trigger to fire. Above zero.",
          "format": "double",
          "type": "number"
        }
      },
      "required": [
        "threshold",
        "type"
      ],
      "type": "object"
    },
    "TimeZoneConventions": {
      "additionalProperties": false,
      "description": "Provides information on the primary time zone of an instrument and optional cut labels\r\nfor defining times to be used by instrument events.",
      "properties": {
        "primaryTimeZone": {
          "description": "The IANA time zone code for the instrument.",
          "maxLength": 64,
          "minLength": 0,
          "type": "string"
        },
        "startOfDay": {
          "description": "A LUSID Cut Label code used for generating instrument events at a time other than local midnight.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": [
            "string",
            "null"
          ]
        },
        "primaryMarketOpen": {
          "description": "A LUSID Cut Label code used for delaying the transaction time of certain instrument events until market open.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "primaryTimeZone"
      ],
      "type": "object"
    },
    "TradingConventions": {
      "additionalProperties": false,
      "description": "Common Trading details for exchange traded instruments like Futures and Bonds",
      "properties": {
        "priceScaleFactor": {
          "description": "The factor used to scale prices for the instrument. Currently used by LUSID when calculating cost\r\nand notional amounts on transactions, and in Valuation, PV and exposure when the recipe's\r\nUseInstrumentScaleFactorAsDefault pricing option is set: a lookup-priced instrument whose price\r\nquote declares no scale factor of its own is then scaled by this factor. When that option is not\r\nset, only the scale factor attached to the price quotes in the QuoteStore is used.\r\nMust be positive and defaults to 1 if not set.",
          "format": "double",
          "type": "number"
        },
        "minimumOrderSize": {
          "description": "The Minimum Order Size\r\nMust be non-negative and defaults to 0 if not set.",
          "format": "double",
          "type": "number"
        },
        "minimumOrderIncrement": {
          "description": "The Minimum Order Increment\r\nMust be non-negative and defaults to 0 if not set.",
          "format": "double",
          "type": "number"
        },
        "priceQuotationType": {
          "description": "Conventional price quotation type of the instrument.\r\nWhether its quoted price excludes accrued interest (Clean) or includes it (Dirty).\r\nDefaults to Clean if not set.\r\n \r\nSupported string (enumeration) values are: [Clean, Dirty]. Available values: Clean, Dirty.",
          "type": [
            "string",
            "null"
          ]
        },
        "priceFractionConvention": {
          "description": "The fractional grid on which the market conventionally quotes the instrument's price, such as 32nds for\r\nUS Treasuries. Declarative only: prices are stored and valued as decimals regardless, and consumers use\r\nthis to convert between decimal and fractional notation at entry and display.\r\nDefaults to Decimal if not set.\r\n \r\nSupported string (enumeration) values are: [Decimal, ThirtySeconds, SixtyFourths, OneHundredTwentyEighths, TwoHundredFiftySixths]. Available values: Decimal, ThirtySeconds, SixtyFourths, OneHundredTwentyEighths, TwoHundredFiftySixths.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "Version": {
      "additionalProperties": false,
      "description": "The version metadata.",
      "properties": {
        "effectiveFrom": {
          "description": "The effective datetime at which this version became valid. Only applies when a single entity is being interacted with.",
          "format": "date-time",
          "type": "string"
        },
        "asAtDate": {
          "description": "The asAt datetime at which the data was committed to LUSID.",
          "format": "date-time",
          "type": "string"
        },
        "asAtCreated": {
          "description": "The asAt datetime at which the entity was first created in LUSID.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "userIdCreated": {
          "description": "The unique id of the user who created the entity.",
          "type": [
            "string",
            "null"
          ]
        },
        "requestIdCreated": {
          "description": "The unique request id of the command that created the entity.",
          "type": [
            "string",
            "null"
          ]
        },
        "reasonCreated": {
          "description": "The reason for an entity creation.",
          "type": [
            "string",
            "null"
          ]
        },
        "asAtModified": {
          "description": "The asAt datetime at which the entity (including its properties) was last updated in LUSID.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "userIdModified": {
          "description": "The unique id of the user who last updated the entity (including its properties) in LUSID.",
          "type": [
            "string",
            "null"
          ]
        },
        "requestIdModified": {
          "description": "The unique request id of the command that last updated the entity (including its properties) in LUSID.",
          "type": [
            "string",
            "null"
          ]
        },
        "reasonModified": {
          "description": "The reason for an entity modification.",
          "type": [
            "string",
            "null"
          ]
        },
        "asAtVersionNumber": {
          "description": "The integer version number for the entity (the entity was created at version 1)",
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "entityUniqueId": {
          "description": "The unique id of the entity",
          "type": [
            "string",
            "null"
          ]
        },
        "stagedModificationIdModified": {
          "description": "The ID of the staged change that resulted in the most recent modification.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "asAtDate",
        "effectiveFrom"
      ],
      "type": "object"
    },
    "WhtParameters": {
      "additionalProperties": false,
      "properties": {
        "whtConfig": {
          "$ref": "#/$defs/ResourceId"
        },
        "taxCountry": {
          "description": "The holder's country of tax residence, matched against the taxCountry field of the rate datasets.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "profileType": {
          "description": "The holder's tax profile, matched against the profileType field of the rate datasets.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        }
      },
      "required": [
        "profileType",
        "taxCountry",
        "whtConfig"
      ],
      "type": "object"
    }
  }
}