{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lunch-flow/main/json-schema/lunch-flow-get-api-v1-accounts-string-holdings-response-schema.json",
  "title": "GetApiV1AccountsStringHoldingsResponse",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/lunch-flow-openapi-generated.yml#/components/schemas/GetApiV1AccountsStringHoldingsResponse",
  "type": "object",
  "properties": {
    "holdings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "security": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "currency": {
                "type": "string"
              },
              "tickerSymbol": {
                "type": "string"
              },
              "figi": {
                "type": "string"
              },
              "cusp": {
                "type": "string"
              },
              "isin": {
                "type": "string"
              }
            }
          },
          "quantity": {
            "type": "integer"
          },
          "price": {
            "type": "integer"
          },
          "value": {
            "type": "integer"
          },
          "costBasis": {
            "type": "integer"
          },
          "currency": {
            "type": "string"
          },
          "raw": {
            "type": "object",
            "properties": {
              "property1": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "property2": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        }
      }
    },
    "totalValue": {
      "type": "integer"
    },
    "currency": {
      "type": "string"
    }
  }
}