{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/finbourne/json-schema/finbourne-valuation-point-resource-list-of-accounted-transaction-schema.json",
  "title": "ValuationPointResourceListOfAccountedTransaction",
  "description": "ResourceList with extra header fields used by the various ValuationPoint endpoints for returning additional context related to the list of results.",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/finbourne-openapi.yml#/components/schemas/ValuationPointResourceListOfAccountedTransaction",
  "additionalProperties": false,
  "properties": {
    "startValuationPoint": {
      "$ref": "#/$defs/DiaryEntry"
    },
    "diagnostics": {
      "items": {
        "$ref": "#/$defs/ValuationPointDiagnostic"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "version": {
      "$ref": "#/$defs/Version"
    },
    "values": {
      "items": {
        "$ref": "#/$defs/AccountedTransaction"
      },
      "type": "array"
    },
    "href": {
      "format": "uri",
      "type": [
        "string",
        "null"
      ]
    },
    "nextPage": {
      "type": [
        "string",
        "null"
      ]
    },
    "previousPage": {
      "type": [
        "string",
        "null"
      ]
    },
    "links": {
      "items": {
        "$ref": "#/$defs/Link"
      },
      "type": [
        "array",
        "null"
      ]
    }
  },
  "required": [
    "values",
    "version"
  ],
  "type": "object",
  "$defs": {
    "AccountedTransaction": {
      "additionalProperties": false,
      "description": "The Valuation Point Data Response for the Fund and specified date.",
      "properties": {
        "accountingDate": {
          "description": "The transaction's accounting date.",
          "format": "date-time",
          "type": "string"
        },
        "journalEntryAction": {
          "description": "The journal entry line action associated with this transaction.",
          "type": [
            "string",
            "null"
          ]
        },
        "transaction": {
          "$ref": "#/$defs/OutputTransaction"
        },
        "portfolioId": {
          "$ref": "#/$defs/PortfolioId"
        },
        "valuationPointOrigin": {
          "description": "Designates if the transaction was originally part of the Valuation Point or if it was added as part of a Complex Close action. Available values: None, Original, Added, OriginalAndAdded.",
          "type": [
            "string",
            "null"
          ]
        },
        "addedOriginValuationPointCode": {
          "description": "The Valuation Point, only for transaction added as part of a Complex Close action.",
          "type": [
            "string",
            "null"
          ]
        },
        "addedOriginValuationPointVariantCode": {
          "description": "The Valuation Point variant, only for transactions added as part of a Complex Close action.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "Bucket": {
      "additionalProperties": false,
      "properties": {
        "taxLotId": {
          "description": "The identifier of the tax lot this bucket is for.",
          "type": [
            "string",
            "null"
          ]
        },
        "movementName": {
          "description": "The name of the movement.",
          "type": [
            "string",
            "null"
          ]
        },
        "holdingType": {
          "description": "The type of the holding.",
          "type": [
            "string",
            "null"
          ]
        },
        "economicBucket": {
          "description": "The economic bucket.",
          "type": [
            "string",
            "null"
          ]
        },
        "economicBucketComponent": {
          "description": "The economic bucket component.",
          "type": [
            "string",
            "null"
          ]
        },
        "economicBucketVariant": {
          "description": "The economic bucket component.",
          "type": [
            "string",
            "null"
          ]
        },
        "holdingSign": {
          "description": "The holding sign.",
          "type": [
            "string",
            "null"
          ]
        },
        "local": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "base": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "units": {
          "description": "The units.",
          "format": "double",
          "type": "number"
        },
        "activityDate": {
          "description": "The activity date of the bucket.",
          "format": "date-time",
          "type": "string"
        }
      },
      "type": "object"
    },
    "CategorySettlementStatus": {
      "additionalProperties": false,
      "properties": {
        "status": {
          "description": "The Status of the settlement category. Available values: Unsettled, PartSettled, Settled, None.",
          "minLength": 1,
          "type": "string"
        },
        "isOverdue": {
          "description": "Whether the category has any overdue movements",
          "type": "boolean"
        },
        "problems": {
          "description": "Instruction level detail of rejected or invalid settlement instructions",
          "items": {
            "$ref": "#/$defs/SettlementProblem"
          },
          "type": "array"
        }
      },
      "required": [
        "isOverdue",
        "problems",
        "status"
      ],
      "type": "object"
    },
    "Client": {
      "additionalProperties": false,
      "properties": {
        "name": {
          "readOnly": true,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "CounterpartyRiskInformation": {
      "additionalProperties": false,
      "description": "In the event that the legal entity is a counterparty to an OTC transaction\r\n(as signatory to a counterparty agreement such as an ISDA 2002 Master Agreement),\r\nthis information would be needed for calculations\r\nsuch as Credit-Valuation-Adjustments and Debit-Valuation-Adjustments (CVA, DVA, XVA etc).",
      "properties": {
        "countryOfRisk": {
          "description": "The country to which one would naturally ascribe risk, typically the legal entity's country of registration. This can be used to infer funding currency and related market data in the absence of a specific preference.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "creditRatings": {
          "description": "",
          "items": {
            "$ref": "#/$defs/CreditRating"
          },
          "type": "array"
        },
        "industryClassifiers": {
          "description": "",
          "items": {
            "$ref": "#/$defs/IndustryClassifier"
          },
          "type": "array"
        }
      },
      "required": [
        "countryOfRisk",
        "creditRatings",
        "industryClassifiers"
      ],
      "type": "object"
    },
    "CreditRating": {
      "additionalProperties": false,
      "description": "Object describing a credit rating,\r\nwhich assesses the stability and credit worthiness of a legal entity\r\nand hence its likelihood of defaulting on its outstanding obligations (typically debt).",
      "properties": {
        "ratingSource": {
          "description": "The provider of the credit rating, which will typically be an agency such as Moody's or Standard and Poor.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        },
        "rating": {
          "description": "The credit rating provided by the rating source. This would expected to be consistent with the rating scheme of that agency/source.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-+\\/]+$",
          "type": "string"
        }
      },
      "required": [
        "rating",
        "ratingSource"
      ],
      "type": "object"
    },
    "CurrencyAndAmount": {
      "additionalProperties": false,
      "description": "An amount of a specific currency, specifying a value and an associated unit",
      "properties": {
        "amount": {
          "format": "double",
          "type": "number"
        },
        "currency": {
          "type": "string"
        }
      },
      "required": [
        "currency"
      ],
      "type": "object"
    },
    "CustodianAccount": {
      "additionalProperties": false,
      "properties": {
        "custodianAccountId": {
          "$ref": "#/$defs/ResourceId"
        },
        "status": {
          "description": "The Account status. Available values: Active, Inactive, Deleted.",
          "minLength": 1,
          "type": "string"
        },
        "accountNumber": {
          "description": "The Custodian Account Number",
          "maxLength": 64,
          "minLength": 1,
          "type": "string"
        },
        "accountName": {
          "description": "The identifiable name given to the Custodian Account",
          "minLength": 1,
          "type": "string"
        },
        "accountingMethod": {
          "description": "The Accounting method to be used. Available values: Default, AverageCost, FirstInFirstOut, LastInFirstOut, HighestCostFirst, LowestCostFirst, ProRateByUnits, ProRateByCost, ProRateByCostPortfolioCurrency, IntraDayThenFirstInFirstOut, LongTermHighestCostFirst, LongTermHighestCostFirstPortfolioCurrency, HighestCostFirstPortfolioCurrency, LowestCostFirstPortfolioCurrency, MaximumLossMinimumGain, MaximumLossMinimumGainPortfolioCurrency.",
          "minLength": 1,
          "type": "string"
        },
        "currency": {
          "description": "The Currency for the Account. Optional, with no default.",
          "type": [
            "string",
            "null"
          ]
        },
        "properties": {
          "additionalProperties": {
            "$ref": "#/$defs/Property"
          },
          "description": "Set of unique Custodian Account properties and associated values to store with the Custodian Account. Each property must be from the 'CustodianAccount' domain.",
          "type": [
            "object",
            "null"
          ]
        },
        "custodian": {
          "$ref": "#/$defs/LegalEntity"
        },
        "accountType": {
          "description": "The type of the Custodian Account. This is a free-text field that accepts any value. Optional, with no default.",
          "maxLength": 512,
          "minLength": 1,
          "pattern": "^[\\s\\S]*$",
          "type": [
            "string",
            "null"
          ]
        },
        "taxLotSelectionCostBasis": {
          "description": "The cost figure that cost-referencing accounting methods evaluate when selecting tax lots for disposals from this account. This can be: Cost or AmortisedCost. If not specified or reset with Default, resolution falls through to the transaction type and then the portfolio's default. Available values: Default, Cost, AmortisedCost.",
          "type": [
            "string",
            "null"
          ]
        },
        "inactiveFrom": {
          "description": "The date from which the account is inactive. Transactions with a trade date before this date still resolve to the account; those on or after it leave the account unresolved. Absent when the account is active.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "accountName",
        "accountNumber",
        "accountingMethod",
        "custodian",
        "custodianAccountId",
        "status"
      ],
      "type": "object"
    },
    "CustodianEntry": {
      "additionalProperties": false,
      "properties": {
        "accountId": {
          "$ref": "#/$defs/ResourceId"
        },
        "accountSelector": {
          "description": "Available values: From, To.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "accountId"
      ],
      "type": "object"
    },
    "DataModelMembership": {
      "additionalProperties": false,
      "properties": {
        "membership": {
          "description": "The collection of data models this entity is a member of.",
          "items": {
            "$ref": "#/$defs/Membership"
          },
          "type": "array"
        },
        "currentModel": {
          "$ref": "#/$defs/MembershipAndStatus"
        }
      },
      "required": [
        "membership"
      ],
      "type": "object"
    },
    "DataScope": {
      "additionalProperties": false,
      "properties": {
        "client": {
          "$ref": "#/$defs/Client"
        },
        "scope": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "DiaryEntry": {
      "additionalProperties": false,
      "properties": {
        "href": {
          "description": "The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "aborId": {
          "$ref": "#/$defs/ResourceId"
        },
        "diaryEntryCode": {
          "description": "The code of the diary entry.",
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "description": "The type of the diary entry. Available values: PeriodBoundary, ValuationPoint, Other.",
          "minLength": 1,
          "type": "string"
        },
        "name": {
          "description": "The name of the diary entry.",
          "maxLength": 256,
          "minLength": 1,
          "pattern": "^[^\\\\<>&\\\"]+$",
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "description": "The status of the diary entry. Statuses are constrained and defaulted by 'Type' specified.\r\n\r\n Type 'Other' defaults to 'Undefined' and supports 'Undefined', 'Estimate', 'Candidate', and 'Final'.\r\n\r\nType 'PeriodBoundary' defaults to 'Estimate' when closing a period, and supports 'Estimate' and 'Final' for closing periods and 'Final' for locking periods.\r\n\r\nType 'ValuationPoint' defaults to 'Estimate' when upserting a diary entry, moves to 'Candidate' or 'Final' when a ValuationPoint is accepted, and 'Final' when it is finalised. Available values: Undefined, Estimate, Final, Candidate, Unofficial.",
          "minLength": 1,
          "type": "string"
        },
        "applyClearDown": {
          "description": "Defaults to false. Set to true if you want that the closed period to have the clear down applied. Available values: Undefined, Estimate, Final, Candidate, Unofficial.",
          "type": "boolean"
        },
        "effectiveAt": {
          "description": "The effective time of the diary entry.",
          "format": "date-time",
          "type": "string"
        },
        "queryAsAt": {
          "description": "The query time of the diary entry. Defaults to latest.",
          "format": "date-time",
          "type": "string"
        },
        "previousEntryTime": {
          "description": "The entry time of the previous diary entry.",
          "format": "date-time",
          "type": "string"
        },
        "properties": {
          "additionalProperties": {
            "$ref": "#/$defs/Property"
          },
          "description": "A set of properties for the diary entry.",
          "type": [
            "object",
            "null"
          ]
        },
        "version": {
          "$ref": "#/$defs/Version"
        },
        "stagedModifications": {
          "$ref": "#/$defs/StagedModificationsInfo"
        },
        "links": {
          "items": {
            "$ref": "#/$defs/Link"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "effectiveAt",
        "status",
        "type"
      ],
      "type": "object"
    },
    "Economics": {
      "additionalProperties": false,
      "properties": {
        "instrumentScope": {
          "description": "The scope in which the instrument lies.",
          "type": [
            "string",
            "null"
          ]
        },
        "lusidInstrumentId": {
          "description": "The unique Lusid Instrument Id (LUID) of the instrument that economics are for.",
          "minLength": 1,
          "type": "string"
        },
        "subHoldingKeys": {
          "additionalProperties": {
            "$ref": "#/$defs/PerpetualProperty"
          },
          "description": "The sub-holding properties which identify the Economic. Each property will be from the 'Transaction' domain. These are configured on a transaction portfolio.",
          "type": [
            "object",
            "null"
          ]
        },
        "buckets": {
          "description": "Set of economic data related with each of the side impact of the transaction.",
          "items": {
            "$ref": "#/$defs/Bucket"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "lusidInstrumentId"
      ],
      "type": "object"
    },
    "EntityIdentifier": {
      "additionalProperties": false,
      "description": "Dto to expose mapped keys to new standardised format",
      "properties": {
        "identifierScope": {
          "description": "The scope of the identifier",
          "type": [
            "string",
            "null"
          ]
        },
        "identifierType": {
          "description": "The type of the identifier",
          "type": "string"
        },
        "identifierValue": {
          "description": "The value of the identifier",
          "type": "string"
        }
      },
      "required": [
        "identifierType",
        "identifierValue"
      ],
      "type": "object"
    },
    "IndustryClassifier": {
      "additionalProperties": false,
      "description": "Object describing a particular industry classifier,\r\nwhich comprises a classification code and the name of the classification system to which the code belongs.",
      "properties": {
        "classificationSystemName": {
          "description": "The name of the classification system to which the classification code belongs (e.g. GICS). Available values: GICS2018.",
          "minLength": 1,
          "type": "string"
        },
        "classificationCode": {
          "description": "The specific industry classification code assigned to the legal entity.",
          "maxLength": 64,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_]+$",
          "type": "string"
        }
      },
      "required": [
        "classificationCode",
        "classificationSystemName"
      ],
      "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"
    },
    "LegalEntity": {
      "additionalProperties": false,
      "description": "Representation of Legal Entity on LUSID API",
      "properties": {
        "displayName": {
          "description": "The display name of the Legal Entity",
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "description": "The description of the Legal Entity",
          "type": [
            "string",
            "null"
          ]
        },
        "href": {
          "description": "The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "lusidLegalEntityId": {
          "description": "The unique LUSID Legal Entity Identifier of the Legal Entity.",
          "type": [
            "string",
            "null"
          ]
        },
        "identifiers": {
          "additionalProperties": {
            "$ref": "#/$defs/Property"
          },
          "description": "Unique client-defined identifiers of the Legal Entity.",
          "type": [
            "object",
            "null"
          ]
        },
        "properties": {
          "additionalProperties": {
            "$ref": "#/$defs/Property"
          },
          "description": "A set of properties associated to the Legal Entity.",
          "type": [
            "object",
            "null"
          ]
        },
        "relationships": {
          "description": "A set of relationships associated to the Legal Entity.",
          "items": {
            "$ref": "#/$defs/Relationship"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "counterpartyRiskInformation": {
          "$ref": "#/$defs/CounterpartyRiskInformation"
        },
        "version": {
          "$ref": "#/$defs/Version"
        },
        "links": {
          "items": {
            "$ref": "#/$defs/Link"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "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"
    },
    "LusidUniqueId": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "description": "The type for the LUSID unique id, this will depend on the type of entity found, for instance 'Instrument' would have a value of 'LusidInstrumentId'",
          "minLength": 1,
          "type": "string"
        },
        "value": {
          "description": "The value for the LUSID unique id",
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "type",
        "value"
      ],
      "type": "object"
    },
    "Membership": {
      "additionalProperties": false,
      "properties": {
        "scope": {
          "description": "The scope of the unique identifier associated with the Custom Data Model.",
          "maxLength": 64,
          "minLength": 1,
          "type": "string"
        },
        "code": {
          "description": "The code of the unique identifier associated with the Custom Data Model.",
          "maxLength": 64,
          "minLength": 1,
          "type": "string"
        },
        "displayName": {
          "description": "The name of the Custom Data Model.",
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "code",
        "displayName",
        "scope"
      ],
      "type": "object"
    },
    "MembershipAndStatus": {
      "additionalProperties": false,
      "properties": {
        "status": {
          "description": "Describes whether the entity is still a valid member of the data model.",
          "minLength": 1,
          "type": "string"
        },
        "scope": {
          "description": "The scope of the unique identifier associated with the Custom Data Model.",
          "maxLength": 64,
          "minLength": 1,
          "type": "string"
        },
        "code": {
          "description": "The code of the unique identifier associated with the Custom Data Model.",
          "maxLength": 64,
          "minLength": 1,
          "type": "string"
        },
        "displayName": {
          "description": "The name of the Custom Data Model.",
          "minLength": 1,
          "type": "string"
        },
        "validationFailures": {
          "description": "A list of validation failures returned when the entity's status with respect to the current model is 'Invalid' or 'Inadmissible'",
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "code",
        "displayName",
        "scope",
        "status",
        "validationFailures"
      ],
      "type": "object"
    },
    "MetricValue": {
      "additionalProperties": false,
      "properties": {
        "value": {
          "description": "The numerical value of the property.",
          "format": "double",
          "type": "number"
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "MovementConditionMatch": {
      "additionalProperties": false,
      "description": "The outcome of one movement's condition for a transaction. Reported per movement rather than keyed by\r\nmovement, because a transaction type may configure several movements that share a side and have no name.",
      "properties": {
        "movementName": {
          "description": "The name of the movement, or null if the movement is unnamed.",
          "type": [
            "string",
            "null"
          ]
        },
        "side": {
          "description": "The side the movement is configured against.",
          "minLength": 1,
          "type": "string"
        },
        "conditionMatched": {
          "description": "Whether the movement's condition was satisfied by this transaction. A movement with no condition always matches.",
          "type": "boolean"
        }
      },
      "required": [
        "side"
      ],
      "type": "object"
    },
    "OtcConfirmation": {
      "additionalProperties": false,
      "description": "For the storage of any information pertinent to the confirmation of an OTC trade. e.g the Counterparty Agreement Code",
      "properties": {
        "counterpartyAgreementId": {
          "$ref": "#/$defs/ResourceId"
        }
      },
      "type": "object"
    },
    "OutputTransaction": {
      "additionalProperties": false,
      "description": "A list of output transactions.",
      "properties": {
        "transactionId": {
          "description": "The unique identifier for the transaction.",
          "minLength": 1,
          "type": "string"
        },
        "type": {
          "description": "The type of the transaction e.g. 'Buy', 'Sell'. The transaction type should have been pre-configured via the System Configuration API endpoint.",
          "minLength": 1,
          "type": "string"
        },
        "description": {
          "description": "The description of the transaction. This only exists on transactions generated by LUSID e.g. a holdings adjustment transaction.",
          "type": [
            "string",
            "null"
          ]
        },
        "instrumentIdentifiers": {
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "A set of instrument identifiers that can resolve the transaction to a unique instrument.",
          "type": [
            "object",
            "null"
          ]
        },
        "instrumentScope": {
          "description": "The scope in which the instrument lies.",
          "type": [
            "string",
            "null"
          ]
        },
        "instrumentUid": {
          "description": "The unique Lusid Instrument Id (LUID) of the instrument that the transaction is in.",
          "minLength": 1,
          "type": "string"
        },
        "transactionDate": {
          "description": "The date of the transaction.",
          "format": "date-time",
          "type": "string"
        },
        "settlementDate": {
          "description": "The settlement date of the transaction.",
          "format": "date-time",
          "type": "string"
        },
        "units": {
          "description": "The number of units transacted in the associated instrument.",
          "format": "double",
          "type": "number"
        },
        "transactionAmount": {
          "description": "The total value of the transaction in the transaction currency.",
          "format": "double",
          "type": "number"
        },
        "transactionPrice": {
          "$ref": "#/$defs/TransactionPrice"
        },
        "totalConsideration": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "exchangeRate": {
          "description": "The exchange rate between the transaction and settlement currency (settlement currency being represented by the TotalConsideration.Currency). For example if the transaction currency is in USD and the settlement currency is in GBP this this the USD/GBP rate.",
          "format": "double",
          "type": "number"
        },
        "transactionToPortfolioRate": {
          "description": "The exchange rate between the transaction and portfolio currency. For example if the transaction currency is in USD and the portfolio currency is in GBP this this the USD/GBP rate.",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "transactionCurrency": {
          "description": "The transaction currency.",
          "type": [
            "string",
            "null"
          ]
        },
        "properties": {
          "additionalProperties": {
            "$ref": "#/$defs/PerpetualProperty"
          },
          "description": "Set of unique transaction properties and associated values to stored with the transaction. Each property will be from the 'Transaction' domain.",
          "type": [
            "object",
            "null"
          ]
        },
        "counterpartyId": {
          "description": "The identifier for the counterparty of the transaction.",
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "description": "The source of the transaction. This is used to look up the appropriate transaction group set in the transaction type configuration.",
          "type": [
            "string",
            "null"
          ]
        },
        "transactionStatus": {
          "description": "The status of the transaction. Available values: Active, Amended, Cancelled, ActiveReversal, ActiveTrueUp, CancelledTrueUp, PendingReversal, Reversed.",
          "enum": [
            "Active",
            "Amended",
            "Cancelled",
            "ActiveReversal",
            "ActiveTrueUp",
            "CancelledTrueUp",
            "PendingReversal",
            "Reversed"
          ],
          "type": "string"
        },
        "entryDateTime": {
          "description": "The asAt datetime that the transaction was added to LUSID.",
          "format": "date-time",
          "type": "string"
        },
        "cancelDateTime": {
          "description": "If the transaction has been cancelled, the asAt datetime that the transaction was cancelled.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "realisedGainLoss": {
          "description": "The collection of realised gains or losses resulting from relevant transactions e.g. a sale transaction. The cost used in calculating the realised gain or loss is determined by the accounting method defined when the transaction portfolio is created.",
          "items": {
            "$ref": "#/$defs/RealisedGainLoss"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "holdingIds": {
          "description": "The collection of single identifiers for the holding within the portfolio. The holdingId is constructed from the LusidInstrumentId, sub-holding keys and currrency and is unique within the portfolio.",
          "items": {
            "format": "int64",
            "type": "integer"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "sourceType": {
          "description": "The type of source that the transaction originated from. Available values: Unknown, InputTransaction, InstrumentEvent, HoldingAdjustment, OverriddenVirtualTransaction, Reversal.",
          "type": [
            "string",
            "null"
          ]
        },
        "sourceInstrumentEventId": {
          "description": "The unique ID of the instrument event that the transaction is related to.",
          "type": [
            "string",
            "null"
          ]
        },
        "custodianAccount": {
          "$ref": "#/$defs/CustodianAccount"
        },
        "transactionGroupId": {
          "description": "The identifier for grouping economic events across multiple transactions",
          "type": [
            "string",
            "null"
          ]
        },
        "resolvedTransactionTypeDetails": {
          "$ref": "#/$defs/TransactionTypeDetails"
        },
        "grossTransactionAmount": {
          "description": "The total gross value of the transaction in the transaction currency.",
          "format": "double",
          "type": "number"
        },
        "otcConfirmation": {
          "$ref": "#/$defs/OtcConfirmation"
        },
        "orderId": {
          "$ref": "#/$defs/ResourceId"
        },
        "allocationId": {
          "$ref": "#/$defs/ResourceId"
        },
        "accountingDate": {
          "description": "The accounting date of the transaction.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "economics": {
          "description": "Set of economic data related with the transaction impacts.",
          "items": {
            "$ref": "#/$defs/Economics"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "dataModelMembership": {
          "$ref": "#/$defs/DataModelMembership"
        },
        "sequence": {
          "description": "The sequential position in which this transaction was processed.",
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "sequencePriority": {
          "description": "The calculated priority level for this transaction.",
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "settlementSummary": {
          "$ref": "#/$defs/TransactionSettlementSummary"
        },
        "version": {
          "$ref": "#/$defs/Version"
        },
        "stagedModifications": {
          "$ref": "#/$defs/StagedModificationsInfo"
        },
        "custodianEntries": {
          "description": "Set of of Custodian Entries associated with the transaction.",
          "items": {
            "$ref": "#/$defs/CustodianEntry"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "resolvedCustodianAccounts": {
          "description": "Set of Custodian Accounts resolved from each movement on the Transaction.",
          "items": {
            "$ref": "#/$defs/ResolvedCustodianAccount"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "unresolvedCustodianAccounts": {
          "description": "Set of Custodian Entries on the Transaction that no movement was booked against, i.e. those which did not match a movement's account type and selector.",
          "items": {
            "$ref": "#/$defs/CustodianEntry"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "isExcluded": {
          "description": "Whether the transaction was excluded from the portfolio's holdings by the portfolio's transaction exclusion filter.",
          "type": "boolean"
        },
        "entityLinks": {
          "description": "Links to the entities that manage this transaction.",
          "items": {
            "$ref": "#/$defs/TransactionEntityLink"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "sourcePortfolioId": {
          "$ref": "#/$defs/ResourceId"
        }
      },
      "required": [
        "instrumentUid",
        "settlementDate",
        "transactionDate",
        "transactionId",
        "type",
        "units"
      ],
      "type": "object"
    },
    "PerpetualProperty": {
      "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"
        },
        "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"
    },
    "PortfolioId": {
      "additionalProperties": false,
      "properties": {
        "scope": {
          "$ref": "#/$defs/DataScope"
        },
        "identifier": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "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"
    },
    "RealisedGainLoss": {
      "additionalProperties": false,
      "properties": {
        "instrumentScope": {
          "description": "The scope in which the instrument lies.",
          "type": [
            "string",
            "null"
          ]
        },
        "instrumentUid": {
          "description": "The unique Lusid Instrument Id (LUID) of the instrument that this gain or loss is associated with.",
          "minLength": 1,
          "type": "string"
        },
        "units": {
          "description": "The number of units of the associated instrument against which the gain or loss has been realised.",
          "format": "double",
          "type": "number"
        },
        "purchaseTradeDate": {
          "description": "The effective datetime at which the units associated with this gain or loss were originally purchased.",
          "format": "date-time",
          "readOnly": true,
          "type": [
            "string",
            "null"
          ]
        },
        "purchaseSettlementDate": {
          "description": "The effective datetime at which the units associated with this gain or loss were originally settled.",
          "format": "date-time",
          "readOnly": true,
          "type": [
            "string",
            "null"
          ]
        },
        "purchasePrice": {
          "description": "The purchase price of each unit associated with this gain or loss.",
          "format": "double",
          "type": [
            "number",
            "null"
          ]
        },
        "costTradeCcy": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "costPortfolioCcy": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "realisedTradeCcy": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "realisedTotal": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "realisedMarket": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "realisedCurrency": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "taxLotId": {
          "description": "The identifier of the tax lot with which this gain or loss is associated.",
          "type": [
            "string",
            "null"
          ]
        },
        "realisedAmortisation": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "tradeDateToSettlementDateRealisedCurrency": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "transactionType": {
          "description": "The transaction type resolved for the allocation slice that realised this record, which can differ from the output transaction's type when a slice resolves against the opposite side of the book (for example a Buy whose slice covers a short).",
          "type": [
            "string",
            "null"
          ]
        },
        "properties": {
          "additionalProperties": {
            "$ref": "#/$defs/PerpetualProperty"
          },
          "description": "The sub-holding key properties of the holding this record was realised against, identifying the allocation slice it belongs to.",
          "type": [
            "object",
            "null"
          ]
        },
        "chargeableGains": {
          "$ref": "#/$defs/RealisedGainLossChargeableGains"
        }
      },
      "required": [
        "costPortfolioCcy",
        "costTradeCcy",
        "instrumentUid",
        "realisedTotal",
        "realisedTradeCcy",
        "units"
      ],
      "type": "object"
    },
    "RealisedGainLossChargeableGains": {
      "additionalProperties": false,
      "description": "The UK chargeable-gains figures the engine worked for a realised-gain/loss leg: the chargeable gain, the\r\nindexation allowance and the part of it taken, the proceeds the leg was worked on, both sides of the s.35\r\nkink test on a 1982 holding, the basis and identification rule the leg was matched under, the lot it was\r\nmatched against, whether its transaction stands reversed, and the treatment applied. All amounts are in\r\nthe portfolio currency.",
      "properties": {
        "chargeableGain": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "indexationAllowance": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "indexationAllowanceTaken": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "proceeds": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "gainOnOriginalCost": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "gainOnMarketValue1982": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "basis": {
          "description": "Available values: IndexedCost, MarketValue1982, OriginalCost, NilGain.",
          "type": [
            "string",
            "null"
          ]
        },
        "matchRule": {
          "description": "Available values: SameDay, TenDay, Section210B, Section104Pool, Holding1982, Holding1965.",
          "type": [
            "string",
            "null"
          ]
        },
        "matchedLot": {
          "$ref": "#/$defs/RealisedGainLossMatchedLot"
        },
        "marketValue1965": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "reversed": {
          "type": "boolean"
        },
        "taxTreatment": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "RealisedGainLossMatchedLot": {
      "additionalProperties": false,
      "description": "The lot a realised chargeable-gains leg was matched against: its cost in the portfolio currency, the date of the\r\nacquisition that opened it and its chargeable-gains role.",
      "properties": {
        "originalCost": {
          "$ref": "#/$defs/CurrencyAndAmount"
        },
        "purchaseDate": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "role": {
          "description": "Available values: DayLot, Section104Pool, Holding1982, Holding1965, FutureAcquisition.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "RelatedEntity": {
      "additionalProperties": false,
      "description": "Information about the other related entity in the relationship",
      "properties": {
        "entityType": {
          "description": "The type of the entity.",
          "minLength": 1,
          "type": "string"
        },
        "entityId": {
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "The identifier of the other related entity in the relationship. It contains 'scope' and 'code' as keys for identifiers of a Portfolio or Portfolio Group, or 'idTypeScope', 'idTypeCode', 'code' as keys for identifiers of a Person or Legal entity, or 'scope', 'identifierType', 'identifierValue' as keys for identifiers of an Instrument",
          "type": "object"
        },
        "displayName": {
          "description": "The display name of the entity.",
          "minLength": 1,
          "type": "string"
        },
        "properties": {
          "additionalProperties": {
            "$ref": "#/$defs/Property"
          },
          "description": "The properties of the entity. This field is empty until further notice.",
          "type": [
            "object",
            "null"
          ]
        },
        "scope": {
          "description": "The scope of the identifier",
          "type": [
            "string",
            "null"
          ]
        },
        "lusidUniqueId": {
          "$ref": "#/$defs/LusidUniqueId"
        },
        "identifiers": {
          "description": "The identifiers of the related entity in the relationship.",
          "items": {
            "$ref": "#/$defs/EntityIdentifier"
          },
          "type": "array"
        },
        "href": {
          "description": "The link to the entity.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "displayName",
        "entityId",
        "entityType",
        "identifiers"
      ],
      "type": "object"
    },
    "Relationship": {
      "additionalProperties": false,
      "description": "Representation of a Relationship between a requested entity with the stated entity as RelatedEntityId",
      "properties": {
        "version": {
          "$ref": "#/$defs/Version"
        },
        "relationshipDefinitionId": {
          "$ref": "#/$defs/ResourceId"
        },
        "relatedEntity": {
          "$ref": "#/$defs/RelatedEntity"
        },
        "traversalDirection": {
          "description": "Direction of relationship between the requested entity and related entity. This can be 'In' or 'Out'. Read more about relationships traversal direction in LUSID Knowledge Base here https://support.lusid.com/docs/creating-relationships-between-certain-types-of-entity.",
          "minLength": 1,
          "type": "string"
        },
        "traversalDescription": {
          "description": "Description of the relationship based on relationship's traversal direction. If 'TraversalDirection' is 'Out', this description would be 'OutwardDescription' from the associated relationship definition. If 'TraversalDirection' is 'In', this description would be 'InwardDescription' from the associated relationship definition.",
          "minLength": 1,
          "type": "string"
        },
        "effectiveFrom": {
          "description": "The effective datetime from which the relationship is valid.",
          "format": "date-time",
          "type": "string"
        },
        "effectiveUntil": {
          "description": "The effective datetime until which the relationship is valid. If no future deletions are present or an effective until has not been set for the relationship, this will be indefinite and represented by the maximum date.",
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "relatedEntity",
        "relationshipDefinitionId",
        "traversalDescription",
        "traversalDirection"
      ],
      "type": "object"
    },
    "ResolvedCustodianAccount": {
      "additionalProperties": false,
      "properties": {
        "accountSelector": {
          "description": "Available values: From, To.",
          "type": [
            "string",
            "null"
          ]
        },
        "custodianAccount": {
          "$ref": "#/$defs/CustodianAccount"
        },
        "resolutionType": {
          "description": "Available values: BookingEntry, ContextCustodian, RelatedAccount, PortfolioDefault.",
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "custodianAccount",
        "resolutionType"
      ],
      "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"
    },
    "SettlementProblem": {
      "additionalProperties": false,
      "properties": {
        "settlementInstructionId": {
          "description": "The id of the problematic settlement instruction. Combined with the portfolio id this uniquely identifies a settlement instruction",
          "minLength": 1,
          "type": "string"
        },
        "category": {
          "description": "The category this instruction belongs to",
          "minLength": 1,
          "type": "string"
        },
        "status": {
          "description": "The status of the settlement instruction. Available values: Invalid, Rejected, Applied, Orphan.",
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "category",
        "settlementInstructionId",
        "status"
      ],
      "type": "object"
    },
    "StagedModificationsInfo": {
      "additionalProperties": false,
      "description": "The staged modifications metadata.",
      "properties": {
        "countPending": {
          "description": "The number of staged modifications for the entity with a status of Pending for the requested asAt.",
          "format": "int32",
          "type": "integer"
        },
        "hrefPending": {
          "description": "Link to the list staged modifications endpoint, filtered by entityType, entityUniqueId and status (= Pending).",
          "format": "uri",
          "type": "string"
        },
        "idsPreviewed": {
          "description": "An array of the ids of any StagedModifications being previewed.",
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "countPending",
        "hrefPending"
      ],
      "type": "object"
    },
    "TransactionEntityLink": {
      "additionalProperties": false,
      "properties": {
        "entityType": {
          "description": "Available values: Transaction, Portfolio, Holding, ReferenceHolding, TransactionConfiguration, Instrument, PortfolioGroup, Person, Order, Allocation, Calendar, LegalEntity, InvestorRecord, InvestmentAccount, Placement, Execution, Block, Participation, Package, OrderInstruction, CustomEntity, InstrumentEvent, Account, ChartOfAccounts, CustodianAccount, CheckDefinition, Abor, AborConfiguration, Fund, FundConfiguration, FundStructure, ProcessingGroup, Fee, Reconciliation, PropertyDefinition, Compliance, DiaryEntry, Leg, DerivedValuation, Timeline, ClosedPeriod, TaskDefinition, Workflow, IdentifierDefinition, SettlementInstruction, TransactionFeeType, PaymentInstruction, Transfer, RecDefinition, RecResult, JournalEntry, CollateralAgreement, EligibleCollateralSchedule.",
          "minLength": 1,
          "type": "string"
        },
        "entityId": {
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": "object"
        },
        "restrictEditing": {
          "type": "boolean"
        }
      },
      "required": [
        "entityId",
        "entityType",
        "restrictEditing"
      ],
      "type": "object"
    },
    "TransactionPrice": {
      "additionalProperties": false,
      "properties": {
        "price": {
          "format": "double",
          "type": "number"
        },
        "type": {
          "description": "Available values: Price, Yield, Spread, CashFlowPerUnit, CleanPrice, DirtyPrice, CdsPrice.",
          "enum": [
            "Price",
            "Yield",
            "Spread",
            "CashFlowPerUnit",
            "CleanPrice",
            "DirtyPrice",
            "CdsPrice"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "TransactionSettlementSummary": {
      "additionalProperties": false,
      "properties": {
        "overallStatus": {
          "$ref": "#/$defs/CategorySettlementStatus"
        },
        "stockStatus": {
          "$ref": "#/$defs/CategorySettlementStatus"
        },
        "cashStatus": {
          "$ref": "#/$defs/CategorySettlementStatus"
        },
        "deferredCashReceiptStatus": {
          "$ref": "#/$defs/CategorySettlementStatus"
        }
      },
      "required": [
        "cashStatus",
        "deferredCashReceiptStatus",
        "overallStatus",
        "stockStatus"
      ],
      "type": "object"
    },
    "TransactionTypeDetails": {
      "additionalProperties": false,
      "properties": {
        "scope": {
          "description": "The scope in which the TransactionType was resolved. If the portfolio has a TransactionTypeScope, this will have been used. Otherwise the default scope will have been used.",
          "minLength": 1,
          "type": "string"
        },
        "source": {
          "description": "The source in which the TransactionType was resolved.",
          "minLength": 1,
          "type": "string"
        },
        "type": {
          "description": "The resolved TransactionType. More information on TransactionType resolution can be found at https://support.lusid.com/docs/how-does-lusid-resolve-transactions-to-transaction-types",
          "minLength": 1,
          "type": "string"
        },
        "movementConditionMatches": {
          "description": "One entry for each movement on the resolved TransactionType, in the order the movements are configured, recording whether that movement's condition was satisfied by this transaction. Empty for transaction versions that generate no movements, such as cancelled and amended versions.",
          "items": {
            "$ref": "#/$defs/MovementConditionMatch"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "scope",
        "source",
        "type"
      ],
      "type": "object"
    },
    "ValuationPointDiagnostic": {
      "additionalProperties": false,
      "description": "Something found while striking a valuation point that did not stop it but should be looked at.",
      "properties": {
        "type": {
          "description": "What kind of finding this is. 'OwnershipDrift': a fund structure holder's declared sharing percentage in a held member differs from the share its contributions make of that member's capital by enough to misallocate more of the period's P&L than the holder's drift materiality warning amount allows. 'FeeStrikeFailed': the fees struck when the valuation point was last created or updated failed, so its lines carry no fee transactions and it cannot be accepted until they are struck again. 'FeeInvoiceOutsideTolerance': the invoices booked for a fee in the valuation point's window, tagged with a Transaction/<fund scope>/InvoicedFeeCode property, differ from the fee's accrual for the period they cover by more than its Fee/<scope>/InvoiceTolerance, or else its fund's Fund/<scope>/InvoiceTolerance, allows; they are booked as they are. 'FeeInvoiceNotChecked': such an invoice could not be checked, because no final valuation point holds its period's accrual, it is not in the fee's currency, or the tolerance cannot be read. Neither stops the valuation point. 'PrepaidFeeSplitStale': a partnership fund's prepaid management fee period that ended more than 366 days before the valuation point, outside the year its valuation points re-split, had a transaction other than a fee booked, amended or cancelled in it since its split between the fee payable and the receivable from the manager was written, so the split may be out of date: re-split the period with the fund's fees/$resplit endpoint, which is post-close activity if the period is final. 'PrepaidFeeResplitFailed': a partnership fund's estimate could not re-split the prepaid management fee periods in its year when it was struck, so it was struck on their split as it stood and cannot be accepted until they are re-split: correct the cause and strike the estimate again.",
          "minLength": 1,
          "type": "string"
        },
        "message": {
          "description": "What was found and what to do about it.",
          "minLength": 1,
          "type": "string"
        },
        "details": {
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "The values the finding was made on, by name. For 'OwnershipDrift': holder, member, declaredShare, actualShare, delta (actual less declared) and impact (the P&L the drift would misallocate this period). For 'FeeStrikeFailed': failureType and failureMessage, the cause of the failed strike. For 'FeeInvoiceOutsideTolerance': feeCode, feeName, periodEnd (the payable date ending the period), accrualValuationPoint, currency, accrual, invoice, difference (invoice less accrual), differencePercent, tolerancePercent, toleranceFloor, tolerance (the larger of the percentage of the accrual and the floor), toleranceProperty and transactionIds. For 'FeeInvoiceNotChecked': feeCode, feeName, reason (AccrualNotFound, CurrencyMismatch or ToleranceUnreadable), transactionIds, and the figures it was found on. For 'PrepaidFeeSplitStale': prepaidRunId, periodStart, periodEnd and transactionIds (the transactions changed in the period since its split was written). For 'PrepaidFeeResplitFailed': failureType and failureMessage, the cause of the failed re-split.",
          "type": [
            "object",
            "null"
          ]
        }
      },
      "required": [
        "message",
        "type"
      ],
      "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"
    }
  }
}