{
    "components": {
        "schemas": {
            "AttributionResult": {
                "properties": {
                    "as_of": {
                        "format": "date",
                        "title": "As Of",
                        "type": "string"
                    },
                    "basis": {
                        "description": "stored = the nightly result; on_demand = computed for this request",
                        "enum": [
                            "stored",
                            "on_demand"
                        ],
                        "title": "Basis",
                        "type": "string"
                    },
                    "book_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "null for an on-demand call on inline positions",
                        "title": "Book Id"
                    },
                    "contributions": {
                        "items": {
                            "$ref": "#/components/schemas/Contribution"
                        },
                        "title": "Contributions",
                        "type": "array"
                    },
                    "factor_return_pct": {
                        "title": "Factor Return Pct",
                        "type": "number"
                    },
                    "method": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Method"
                    },
                    "model": {
                        "$ref": "#/components/schemas/ModelLabel"
                    },
                    "model_as_of": {
                        "anyOf": [
                            {
                                "format": "date",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "live books: the date of the model's data used (the latest recorded set on or before as_of)",
                        "title": "Model As Of"
                    },
                    "period_end": {
                        "format": "date",
                        "title": "Period End",
                        "type": "string"
                    },
                    "period_start": {
                        "format": "date",
                        "title": "Period Start",
                        "type": "string"
                    },
                    "positions_as_of": {
                        "anyOf": [
                            {
                                "format": "date",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "live books: the date of the positions used (the latest on or before as_of)",
                        "title": "Positions As Of"
                    },
                    "priced_pct": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "share of the book's gross weight with a return over the period, percent",
                        "title": "Priced Pct"
                    },
                    "specific_return_pct": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "total - factor; null with total",
                        "title": "Specific Return Pct"
                    },
                    "total_return_pct": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "null when too little of the book has prices (see priced_pct)",
                        "title": "Total Return Pct"
                    },
                    "trading_days": {
                        "anyOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Trading Days"
                    }
                },
                "required": [
                    "as_of",
                    "model",
                    "basis",
                    "period_start",
                    "period_end",
                    "factor_return_pct",
                    "contributions"
                ],
                "title": "AttributionResult",
                "type": "object"
            },
            "Batch": {
                "properties": {
                    "batch_id": {
                        "title": "Batch Id",
                        "type": "string"
                    },
                    "created_at": {
                        "format": "date-time",
                        "title": "Created At",
                        "type": "string"
                    },
                    "items": {
                        "items": {
                            "$ref": "#/components/schemas/BatchItemOut"
                        },
                        "title": "Items",
                        "type": "array"
                    },
                    "progress": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/BatchProgress"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "items finished of the total (live batches run in the background)"
                    },
                    "status": {
                        "enum": [
                            "queued",
                            "running",
                            "done",
                            "failed"
                        ],
                        "title": "Status",
                        "type": "string"
                    }
                },
                "required": [
                    "batch_id",
                    "status",
                    "created_at",
                    "items"
                ],
                "title": "Batch",
                "type": "object"
            },
            "BatchItem": {
                "additionalProperties": false,
                "properties": {
                    "as_of": {
                        "anyOf": [
                            {
                                "format": "date",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "As Of"
                    },
                    "book_id": {
                        "title": "Book Id",
                        "type": "string"
                    },
                    "kind": {
                        "enum": [
                            "risk",
                            "exposures",
                            "attribution",
                            "scenarios"
                        ],
                        "title": "Kind",
                        "type": "string"
                    },
                    "model_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Model Id"
                    }
                },
                "required": [
                    "book_id",
                    "kind"
                ],
                "title": "BatchItem",
                "type": "object"
            },
            "BatchItemOut": {
                "properties": {
                    "as_of": {
                        "anyOf": [
                            {
                                "format": "date",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "As Of"
                    },
                    "book_id": {
                        "title": "Book Id",
                        "type": "string"
                    },
                    "error": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/ErrorDetail"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "kind": {
                        "enum": [
                            "risk",
                            "exposures",
                            "attribution",
                            "scenarios"
                        ],
                        "title": "Kind",
                        "type": "string"
                    },
                    "model_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Model Id"
                    },
                    "result": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the same object the matching GET /v1/books/{book_id}/<kind> returns",
                        "title": "Result"
                    },
                    "status": {
                        "enum": [
                            "queued",
                            "running",
                            "done",
                            "failed"
                        ],
                        "title": "Status",
                        "type": "string"
                    }
                },
                "required": [
                    "book_id",
                    "kind",
                    "status"
                ],
                "title": "BatchItemOut",
                "type": "object"
            },
            "BatchList": {
                "properties": {
                    "batches": {
                        "items": {
                            "$ref": "#/components/schemas/BatchSummary"
                        },
                        "title": "Batches",
                        "type": "array"
                    },
                    "next_cursor": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Next Cursor"
                    }
                },
                "required": [
                    "batches"
                ],
                "title": "BatchList",
                "type": "object"
            },
            "BatchProgress": {
                "properties": {
                    "done": {
                        "title": "Done",
                        "type": "integer"
                    },
                    "total": {
                        "title": "Total",
                        "type": "integer"
                    }
                },
                "required": [
                    "done",
                    "total"
                ],
                "title": "BatchProgress",
                "type": "object"
            },
            "BatchRequest": {
                "additionalProperties": false,
                "description": "Up to 100 items; a batch naming any book the key cannot see is refused whole (404) and nothing runs.",
                "examples": [
                    {
                        "items": [
                            {
                                "book_id": "bk_1",
                                "kind": "risk"
                            },
                            {
                                "book_id": "bk_2",
                                "kind": "exposures",
                                "model_id": "house:vega_global_v1_7"
                            }
                        ]
                    }
                ],
                "properties": {
                    "items": {
                        "items": {
                            "$ref": "#/components/schemas/BatchItem"
                        },
                        "maxItems": 100,
                        "minItems": 1,
                        "title": "Items",
                        "type": "array"
                    }
                },
                "required": [
                    "items"
                ],
                "title": "BatchRequest",
                "type": "object"
            },
            "BatchSummary": {
                "properties": {
                    "batch_id": {
                        "title": "Batch Id",
                        "type": "string"
                    },
                    "created_at": {
                        "format": "date-time",
                        "title": "Created At",
                        "type": "string"
                    },
                    "progress": {
                        "$ref": "#/components/schemas/BatchProgress"
                    },
                    "status": {
                        "enum": [
                            "queued",
                            "running",
                            "done",
                            "failed"
                        ],
                        "title": "Status",
                        "type": "string"
                    }
                },
                "required": [
                    "batch_id",
                    "status",
                    "created_at",
                    "progress"
                ],
                "title": "BatchSummary",
                "type": "object"
            },
            "BookCreated": {
                "properties": {
                    "book_id": {
                        "title": "Book Id",
                        "type": "string"
                    },
                    "contract": {
                        "title": "Contract",
                        "type": "string"
                    },
                    "created": {
                        "description": "false when the feed was refused (nothing stored)",
                        "title": "Created",
                        "type": "boolean"
                    },
                    "evaluation": {
                        "$ref": "#/components/schemas/BookEvaluation"
                    },
                    "name": {
                        "title": "Name",
                        "type": "string"
                    }
                },
                "required": [
                    "book_id",
                    "name",
                    "created",
                    "contract",
                    "evaluation"
                ],
                "title": "BookCreated",
                "type": "object"
            },
            "BookEvaluation": {
                "properties": {
                    "as_of": {
                        "anyOf": [
                            {
                                "format": "date",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "As Of"
                    },
                    "base_currency": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Base Currency"
                    },
                    "contract": {
                        "title": "Contract",
                        "type": "string"
                    },
                    "lines": {
                        "anyOf": [
                            {
                                "items": {
                                    "additionalProperties": true,
                                    "type": "object"
                                },
                                "type": "array"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "valued lines: weight, value, price source and date (a vendor price is withheld)",
                        "title": "Lines"
                    },
                    "look_through": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Look Through"
                    },
                    "mapping": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "mapped / unmapped (with why_public) / not_mapped (derivatives, cash)",
                        "title": "Mapping"
                    },
                    "risk": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the house model's risk of the book (sandbox), or null",
                        "title": "Risk"
                    },
                    "risk_note": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Risk Note"
                    },
                    "validation": {
                        "additionalProperties": true,
                        "description": "verdict (accepted | refused, the whole feed), refused rows {row, identifier, code, why_public}, warnings, bond_checks",
                        "title": "Validation",
                        "type": "object"
                    },
                    "valuation": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "source, mode (shadow | fixed_weights), priced_share, held_share, not_yet_risked_share, modelled_share, gross, net, held",
                        "title": "Valuation"
                    }
                },
                "required": [
                    "contract",
                    "validation"
                ],
                "title": "BookEvaluation",
                "type": "object"
            },
            "BookInfo": {
                "examples": [
                    {
                        "book_id": "bk_1",
                        "kind": "client",
                        "latest_as_of": "2026-10-13",
                        "model": {
                            "certification": "certified",
                            "fingerprint": "30e3b67358f3",
                            "fingerprint_kind": "registry",
                            "house": true,
                            "id": "house:vega_global_v1_7",
                            "label": "House model Vega Global v1.7 (certified)",
                            "name": "Vega Global",
                            "run": "a1b2c3d4e5f60718",
                            "version": "1.7"
                        },
                        "name": "Growth sleeve"
                    }
                ],
                "properties": {
                    "book_id": {
                        "title": "Book Id",
                        "type": "string"
                    },
                    "kind": {
                        "default": "client",
                        "enum": [
                            "client",
                            "fund",
                            "model_portfolio"
                        ],
                        "title": "Kind",
                        "type": "string"
                    },
                    "latest_as_of": {
                        "anyOf": [
                            {
                                "format": "date",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Latest As Of"
                    },
                    "model": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/ModelLabel"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the model bound to this book (the house model when none is bound; null for a client book the nightly has not risked yet)"
                    },
                    "name": {
                        "title": "Name",
                        "type": "string"
                    }
                },
                "required": [
                    "book_id",
                    "name"
                ],
                "title": "BookInfo",
                "type": "object"
            },
            "BookList": {
                "properties": {
                    "books": {
                        "items": {
                            "$ref": "#/components/schemas/BookInfo"
                        },
                        "title": "Books",
                        "type": "array"
                    },
                    "next_cursor": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "pass as cursor for the next page; null on the last page",
                        "title": "Next Cursor"
                    }
                },
                "required": [
                    "books"
                ],
                "title": "BookList",
                "type": "object"
            },
            "BookPositionsV2": {
                "properties": {
                    "as_of": {
                        "title": "As Of",
                        "type": "string"
                    },
                    "book_id": {
                        "title": "Book Id",
                        "type": "string"
                    },
                    "contract": {
                        "title": "Contract",
                        "type": "string"
                    },
                    "lines": {
                        "anyOf": [
                            {
                                "items": {
                                    "additionalProperties": true,
                                    "type": "object"
                                },
                                "type": "array"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Lines"
                    },
                    "mapping": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Mapping"
                    },
                    "received_at": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Received At"
                    },
                    "sha256": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Sha256"
                    },
                    "validation": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Validation"
                    },
                    "valuation": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Valuation"
                    }
                },
                "required": [
                    "book_id",
                    "contract",
                    "as_of"
                ],
                "title": "BookPositionsV2",
                "type": "object"
            },
            "CompareRequest": {
                "additionalProperties": false,
                "examples": [
                    {
                        "book_id": "demo:vega-60-40",
                        "model_b": "factory:64eaa8389c55b8d2@rec_s21:cac08f1ec07c7ab2"
                    }
                ],
                "properties": {
                    "book_id": {
                        "title": "Book Id",
                        "type": "string"
                    },
                    "model_a": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "default: the house model",
                        "title": "Model A"
                    },
                    "model_b": {
                        "title": "Model B",
                        "type": "string"
                    }
                },
                "required": [
                    "book_id",
                    "model_b"
                ],
                "title": "CompareRequest",
                "type": "object"
            },
            "CompareResult": {
                "properties": {
                    "a": {
                        "$ref": "#/components/schemas/RiskResult"
                    },
                    "as_of": {
                        "format": "date",
                        "title": "As Of",
                        "type": "string"
                    },
                    "b": {
                        "$ref": "#/components/schemas/RiskResult"
                    },
                    "backtest": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "each fitted side's backtest on this book and the house's, bias by year beside the whole window",
                        "title": "Backtest"
                    },
                    "book_id": {
                        "title": "Book Id",
                        "type": "string"
                    },
                    "difference": {
                        "additionalProperties": true,
                        "description": "b minus a, percentage points: total_vol_pct, factor_vol_pct, specific_vol_pct",
                        "title": "Difference",
                        "type": "object"
                    },
                    "note": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Note"
                    }
                },
                "required": [
                    "book_id",
                    "as_of",
                    "a",
                    "b",
                    "difference"
                ],
                "title": "CompareResult",
                "type": "object"
            },
            "Contribution": {
                "properties": {
                    "contribution_pct": {
                        "title": "Contribution Pct",
                        "type": "number"
                    },
                    "factor": {
                        "title": "Factor",
                        "type": "string"
                    }
                },
                "required": [
                    "factor",
                    "contribution_pct"
                ],
                "title": "Contribution",
                "type": "object"
            },
            "CoverageRecord": {
                "properties": {
                    "as_of": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "As Of"
                    },
                    "asset_class": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Asset Class"
                    },
                    "basis": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Basis"
                    },
                    "coverage_pct": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Coverage Pct"
                    },
                    "daily_reset": {
                        "anyOf": [
                            {
                                "type": "boolean"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "a leveraged / inverse fund that resets daily",
                        "title": "Daily Reset"
                    },
                    "disclosure": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the daily-reset disclosure, shown with the number when daily_reset",
                        "title": "Disclosure"
                    },
                    "display_name": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the clean name to show (SEC series / class names for funds, the company's name for stocks); fall back to the ticker",
                        "title": "Display Name"
                    },
                    "estimated": {
                        "anyOf": [
                            {
                                "type": "boolean"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Estimated"
                    },
                    "estimated_label": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "\"Estimated\" on P4",
                        "title": "Estimated Label"
                    },
                    "exposures": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the 12 largest exposures; key-rate durations as + duration",
                        "title": "Exposures"
                    },
                    "frequency": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Frequency"
                    },
                    "holdings_lookthrough_pending": {
                        "anyOf": [
                            {
                                "type": "boolean"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "holdings-based in coverage, look-through not yet published: the number shown is the returns tier's, under its own method",
                        "title": "Holdings Lookthrough Pending"
                    },
                    "inherited_from": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Inherited From"
                    },
                    "method": {
                        "description": "holdings_based | returns_based | proxy_total_vol | proxy_category | none",
                        "title": "Method",
                        "type": "string"
                    },
                    "method_label": {
                        "description": "shown with every number: a volatility never appears without it",
                        "title": "Method Label",
                        "type": "string"
                    },
                    "n_classes": {
                        "anyOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "N Classes"
                    },
                    "note": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Note"
                    },
                    "parent_fund": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the fund whose holdings a share class's risk is modeled from",
                        "title": "Parent Fund"
                    },
                    "portfolio_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Portfolio Id"
                    },
                    "r2": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "R2"
                    },
                    "reason": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Reason"
                    },
                    "requested_at": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Requested At"
                    },
                    "share_class_note": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "shown with the number when the risk comes from a parent fund",
                        "title": "Share Class Note"
                    },
                    "sigma_annual": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "annualized volatility, a decimal (0.136 = 13.6%)",
                        "title": "Sigma Annual"
                    },
                    "sigma_display": {
                        "description": "the one display string: \"13.6% a year \u00b7 Holdings-based\" (+ \" \u00b7 Estimated\"), or \"\u2014\" when there is no number",
                        "title": "Sigma Display",
                        "type": "string"
                    },
                    "sigma_factor": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Sigma Factor"
                    },
                    "sigma_specific": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Sigma Specific"
                    },
                    "status": {
                        "description": "modelled (the status value; American: modeled): a number below; queued: modeled by the next nightly; none: request it; under_review: risk under review, no number shown (src/compute/risk_under_review); ended: a fund that has ended (liquidated, merged, deregistered, delisted), no number shown, never queued",
                        "enum": [
                            "modelled",
                            "queued",
                            "none",
                            "under_review",
                            "ended"
                        ],
                        "title": "Status",
                        "type": "string"
                    },
                    "ticker": {
                        "title": "Ticker",
                        "type": "string"
                    },
                    "ticker_collision": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the ticker is also a non-US listing: {resolved, other, rule}; the US listing's security type wins",
                        "title": "Ticker Collision"
                    },
                    "tier": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "P1 (best) to P4; P4 is estimated",
                        "title": "Tier"
                    }
                },
                "required": [
                    "ticker",
                    "status",
                    "method",
                    "method_label",
                    "sigma_display"
                ],
                "title": "CoverageRecord",
                "type": "object"
            },
            "CoverageRequestBody": {
                "additionalProperties": false,
                "properties": {
                    "tickers": {
                        "description": "the tickers to have modeled by the next nightly",
                        "items": {
                            "type": "string"
                        },
                        "maxItems": 1000,
                        "minItems": 1,
                        "title": "Tickers",
                        "type": "array"
                    }
                },
                "required": [
                    "tickers"
                ],
                "title": "CoverageRequestBody",
                "type": "object"
            },
            "CoverageRequestRow": {
                "properties": {
                    "note": {
                        "title": "Note",
                        "type": "string"
                    },
                    "record": {
                        "$ref": "#/components/schemas/CoverageRecord"
                    },
                    "request_id": {
                        "anyOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the open request (one per ticker, shared by every caller); none when already modeled",
                        "title": "Request Id"
                    },
                    "status": {
                        "enum": [
                            "modelled",
                            "queued",
                            "none",
                            "under_review",
                            "ended"
                        ],
                        "title": "Status",
                        "type": "string"
                    },
                    "ticker": {
                        "title": "Ticker",
                        "type": "string"
                    }
                },
                "required": [
                    "ticker",
                    "status",
                    "note",
                    "record"
                ],
                "title": "CoverageRequestRow",
                "type": "object"
            },
            "CoverageRequests": {
                "properties": {
                    "n": {
                        "title": "N",
                        "type": "integer"
                    },
                    "queued": {
                        "title": "Queued",
                        "type": "integer"
                    },
                    "requests": {
                        "items": {
                            "$ref": "#/components/schemas/CoverageRequestRow"
                        },
                        "title": "Requests",
                        "type": "array"
                    }
                },
                "required": [
                    "n",
                    "queued",
                    "requests"
                ],
                "title": "CoverageRequests",
                "type": "object"
            },
            "CreateBook": {
                "additionalProperties": false,
                "properties": {
                    "book_id": {
                        "pattern": "^[a-z0-9][a-z0-9._-]{0,62}$",
                        "title": "Book Id",
                        "type": "string"
                    },
                    "name": {
                        "maxLength": 120,
                        "minLength": 1,
                        "title": "Name",
                        "type": "string"
                    },
                    "positions": {
                        "additionalProperties": true,
                        "description": "positions/2 (with contract) or positions/1 (weights)",
                        "title": "Positions",
                        "type": "object"
                    }
                },
                "required": [
                    "book_id",
                    "name",
                    "positions"
                ],
                "title": "CreateBook",
                "type": "object"
            },
            "Driver": {
                "properties": {
                    "exposure": {
                        "description": "the book's stored exposure (a duration on KRD_ / OAS_ factors, else a weight)",
                        "title": "Exposure",
                        "type": "number"
                    },
                    "factor": {
                        "title": "Factor",
                        "type": "string"
                    },
                    "group": {
                        "description": "rates | credit | currency | equity | commodity | implied_vol | alternatives | other",
                        "title": "Group",
                        "type": "string"
                    },
                    "label": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the factor in plain words, e.g. 'US equity: Information Technology'",
                        "title": "Label"
                    },
                    "share_of_variance_pct": {
                        "description": "Euler share of the total variance, percent (negative = diversifying)",
                        "title": "Share Of Variance Pct",
                        "type": "number"
                    },
                    "vol_contribution_pct": {
                        "description": "contribution to the annual volatility, percentage points (sums with specific to total)",
                        "title": "Vol Contribution Pct",
                        "type": "number"
                    }
                },
                "required": [
                    "factor",
                    "group",
                    "exposure",
                    "share_of_variance_pct",
                    "vol_contribution_pct"
                ],
                "title": "Driver",
                "type": "object"
            },
            "DriverGroup": {
                "properties": {
                    "factors": {
                        "description": "its factors with a nonzero exposure",
                        "title": "Factors",
                        "type": "integer"
                    },
                    "group": {
                        "title": "Group",
                        "type": "string"
                    },
                    "hist_var_pct": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Hist Var Pct"
                    },
                    "hist_var_usd": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Hist Var Usd"
                    },
                    "net_tilt": {
                        "description": "the sum of the group's exposures, in the factors' own units",
                        "title": "Net Tilt",
                        "type": "number"
                    },
                    "share_of_variance_pct": {
                        "description": "the group's summed share of the variance, percent",
                        "title": "Share Of Variance Pct",
                        "type": "number"
                    },
                    "var_pct": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Var Pct"
                    },
                    "var_usd": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Var Usd"
                    }
                },
                "required": [
                    "group",
                    "share_of_variance_pct",
                    "net_tilt",
                    "factors"
                ],
                "title": "DriverGroup",
                "type": "object"
            },
            "DriverRow": {
                "properties": {
                    "exposure": {
                        "description": "the book's exposure to the factor (stored-exposure units: KRD_ / OAS_ are changes)",
                        "title": "Exposure",
                        "type": "number"
                    },
                    "factor": {
                        "title": "Factor",
                        "type": "string"
                    },
                    "group": {
                        "description": "Market | Sectors | Styles | Rates | Credit | Countries/Regions | Alternatives (a vendor's factors: Vendor model)",
                        "title": "Group",
                        "type": "string"
                    },
                    "hist_var_pct": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "its share of the historical VaR, percent (the mean loss on the tail days)",
                        "title": "Hist Var Pct"
                    },
                    "hist_var_usd": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Hist Var Usd"
                    },
                    "label": {
                        "description": "the factor in plain words (long form)",
                        "title": "Label",
                        "type": "string"
                    },
                    "share_of_variance_pct": {
                        "description": "its share of the book's variance, percent (can be negative)",
                        "title": "Share Of Variance Pct",
                        "type": "number"
                    },
                    "short_label": {
                        "description": "clean and untruncated: 'Beta', 'Information Technology', 'US 10-year rate' (Vega sector names)",
                        "title": "Short Label",
                        "type": "string"
                    },
                    "var_pct": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "its share of the normal 1-day 95% VaR, percent (= the share of the variance)",
                        "title": "Var Pct"
                    },
                    "var_usd": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "its normal VaR contribution in dollars (with a book value)",
                        "title": "Var Usd"
                    }
                },
                "required": [
                    "factor",
                    "label",
                    "short_label",
                    "group",
                    "exposure",
                    "share_of_variance_pct"
                ],
                "title": "DriverRow",
                "type": "object"
            },
            "EconomySnapshot": {
                "properties": {
                    "groups": {
                        "items": {
                            "additionalProperties": true,
                            "type": "object"
                        },
                        "title": "Groups",
                        "type": "array"
                    },
                    "latest_observation": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Latest Observation"
                    },
                    "note": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Note"
                    },
                    "one_liners": {
                        "items": {},
                        "title": "One Liners",
                        "type": "array"
                    },
                    "recorded": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Recorded"
                    },
                    "series": {
                        "items": {
                            "additionalProperties": true,
                            "type": "object"
                        },
                        "title": "Series",
                        "type": "array"
                    },
                    "source": {
                        "title": "Source",
                        "type": "string"
                    }
                },
                "required": [
                    "source",
                    "series",
                    "groups"
                ],
                "title": "EconomySnapshot",
                "type": "object"
            },
            "ErrorBody": {
                "description": "Every error of /v1 has this shape.",
                "examples": [
                    {
                        "error": {
                            "code": "book_not_found",
                            "detail": {
                                "book": "bk_9",
                                "request_id": "6f1c..."
                            },
                            "message": "no book 'bk_9' for this key"
                        }
                    }
                ],
                "properties": {
                    "error": {
                        "$ref": "#/components/schemas/ErrorDetail"
                    }
                },
                "required": [
                    "error"
                ],
                "title": "ErrorBody",
                "type": "object"
            },
            "ErrorDetail": {
                "properties": {
                    "code": {
                        "description": "stable machine code, e.g. invalid_key, missing_scope, book_not_found, positions_refused",
                        "title": "Code",
                        "type": "string"
                    },
                    "detail": {
                        "additionalProperties": true,
                        "description": "structured detail; always carries request_id",
                        "title": "Detail",
                        "type": "object"
                    },
                    "message": {
                        "description": "a plain-English sentence",
                        "title": "Message",
                        "type": "string"
                    }
                },
                "required": [
                    "code",
                    "message"
                ],
                "title": "ErrorDetail",
                "type": "object"
            },
            "Exposure": {
                "properties": {
                    "exposure": {
                        "title": "Exposure",
                        "type": "number"
                    },
                    "factor": {
                        "title": "Factor",
                        "type": "string"
                    },
                    "sign": {
                        "default": "return",
                        "enum": [
                            "return",
                            "change"
                        ],
                        "title": "Sign",
                        "type": "string"
                    },
                    "unit": {
                        "default": "unit",
                        "enum": [
                            "unit",
                            "indicator",
                            "score",
                            "weight",
                            "duration",
                            "fraction"
                        ],
                        "title": "Unit",
                        "type": "string"
                    }
                },
                "required": [
                    "factor",
                    "exposure"
                ],
                "title": "Exposure",
                "type": "object"
            },
            "ExposuresResult": {
                "properties": {
                    "as_of": {
                        "format": "date",
                        "title": "As Of",
                        "type": "string"
                    },
                    "basis": {
                        "description": "stored = the nightly result; on_demand = computed for this request",
                        "enum": [
                            "stored",
                            "on_demand"
                        ],
                        "title": "Basis",
                        "type": "string"
                    },
                    "book_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "null for an on-demand call on inline positions",
                        "title": "Book Id"
                    },
                    "exposures": {
                        "items": {
                            "$ref": "#/components/schemas/Exposure"
                        },
                        "title": "Exposures",
                        "type": "array"
                    },
                    "model": {
                        "$ref": "#/components/schemas/ModelLabel"
                    },
                    "model_as_of": {
                        "anyOf": [
                            {
                                "format": "date",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "live books: the date of the model's data used (the latest recorded set on or before as_of)",
                        "title": "Model As Of"
                    },
                    "positions_as_of": {
                        "anyOf": [
                            {
                                "format": "date",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "live books: the date of the positions used (the latest on or before as_of)",
                        "title": "Positions As Of"
                    }
                },
                "required": [
                    "as_of",
                    "model",
                    "basis",
                    "exposures"
                ],
                "title": "ExposuresResult",
                "type": "object"
            },
            "FactorCatalogue": {
                "properties": {
                    "factors": {
                        "items": {
                            "$ref": "#/components/schemas/FactorInfo"
                        },
                        "title": "Factors",
                        "type": "array"
                    },
                    "model": {
                        "$ref": "#/components/schemas/ModelLabel"
                    },
                    "model_as_of": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Model As Of"
                    }
                },
                "required": [
                    "model",
                    "factors"
                ],
                "title": "FactorCatalogue",
                "type": "object"
            },
            "FactorInfo": {
                "properties": {
                    "factor": {
                        "title": "Factor",
                        "type": "string"
                    },
                    "group": {
                        "title": "Group",
                        "type": "string"
                    },
                    "label": {
                        "title": "Label",
                        "type": "string"
                    },
                    "short_label": {
                        "title": "Short Label",
                        "type": "string"
                    }
                },
                "required": [
                    "factor",
                    "label",
                    "short_label",
                    "group"
                ],
                "title": "FactorInfo",
                "type": "object"
            },
            "FeeHolding": {
                "additionalProperties": false,
                "properties": {
                    "instrument_id": {
                        "anyOf": [
                            {
                                "maxLength": 40,
                                "minLength": 3,
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the app's instrument id (Vega View search), e.g. fund:922908363",
                        "title": "Instrument Id"
                    },
                    "ticker": {
                        "anyOf": [
                            {
                                "maxLength": 15,
                                "minLength": 1,
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Ticker"
                    },
                    "value": {
                        "description": "the position's value in dollars",
                        "minimum": 0.0,
                        "title": "Value",
                        "type": "number"
                    }
                },
                "required": [
                    "value"
                ],
                "title": "FeeHolding",
                "type": "object"
            },
            "FitJob": {
                "properties": {
                    "callback": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the callback URL, when it was sent, and each delivery attempt",
                        "title": "Callback"
                    },
                    "created_at": {
                        "format": "date-time",
                        "title": "Created At",
                        "type": "string"
                    },
                    "error": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/JobError"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    },
                    "fingerprint": {
                        "title": "Fingerprint",
                        "type": "string"
                    },
                    "finished_at": {
                        "anyOf": [
                            {
                                "format": "date-time",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Finished At"
                    },
                    "inputs": {
                        "additionalProperties": true,
                        "description": "the recorded set the fit runs on: {label, inputs_hash}",
                        "title": "Inputs",
                        "type": "object"
                    },
                    "job_id": {
                        "title": "Job Id",
                        "type": "string"
                    },
                    "kind": {
                        "title": "Kind",
                        "type": "string"
                    },
                    "model_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "once done: pass it as model_id to the risk and compare routes",
                        "title": "Model Id"
                    },
                    "name": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Name"
                    },
                    "reason": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "while queued: why it waits, in plain words",
                        "title": "Reason"
                    },
                    "retry_after_s": {
                        "anyOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "poll again after this many seconds (also the Retry-After header)",
                        "title": "Retry After S"
                    },
                    "source": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "showcase = a precomputed equity fit",
                        "title": "Source"
                    },
                    "started_at": {
                        "anyOf": [
                            {
                                "format": "date-time",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Started At"
                    },
                    "status": {
                        "enum": [
                            "queued",
                            "running",
                            "done",
                            "failed",
                            "refused"
                        ],
                        "title": "Status",
                        "type": "string"
                    }
                },
                "required": [
                    "job_id",
                    "kind",
                    "status",
                    "fingerprint",
                    "created_at",
                    "inputs"
                ],
                "title": "FitJob",
                "type": "object"
            },
            "FitList": {
                "properties": {
                    "fits": {
                        "items": {
                            "$ref": "#/components/schemas/FitJob"
                        },
                        "title": "Fits",
                        "type": "array"
                    },
                    "next_cursor": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Next Cursor"
                    }
                },
                "required": [
                    "fits"
                ],
                "title": "FitList",
                "type": "object"
            },
            "FitReport": {
                "properties": {
                    "job": {
                        "$ref": "#/components/schemas/FitJob"
                    },
                    "model": {
                        "$ref": "#/components/schemas/ModelLabel"
                    },
                    "report": {
                        "additionalProperties": true,
                        "description": "structure (factors, window, PSD), every sandbox book's risk under the model, and the backtest against the house: whole-window statistics with BY-YEAR bias rows, the paired bootstrap and the verdict",
                        "title": "Report",
                        "type": "object"
                    }
                },
                "required": [
                    "job",
                    "model",
                    "report"
                ],
                "title": "FitReport",
                "type": "object"
            },
            "FitRequest": {
                "additionalProperties": false,
                "examples": [
                    {
                        "spec": {
                            "curve": {
                                "ns_tau": 1.37,
                                "us": "lsc"
                            },
                            "kind": "fixed_income",
                            "name": "curve_lsc",
                            "schema_version": "1",
                            "version": "v1.7"
                        },
                        "validate": true
                    }
                ],
                "properties": {
                    "callback_url": {
                        "anyOf": [
                            {
                                "maxLength": 2048,
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "https URL called (POST, signed) when the fit finishes; see GET /webhooks/secret",
                        "title": "Callback Url"
                    },
                    "spec": {
                        "additionalProperties": true,
                        "description": "a spec document (see POST /specs/validate)",
                        "title": "Spec",
                        "type": "object"
                    },
                    "validate": {
                        "default": true,
                        "description": "also backtest the model against the house (bias by year, the verdict); about a minute instead of about 15 seconds",
                        "title": "Validate",
                        "type": "boolean"
                    }
                },
                "required": [
                    "spec"
                ],
                "title": "FitRequest",
                "type": "object"
            },
            "FundFee": {
                "properties": {
                    "as_of": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "As Of"
                    },
                    "cheapest_class": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the cheapest class of the same fund that a retail investor can buy, when cheaper (open, not insurance-only, not institutional-only or retirement-plan, a stated minimum of at most $10,000), with its minimum",
                        "title": "Cheapest Class"
                    },
                    "class_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Class Id"
                    },
                    "display_name": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the fund's clean name (SEC series / class names)",
                        "title": "Display Name"
                    },
                    "fee_12b1": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Fee 12B1"
                    },
                    "fee_waiver": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Fee Waiver"
                    },
                    "gross_expense_ratio": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Gross Expense Ratio"
                    },
                    "instrument_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Instrument Id"
                    },
                    "management_fee": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Management Fee"
                    },
                    "net_er_basis": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Net Er Basis"
                    },
                    "net_expense_ratio": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "a fraction (0.0004 = 0.04%): net of waivers",
                        "title": "Net Expense Ratio"
                    },
                    "net_expense_ratio_display": {
                        "description": "\"0.04% a year\", or \"\u2014\" when there is none",
                        "title": "Net Expense Ratio Display",
                        "type": "string"
                    },
                    "note": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Note"
                    },
                    "ref": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the SEC filing's accession number",
                        "title": "Ref"
                    },
                    "review_flag": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "set when the figure looked implausible and was kept for review",
                        "title": "Review Flag"
                    },
                    "series_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Series Id"
                    },
                    "source_label": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "SEC prospectus fee table | Third-party ETF data",
                        "title": "Source Label"
                    },
                    "status": {
                        "enum": [
                            "found",
                            "none"
                        ],
                        "title": "Status",
                        "type": "string"
                    },
                    "ticker": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Ticker"
                    },
                    "waiver_end_date": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Waiver End Date"
                    }
                },
                "required": [
                    "status",
                    "net_expense_ratio_display"
                ],
                "title": "FundFee",
                "type": "object"
            },
            "FundFees": {
                "properties": {
                    "fees": {
                        "items": {
                            "$ref": "#/components/schemas/FundFee"
                        },
                        "title": "Fees",
                        "type": "array"
                    },
                    "found": {
                        "title": "Found",
                        "type": "integer"
                    },
                    "n": {
                        "title": "N",
                        "type": "integer"
                    }
                },
                "required": [
                    "n",
                    "found",
                    "fees"
                ],
                "title": "FundFees",
                "type": "object"
            },
            "FundHoldings": {
                "properties": {
                    "holdings_as_of": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the date of the holdings report looked through",
                        "title": "Holdings As Of"
                    },
                    "holdings_source": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "where those holdings come from (e.g. the fund's N-PORT filing)",
                        "title": "Holdings Source"
                    },
                    "key": {
                        "description": "fund:<TICKER>",
                        "title": "Key",
                        "type": "string"
                    },
                    "looked_through": {
                        "description": "its holdings were looked through (else its published exposure vector stands for it)",
                        "title": "Looked Through",
                        "type": "boolean"
                    },
                    "modelled_pct": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "share of the fund's own value the model covers, percent",
                        "title": "Modelled Pct"
                    },
                    "name": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Name"
                    },
                    "weight": {
                        "description": "the fund's weight in the book",
                        "title": "Weight",
                        "type": "number"
                    }
                },
                "required": [
                    "key",
                    "weight",
                    "looked_through"
                ],
                "title": "FundHoldings",
                "type": "object"
            },
            "GroupShare": {
                "properties": {
                    "group": {
                        "title": "Group",
                        "type": "string"
                    },
                    "share_of_variance_pct": {
                        "title": "Share Of Variance Pct",
                        "type": "number"
                    }
                },
                "required": [
                    "group",
                    "share_of_variance_pct"
                ],
                "title": "GroupShare",
                "type": "object"
            },
            "HouseSpec": {
                "properties": {
                    "document": {
                        "additionalProperties": true,
                        "title": "Document",
                        "type": "object"
                    },
                    "inputs": {
                        "description": "the recorded set the sandbox fits on, e.g. rec_s21",
                        "title": "Inputs",
                        "type": "string"
                    },
                    "kind": {
                        "title": "Kind",
                        "type": "string"
                    }
                },
                "required": [
                    "kind",
                    "inputs",
                    "document"
                ],
                "title": "HouseSpec",
                "type": "object"
            },
            "JobError": {
                "properties": {
                    "code": {
                        "title": "Code",
                        "type": "string"
                    },
                    "message": {
                        "title": "Message",
                        "type": "string"
                    }
                },
                "required": [
                    "code",
                    "message"
                ],
                "title": "JobError",
                "type": "object"
            },
            "LookThrough": {
                "properties": {
                    "as_of": {
                        "format": "date",
                        "title": "As Of",
                        "type": "string"
                    },
                    "fund_name": {
                        "title": "Fund Name",
                        "type": "string"
                    },
                    "holdings_as_of": {
                        "description": "the date of the filing the lines come from",
                        "title": "Holdings As Of",
                        "type": "string"
                    },
                    "holdings_source": {
                        "title": "Holdings Source",
                        "type": "string"
                    },
                    "lines": {
                        "items": {
                            "$ref": "#/components/schemas/LookThroughLine"
                        },
                        "title": "Lines",
                        "type": "array"
                    },
                    "lines_total": {
                        "title": "Lines Total",
                        "type": "integer"
                    },
                    "modelled_pct": {
                        "title": "Modelled Pct",
                        "type": "number"
                    },
                    "offset": {
                        "title": "Offset",
                        "type": "integer"
                    },
                    "sleeves": {
                        "anyOf": [
                            {
                                "items": {
                                    "additionalProperties": true,
                                    "type": "object"
                                },
                                "type": "array"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Sleeves"
                    },
                    "snapshot": {
                        "title": "Snapshot",
                        "type": "integer"
                    },
                    "ticker": {
                        "title": "Ticker",
                        "type": "string"
                    },
                    "weights_sum_pct": {
                        "title": "Weights Sum Pct",
                        "type": "number"
                    }
                },
                "required": [
                    "ticker",
                    "fund_name",
                    "holdings_as_of",
                    "holdings_source",
                    "modelled_pct",
                    "as_of",
                    "snapshot",
                    "lines_total",
                    "offset",
                    "lines",
                    "weights_sum_pct"
                ],
                "title": "LookThrough",
                "type": "object"
            },
            "LookThroughLine": {
                "properties": {
                    "asset_class": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Asset Class"
                    },
                    "country": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Country"
                    },
                    "currency": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Currency"
                    },
                    "duration_contribution": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Duration Contribution"
                    },
                    "key": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Key"
                    },
                    "line_kind": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Line Kind"
                    },
                    "maturity_bucket": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Maturity Bucket"
                    },
                    "modelled": {
                        "anyOf": [
                            {
                                "type": "boolean"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Modelled"
                    },
                    "name": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Name"
                    },
                    "region": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Region"
                    },
                    "share_of_factor_risk_pct": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Share Of Factor Risk Pct"
                    },
                    "sleeve": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Sleeve"
                    },
                    "ticker": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Ticker"
                    },
                    "vega_industry": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Vega Industry"
                    },
                    "vega_sector": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Vega Sector"
                    },
                    "weight": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "fraction of the fund",
                        "title": "Weight"
                    }
                },
                "title": "LookThroughLine",
                "type": "object"
            },
            "LookThroughSummary": {
                "properties": {
                    "funds": {
                        "description": "fund lines in the book",
                        "title": "Funds",
                        "type": "integer"
                    },
                    "funds_looked_through": {
                        "title": "Funds Looked Through",
                        "type": "integer"
                    },
                    "holdings": {
                        "description": "one row per fund line: what was looked through, as of when",
                        "items": {
                            "$ref": "#/components/schemas/FundHoldings"
                        },
                        "title": "Holdings",
                        "type": "array"
                    },
                    "looked_through_pct": {
                        "description": "share of the book's gross weight held in funds that were looked through, percent",
                        "title": "Looked Through Pct",
                        "type": "number"
                    },
                    "modelled_pct": {
                        "description": "share of the book's gross weight the model covers, percent",
                        "title": "Modelled Pct",
                        "type": "number"
                    },
                    "securities": {
                        "anyOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "distinct securities held, directly or through funds",
                        "title": "Securities"
                    },
                    "top": {
                        "description": "the largest securities by weight in the book, through funds and directly",
                        "items": {
                            "additionalProperties": true,
                            "type": "object"
                        },
                        "title": "Top",
                        "type": "array"
                    }
                },
                "required": [
                    "funds",
                    "funds_looked_through",
                    "looked_through_pct",
                    "modelled_pct"
                ],
                "title": "LookThroughSummary",
                "type": "object"
            },
            "ModelCard": {
                "additionalProperties": true,
                "properties": {
                    "card_sha256": {
                        "description": "sha256 of the card's canonical JSON: the same model, the same card",
                        "title": "Card Sha256",
                        "type": "string"
                    },
                    "certification": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Certification"
                    },
                    "fingerprint": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Fingerprint"
                    },
                    "kind": {
                        "description": "house | fit",
                        "title": "Kind",
                        "type": "string"
                    },
                    "model": {
                        "$ref": "#/components/schemas/ModelLabel"
                    }
                },
                "required": [
                    "model",
                    "kind",
                    "card_sha256"
                ],
                "title": "ModelCard",
                "type": "object"
            },
            "ModelInfo": {
                "properties": {
                    "bound": {
                        "description": "bound to one of this tenant's books (else a house model it may request)",
                        "title": "Bound",
                        "type": "boolean"
                    },
                    "default": {
                        "default": false,
                        "description": "the model used when a call names none",
                        "title": "Default",
                        "type": "boolean"
                    },
                    "model": {
                        "$ref": "#/components/schemas/ModelLabel"
                    }
                },
                "required": [
                    "model",
                    "bound"
                ],
                "title": "ModelInfo",
                "type": "object"
            },
            "ModelLabel": {
                "examples": [
                    {
                        "certification": "certified",
                        "fingerprint": "30e3b67358f3",
                        "fingerprint_kind": "registry",
                        "house": true,
                        "id": "house:vega_global_v1_7",
                        "label": "House model Vega Global v1.7 (certified)",
                        "name": "Vega Global",
                        "run": "a1b2c3d4e5f60718",
                        "version": "1.7"
                    }
                ],
                "properties": {
                    "binding_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Binding Id"
                    },
                    "certification": {
                        "default": "certified",
                        "enum": [
                            "candidate",
                            "certified",
                            "retired",
                            "revoked"
                        ],
                        "title": "Certification",
                        "type": "string"
                    },
                    "fingerprint": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Fingerprint"
                    },
                    "fingerprint_kind": {
                        "default": "registry",
                        "enum": [
                            "registry",
                            "spec_v2",
                            "delivery",
                            "fi_spec_v4",
                            "ma_spec",
                            "composite_v1"
                        ],
                        "title": "Fingerprint Kind",
                        "type": "string"
                    },
                    "house": {
                        "default": true,
                        "title": "House",
                        "type": "boolean"
                    },
                    "id": {
                        "description": "house:<set code> | factory:<spec fp>@<panel fp> | foreign:<entity>:<delivery hash> | composite:<spec fp>",
                        "title": "Id",
                        "type": "string"
                    },
                    "label": {
                        "description": "the sentence shown next to every number made with this model",
                        "title": "Label",
                        "type": "string"
                    },
                    "name": {
                        "title": "Name",
                        "type": "string"
                    },
                    "run": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "inputs hash of the run that produced the numbers",
                        "title": "Run"
                    },
                    "stale_since": {
                        "anyOf": [
                            {
                                "format": "date",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "set when the nightly kept the last good run",
                        "title": "Stale Since"
                    },
                    "version": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Version"
                    },
                    "via": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "a bound model: the level it is bound at (firm, account, portfolio)",
                        "title": "Via"
                    }
                },
                "required": [
                    "id",
                    "name",
                    "label"
                ],
                "title": "ModelLabel",
                "type": "object"
            },
            "ModelList": {
                "properties": {
                    "models": {
                        "items": {
                            "$ref": "#/components/schemas/ModelInfo"
                        },
                        "title": "Models",
                        "type": "array"
                    },
                    "next_cursor": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "pass as cursor for the next page; null on the last page",
                        "title": "Next Cursor"
                    }
                },
                "required": [
                    "models"
                ],
                "title": "ModelList",
                "type": "object"
            },
            "OnDemandRequest": {
                "additionalProperties": false,
                "description": "Exactly one of `positions` (a positions v1 book, sent inline) or `book_id` (one of this key's books).",
                "examples": [
                    {
                        "as_of": "2026-10-13",
                        "model_id": "house:vega_global_v1_7",
                        "positions": {
                            "as_of": "2026-10-13",
                            "calendar": "nyse",
                            "lines": [
                                {
                                    "identifier": "037833100",
                                    "identifier_type": "cusip",
                                    "weight": 0.6
                                },
                                {
                                    "identifier": "594918104",
                                    "identifier_type": "cusip",
                                    "weight": 0.4
                                }
                            ],
                            "portfolio_key": "client:demo-1",
                            "provenance": {
                                "source": "client"
                            }
                        }
                    }
                ],
                "properties": {
                    "as_of": {
                        "anyOf": [
                            {
                                "format": "date",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "As Of"
                    },
                    "book_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Book Id"
                    },
                    "model_id": {
                        "title": "Model Id",
                        "type": "string"
                    },
                    "positions": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/Positions"
                            },
                            {
                                "type": "null"
                            }
                        ]
                    }
                },
                "required": [
                    "model_id"
                ],
                "title": "OnDemandRequest",
                "type": "object"
            },
            "PortfolioFees": {
                "properties": {
                    "fee_drag": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "ILLUSTRATIVE: value after 10 and 20 years with and without fees, at assumed_return",
                        "title": "Fee Drag"
                    },
                    "holdings": {
                        "description": "per holding: ticker, value, net ER (+ display), annual_cost_usd, source_label, as_of, cheapest_class",
                        "items": {
                            "additionalProperties": true,
                            "type": "object"
                        },
                        "title": "Holdings",
                        "type": "array"
                    },
                    "illustrative_note": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Illustrative Note"
                    },
                    "portfolio": {
                        "additionalProperties": true,
                        "description": "weighted_net_expense_ratio (+ display), total_annual_fees_usd, value_with_er_pct, holdings_without_er",
                        "title": "Portfolio",
                        "type": "object"
                    }
                },
                "required": [
                    "holdings",
                    "portfolio"
                ],
                "title": "PortfolioFees",
                "type": "object"
            },
            "PortfolioFeesBody": {
                "additionalProperties": false,
                "properties": {
                    "assumed_return": {
                        "default": 0.06,
                        "description": "the assumed annual return of the illustrative fee drag",
                        "maximum": 0.2,
                        "minimum": 0.0,
                        "title": "Assumed Return",
                        "type": "number"
                    },
                    "holdings": {
                        "items": {
                            "$ref": "#/components/schemas/FeeHolding"
                        },
                        "maxItems": 1000,
                        "minItems": 1,
                        "title": "Holdings",
                        "type": "array"
                    }
                },
                "required": [
                    "holdings"
                ],
                "title": "PortfolioFeesBody",
                "type": "object"
            },
            "PositionLine": {
                "additionalProperties": false,
                "properties": {
                    "account": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Account"
                    },
                    "asset_class": {
                        "anyOf": [
                            {
                                "enum": [
                                    "equity",
                                    "fi",
                                    "fund",
                                    "cash",
                                    "derivative",
                                    "commodity",
                                    "other"
                                ],
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Asset Class"
                    },
                    "company_id": {
                        "anyOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Company Id"
                    },
                    "currency": {
                        "default": "USD",
                        "title": "Currency",
                        "type": "string"
                    },
                    "identifier": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Identifier"
                    },
                    "identifier_type": {
                        "enum": [
                            "company_id",
                            "security_id",
                            "dm_issuer",
                            "bond_key",
                            "fund_key",
                            "cusip",
                            "isin",
                            "sedol",
                            "ticker",
                            "figi",
                            "internal",
                            "vendor",
                            "placeholder",
                            "none"
                        ],
                        "title": "Identifier Type",
                        "type": "string"
                    },
                    "market_value": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Market Value"
                    },
                    "name": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Name"
                    },
                    "quantity": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Quantity"
                    },
                    "weight": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Weight"
                    }
                },
                "required": [
                    "identifier",
                    "identifier_type"
                ],
                "title": "PositionLine",
                "type": "object"
            },
            "Positions": {
                "additionalProperties": false,
                "properties": {
                    "as_of": {
                        "format": "date",
                        "title": "As Of",
                        "type": "string"
                    },
                    "base_currency": {
                        "default": "USD",
                        "title": "Base Currency",
                        "type": "string"
                    },
                    "calendar": {
                        "default": "nyse",
                        "enum": [
                            "nyse",
                            "period_end"
                        ],
                        "title": "Calendar",
                        "type": "string"
                    },
                    "lines": {
                        "default": [],
                        "items": {
                            "$ref": "#/components/schemas/PositionLine"
                        },
                        "title": "Lines",
                        "type": "array"
                    },
                    "meta": {
                        "additionalProperties": true,
                        "default": {},
                        "title": "Meta",
                        "type": "object"
                    },
                    "portfolio_key": {
                        "title": "Portfolio Key",
                        "type": "string"
                    },
                    "provenance": {
                        "$ref": "#/components/schemas/Provenance"
                    },
                    "total_market_value": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Total Market Value"
                    }
                },
                "required": [
                    "portfolio_key",
                    "as_of",
                    "provenance"
                ],
                "title": "Positions",
                "type": "object"
            },
            "PositionsAccepted": {
                "properties": {
                    "as_of": {
                        "format": "date",
                        "title": "As Of",
                        "type": "string"
                    },
                    "book_id": {
                        "title": "Book Id",
                        "type": "string"
                    },
                    "content_hash": {
                        "description": "sha256 of the accepted positions (the audit log keeps this, never the lines)",
                        "title": "Content Hash",
                        "type": "string"
                    },
                    "lines": {
                        "title": "Lines",
                        "type": "integer"
                    },
                    "warnings": {
                        "description": "the positions v1 validator's warnings",
                        "items": {
                            "additionalProperties": true,
                            "type": "object"
                        },
                        "title": "Warnings",
                        "type": "array"
                    }
                },
                "required": [
                    "book_id",
                    "as_of",
                    "lines",
                    "content_hash"
                ],
                "title": "PositionsAccepted",
                "type": "object"
            },
            "PositionsOut": {
                "properties": {
                    "book_id": {
                        "title": "Book Id",
                        "type": "string"
                    },
                    "positions": {
                        "$ref": "#/components/schemas/Positions"
                    }
                },
                "required": [
                    "book_id",
                    "positions"
                ],
                "title": "PositionsOut",
                "type": "object"
            },
            "PositionsStatus": {
                "properties": {
                    "as_of": {
                        "format": "date",
                        "title": "As Of",
                        "type": "string"
                    },
                    "book_id": {
                        "title": "Book Id",
                        "type": "string"
                    },
                    "contract": {
                        "title": "Contract",
                        "type": "string"
                    },
                    "held": {
                        "title": "Held",
                        "type": "boolean"
                    },
                    "lines": {
                        "title": "Lines",
                        "type": "integer"
                    },
                    "mapped": {
                        "anyOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Mapped"
                    },
                    "modelled_share": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Modelled Share"
                    },
                    "not_mapped": {
                        "anyOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "cash and derivatives: stored, not mapped to a security",
                        "title": "Not Mapped"
                    },
                    "received_at": {
                        "title": "Received At",
                        "type": "string"
                    },
                    "risk_ready": {
                        "title": "Risk Ready",
                        "type": "boolean"
                    },
                    "sha256": {
                        "description": "sha256 of the stored positions: the same book sent by any route has the same hash",
                        "title": "Sha256",
                        "type": "string"
                    },
                    "unmapped": {
                        "anyOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Unmapped"
                    },
                    "verdict": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Verdict"
                    },
                    "versions": {
                        "description": "every stored date of this book",
                        "items": {
                            "type": "string"
                        },
                        "title": "Versions",
                        "type": "array"
                    },
                    "via": {
                        "description": "api | sftp | upload: the route the version came in by",
                        "title": "Via",
                        "type": "string"
                    },
                    "why_not_ready": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Why Not Ready"
                    }
                },
                "required": [
                    "book_id",
                    "as_of",
                    "received_at",
                    "sha256",
                    "via",
                    "contract",
                    "lines",
                    "held",
                    "risk_ready"
                ],
                "title": "PositionsStatus",
                "type": "object"
            },
            "PositionsStored": {
                "properties": {
                    "book_id": {
                        "title": "Book Id",
                        "type": "string"
                    },
                    "contract": {
                        "title": "Contract",
                        "type": "string"
                    },
                    "evaluation": {
                        "$ref": "#/components/schemas/BookEvaluation"
                    },
                    "fi": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the bond lines through the fixed-income checks and store (when switched on)",
                        "title": "Fi"
                    },
                    "stored": {
                        "title": "Stored",
                        "type": "boolean"
                    }
                },
                "required": [
                    "book_id",
                    "stored",
                    "contract",
                    "evaluation"
                ],
                "title": "PositionsStored",
                "type": "object"
            },
            "PositionsV2Body": {
                "description": "positions/2: any security type, quantities with optional prices, terms for derivatives.",
                "examples": [
                    {
                        "as_of": "2026-10-15",
                        "base_currency": "USD",
                        "contract": "positions/2",
                        "lines": [
                            {
                                "asset_class": "equity",
                                "identifier": "MSFT",
                                "identifier_type": "ticker",
                                "price": 512.4,
                                "quantity": 1200
                            },
                            {
                                "asset_class": "bond",
                                "identifier": "912810UM8",
                                "identifier_type": "cusip",
                                "price": 98.6,
                                "price_kind": "clean",
                                "quantity": 250000
                            },
                            {
                                "asset_class": "fund",
                                "identifier": "AGG",
                                "identifier_type": "ticker",
                                "price": 99.2,
                                "quantity": 900
                            },
                            {
                                "asset_class": "option",
                                "identifier": "SPY   261218P00600000",
                                "identifier_type": "occ",
                                "price": 12.5,
                                "price_kind": "premium",
                                "quantity": -10,
                                "terms": {
                                    "multiplier": 100
                                }
                            }
                        ],
                        "price_source": "client"
                    }
                ],
                "properties": {
                    "as_of": {
                        "format": "date",
                        "title": "As Of",
                        "type": "string"
                    },
                    "base_currency": {
                        "default": "USD",
                        "title": "Base Currency",
                        "type": "string"
                    },
                    "contract": {
                        "const": "positions/2",
                        "default": "positions/2",
                        "title": "Contract",
                        "type": "string"
                    },
                    "lines": {
                        "description": "positions/2 lines: identifier_type, identifier, asset_class, quantity, price?, price_kind?, currency, terms?, ...",
                        "items": {
                            "additionalProperties": true,
                            "type": "object"
                        },
                        "title": "Lines",
                        "type": "array"
                    },
                    "price_source": {
                        "default": "client",
                        "enum": [
                            "fixed_weights",
                            "vendor",
                            "client",
                            "vega"
                        ],
                        "title": "Price Source",
                        "type": "string"
                    },
                    "refuse_share": {
                        "default": 0.05,
                        "title": "Refuse Share",
                        "type": "number"
                    }
                },
                "required": [
                    "as_of",
                    "lines"
                ],
                "title": "PositionsV2Body",
                "type": "object"
            },
            "Proposal": {
                "properties": {
                    "book_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Book Id"
                    },
                    "client_name": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Client Name"
                    },
                    "created_at": {
                        "format": "date-time",
                        "title": "Created At",
                        "type": "string"
                    },
                    "decided_at": {
                        "anyOf": [
                            {
                                "format": "date-time",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Decided At"
                    },
                    "decided_by": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Decided By"
                    },
                    "human_only": {
                        "description": "who decides: a human approver, never the API",
                        "title": "Human Only",
                        "type": "string"
                    },
                    "kind": {
                        "title": "Kind",
                        "type": "string"
                    },
                    "model_id": {
                        "title": "Model Id",
                        "type": "string"
                    },
                    "note": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Note"
                    },
                    "proposal_id": {
                        "title": "Proposal Id",
                        "type": "string"
                    },
                    "proposed_by_key": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Proposed By Key"
                    },
                    "reason": {
                        "title": "Reason",
                        "type": "string"
                    },
                    "status": {
                        "enum": [
                            "pending",
                            "approved",
                            "declined",
                            "withdrawn"
                        ],
                        "title": "Status",
                        "type": "string"
                    },
                    "via": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Via"
                    }
                },
                "required": [
                    "proposal_id",
                    "kind",
                    "model_id",
                    "reason",
                    "status",
                    "created_at",
                    "human_only"
                ],
                "title": "Proposal",
                "type": "object"
            },
            "ProposalList": {
                "properties": {
                    "next_cursor": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Next Cursor"
                    },
                    "proposals": {
                        "items": {
                            "$ref": "#/components/schemas/Proposal"
                        },
                        "title": "Proposals",
                        "type": "array"
                    }
                },
                "required": [
                    "proposals"
                ],
                "title": "ProposalList",
                "type": "object"
            },
            "ProposalRequest": {
                "additionalProperties": false,
                "examples": [
                    {
                        "book_id": "demo:vega-60-40",
                        "kind": "bind_model",
                        "model_id": "factory:64eaa8389c55b8d2@rec_s21:cac08f1ec07c7ab2",
                        "reason": "level-slope-curvature reads our duration risk better"
                    }
                ],
                "properties": {
                    "book_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Book Id"
                    },
                    "kind": {
                        "enum": [
                            "bind_model",
                            "certify_model"
                        ],
                        "title": "Kind",
                        "type": "string"
                    },
                    "model_id": {
                        "title": "Model Id",
                        "type": "string"
                    },
                    "reason": {
                        "maxLength": 500,
                        "minLength": 1,
                        "title": "Reason",
                        "type": "string"
                    }
                },
                "required": [
                    "kind",
                    "model_id",
                    "reason"
                ],
                "title": "ProposalRequest",
                "type": "object"
            },
            "Provenance": {
                "additionalProperties": false,
                "description": "Where an input came from and which delivery of it this is.\nsource    the adapter's source tag ('sec_nport_f3', 'issuer_holdings', 'engine:recompute._inputs', 'vendor:<name>', ...)\nvintage   which delivery / build: a content hash, a run id, a file date; it joins a run's inputs hash (roadmap I.2)\nlicence_holder   the entity whose licence covers third-party data (None for our own data); roadmap H.5 / I.4",
                "properties": {
                    "licence_holder": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Licence Holder"
                    },
                    "received_at": {
                        "anyOf": [
                            {
                                "format": "date-time",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Received At"
                    },
                    "source": {
                        "title": "Source",
                        "type": "string"
                    },
                    "vintage": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Vintage"
                    }
                },
                "required": [
                    "source"
                ],
                "title": "Provenance",
                "type": "object"
            },
            "Query_": {
                "additionalProperties": false,
                "properties": {
                    "columns": {
                        "anyOf": [
                            {
                                "items": {
                                    "type": "string"
                                },
                                "maxItems": 60,
                                "type": "array"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Columns"
                    },
                    "cursor": {
                        "anyOf": [
                            {
                                "maxLength": 40,
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Cursor"
                    },
                    "filters": {
                        "items": {
                            "additionalProperties": true,
                            "type": "object"
                        },
                        "maxItems": 40,
                        "title": "Filters",
                        "type": "array"
                    },
                    "group": {
                        "anyOf": [
                            {
                                "pattern": "^(fund|class)$",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "funds: \"fund\" (the default: one row per fund, classes nested) or \"class\" (flat)",
                        "title": "Group"
                    },
                    "include_frozen": {
                        "anyOf": [
                            {
                                "type": "boolean"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "funds: frozen funds (trading_status_code \"frozen\"); default shown, sorted last",
                        "title": "Include Frozen"
                    },
                    "include_incomplete": {
                        "default": false,
                        "description": "funds: also the records the quality gates mark incomplete (complete: false)",
                        "title": "Include Incomplete",
                        "type": "boolean"
                    },
                    "include_untraded": {
                        "default": false,
                        "title": "Include Untraded",
                        "type": "boolean"
                    },
                    "limit": {
                        "default": 50,
                        "maximum": 500.0,
                        "minimum": 1.0,
                        "title": "Limit",
                        "type": "integer"
                    },
                    "sort": {
                        "items": {
                            "additionalProperties": true,
                            "type": "object"
                        },
                        "maxItems": 3,
                        "title": "Sort",
                        "type": "array"
                    },
                    "spark": {
                        "anyOf": [
                            {
                                "pattern": "^1y$",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "\"1y\": 52 weekly closes per row, indexed to 1.0",
                        "title": "Spark"
                    },
                    "stats": {
                        "anyOf": [
                            {
                                "items": {
                                    "type": "string"
                                },
                                "maxItems": 3,
                                "type": "array"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "[\"sector_median\"]: per peer group, median / p25 / p75 over the whole universe",
                        "title": "Stats"
                    },
                    "universe": {
                        "default": "stocks",
                        "pattern": "^(stocks|funds)$",
                        "title": "Universe",
                        "type": "string"
                    },
                    "view": {
                        "default": "quick",
                        "pattern": "^(quick|advanced)$",
                        "title": "View",
                        "type": "string"
                    }
                },
                "title": "Query_",
                "type": "object"
            },
            "RiskCoverage": {
                "properties": {
                    "counts": {
                        "additionalProperties": true,
                        "description": "{modelled, queued, none}, and under_review / ended when any ticker is: the values sum to n",
                        "title": "Counts",
                        "type": "object"
                    },
                    "coverage": {
                        "items": {
                            "$ref": "#/components/schemas/CoverageRecord"
                        },
                        "title": "Coverage",
                        "type": "array"
                    },
                    "n": {
                        "title": "N",
                        "type": "integer"
                    }
                },
                "required": [
                    "n",
                    "counts",
                    "coverage"
                ],
                "title": "RiskCoverage",
                "type": "object"
            },
            "RiskResult": {
                "examples": [
                    {
                        "as_of": "2026-10-13",
                        "basis": "stored",
                        "beta": 1.02,
                        "book_id": "bk_1",
                        "factor_vol_pct": 12.9,
                        "lines": 84,
                        "model": {
                            "certification": "certified",
                            "fingerprint": "30e3b67358f3",
                            "fingerprint_kind": "registry",
                            "house": true,
                            "id": "house:vega_global_v1_7",
                            "label": "House model Vega Global v1.7 (certified)",
                            "name": "Vega Global",
                            "run": "a1b2c3d4e5f60718",
                            "version": "1.7"
                        },
                        "modelled_pct": 97.5,
                        "specific_vol_pct": 5.96,
                        "total_vol_pct": 14.21,
                        "var_95_1d_pct": 1.47
                    }
                ],
                "properties": {
                    "as_of": {
                        "format": "date",
                        "title": "As Of",
                        "type": "string"
                    },
                    "basis": {
                        "description": "stored = the nightly result; on_demand = computed for this request",
                        "enum": [
                            "stored",
                            "on_demand"
                        ],
                        "title": "Basis",
                        "type": "string"
                    },
                    "beta": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Beta"
                    },
                    "book_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "null for an on-demand call on inline positions",
                        "title": "Book Id"
                    },
                    "book_value_source": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Book Value Source"
                    },
                    "book_value_usd": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the book value the dollars are on: ?book_value, else the priced book's market value",
                        "title": "Book Value Usd"
                    },
                    "bound_model": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "your model is bound but not served on this answer: which, and why (the house is shown)",
                        "title": "Bound Model"
                    },
                    "comparison": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "on your bound model: the house's figures for the same book, and the difference",
                        "title": "Comparison"
                    },
                    "driver_groups": {
                        "anyOf": [
                            {
                                "items": {
                                    "$ref": "#/components/schemas/DriverGroup"
                                },
                                "type": "array"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "?drivers=all: per group, the summed share and the net tilt",
                        "title": "Driver Groups"
                    },
                    "drivers": {
                        "anyOf": [
                            {
                                "items": {
                                    "$ref": "#/components/schemas/DriverRow"
                                },
                                "type": "array"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "?drivers=all: EVERY factor with a nonzero exposure, largest share first (null otherwise)",
                        "title": "Drivers"
                    },
                    "factor_vol_pct": {
                        "title": "Factor Vol Pct",
                        "type": "number"
                    },
                    "groups": {
                        "description": "factor variance by group, percent of the total",
                        "items": {
                            "$ref": "#/components/schemas/GroupShare"
                        },
                        "title": "Groups",
                        "type": "array"
                    },
                    "lines": {
                        "title": "Lines",
                        "type": "integer"
                    },
                    "look_through": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/LookThroughSummary"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "live books: what was looked through, and as of when"
                    },
                    "method": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "published (the snapshot's own figures) | composed (a mix of funds) | fit | positions (your own lines: stocks, bonds and funds looked through)",
                        "title": "Method"
                    },
                    "model": {
                        "$ref": "#/components/schemas/ModelLabel"
                    },
                    "model_as_of": {
                        "anyOf": [
                            {
                                "format": "date",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "live books: the date of the model's data used (the latest recorded set on or before as_of)",
                        "title": "Model As Of"
                    },
                    "modelled_pct": {
                        "description": "share of book value the model covers, percent",
                        "title": "Modelled Pct",
                        "type": "number"
                    },
                    "positions_as_of": {
                        "anyOf": [
                            {
                                "format": "date",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "live books: the date of the positions used (the latest on or before as_of)",
                        "title": "Positions As Of"
                    },
                    "specific_missing_share": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "share of the book with no specific risk in the model (e.g. a bond's issuer risk), a fraction",
                        "title": "Specific Missing Share"
                    },
                    "specific_share_pct": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "specific variance as a share of the total, percent",
                        "title": "Specific Share Pct"
                    },
                    "specific_vol_pct": {
                        "title": "Specific Vol Pct",
                        "type": "number"
                    },
                    "top_drivers": {
                        "description": "the largest factor contributions, by absolute share",
                        "items": {
                            "$ref": "#/components/schemas/Driver"
                        },
                        "title": "Top Drivers",
                        "type": "array"
                    },
                    "total_vol_pct": {
                        "description": "annualized total volatility, percent",
                        "title": "Total Vol Pct",
                        "type": "number"
                    },
                    "var": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "?drivers=all: 1-day 95% VaR, normal and historical (method, window, %, $ with a book value)",
                        "title": "Var"
                    },
                    "var_95_1d_pct": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "one-day 95% VaR, percent of book value: the published figure for a fund; null for a mix of funds",
                        "title": "Var 95 1D Pct"
                    },
                    "vendor_coverage_pct": {
                        "anyOf": [
                            {
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "on a vendor model: share of the book's gross weight the vendor's model carries, percent (the rest is not in the numbers)",
                        "title": "Vendor Coverage Pct"
                    }
                },
                "required": [
                    "as_of",
                    "model",
                    "basis",
                    "total_vol_pct",
                    "factor_vol_pct",
                    "specific_vol_pct",
                    "lines",
                    "modelled_pct"
                ],
                "title": "RiskResult",
                "type": "object"
            },
            "ScenarioOutcome": {
                "properties": {
                    "name": {
                        "title": "Name",
                        "type": "string"
                    },
                    "pnl_pct": {
                        "description": "book P&L under the scenario, percent of book value",
                        "title": "Pnl Pct",
                        "type": "number"
                    },
                    "scenario_id": {
                        "title": "Scenario Id",
                        "type": "string"
                    }
                },
                "required": [
                    "scenario_id",
                    "name",
                    "pnl_pct"
                ],
                "title": "ScenarioOutcome",
                "type": "object"
            },
            "ScenariosResult": {
                "properties": {
                    "as_of": {
                        "format": "date",
                        "title": "As Of",
                        "type": "string"
                    },
                    "basis": {
                        "description": "stored = the nightly result; on_demand = computed for this request",
                        "enum": [
                            "stored",
                            "on_demand"
                        ],
                        "title": "Basis",
                        "type": "string"
                    },
                    "book_id": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "null for an on-demand call on inline positions",
                        "title": "Book Id"
                    },
                    "model": {
                        "$ref": "#/components/schemas/ModelLabel"
                    },
                    "model_as_of": {
                        "anyOf": [
                            {
                                "format": "date",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "live books: the date of the model's data used (the latest recorded set on or before as_of)",
                        "title": "Model As Of"
                    },
                    "positions_as_of": {
                        "anyOf": [
                            {
                                "format": "date",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "live books: the date of the positions used (the latest on or before as_of)",
                        "title": "Positions As Of"
                    },
                    "scenarios": {
                        "description": "house-factor scenarios only (roadmap I.3)",
                        "items": {
                            "$ref": "#/components/schemas/ScenarioOutcome"
                        },
                        "title": "Scenarios",
                        "type": "array"
                    }
                },
                "required": [
                    "as_of",
                    "model",
                    "basis",
                    "scenarios"
                ],
                "title": "ScenariosResult",
                "type": "object"
            },
            "SeriesStored": {
                "properties": {
                    "data_hash": {
                        "description": "sha256 of the series: name it in a spec's custom[].data_hash",
                        "title": "Data Hash",
                        "type": "string"
                    },
                    "filename": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Filename"
                    },
                    "first": {
                        "title": "First",
                        "type": "string"
                    },
                    "kind": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Kind"
                    },
                    "last": {
                        "title": "Last",
                        "type": "string"
                    },
                    "rows": {
                        "title": "Rows",
                        "type": "integer"
                    },
                    "rules": {
                        "anyOf": [
                            {
                                "items": {
                                    "type": "string"
                                },
                                "type": "array"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "the rules that say which bonds load on a series",
                        "title": "Rules"
                    },
                    "size": {
                        "anyOf": [
                            {
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Size"
                    },
                    "stored": {
                        "anyOf": [
                            {
                                "type": "boolean"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "false when these exact bytes were stored before",
                        "title": "Stored"
                    },
                    "stored_at": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Stored At"
                    },
                    "units": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Units"
                    },
                    "units_given": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Units Given"
                    },
                    "use_in_spec": {
                        "anyOf": [
                            {
                                "additionalProperties": true,
                                "type": "object"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Use In Spec"
                    },
                    "warnings": {
                        "items": {},
                        "title": "Warnings",
                        "type": "array"
                    }
                },
                "required": [
                    "data_hash",
                    "rows",
                    "first",
                    "last"
                ],
                "title": "SeriesStored",
                "type": "object"
            },
            "SpecBody": {
                "additionalProperties": false,
                "examples": [
                    {
                        "document": {
                            "curve": {
                                "ns_tau": 1.37,
                                "us": "lsc"
                            },
                            "kind": "fixed_income",
                            "name": "curve_lsc",
                            "schema_version": "1",
                            "version": "v1.7"
                        }
                    }
                ],
                "properties": {
                    "document": {
                        "additionalProperties": true,
                        "description": "a spec document: kind fixed_income (fitted in the sandbox), equity (precomputed showcase fits only), multi_asset (not on this release)",
                        "title": "Document",
                        "type": "object"
                    }
                },
                "required": [
                    "document"
                ],
                "title": "SpecBody",
                "type": "object"
            },
            "SpecValidated": {
                "properties": {
                    "fingerprint": {
                        "description": "the recipe's name: the same document always has the same fingerprint",
                        "title": "Fingerprint",
                        "type": "string"
                    },
                    "fingerprint_version": {
                        "title": "Fingerprint Version",
                        "type": "integer"
                    },
                    "kind": {
                        "title": "Kind",
                        "type": "string"
                    },
                    "name": {
                        "anyOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "title": "Name"
                    },
                    "spec": {
                        "additionalProperties": true,
                        "description": "the document as validated, every default filled in",
                        "title": "Spec",
                        "type": "object"
                    }
                },
                "required": [
                    "kind",
                    "fingerprint",
                    "fingerprint_version",
                    "spec"
                ],
                "title": "SpecValidated",
                "type": "object"
            },
            "WebhookSecret": {
                "properties": {
                    "algorithm": {
                        "title": "Algorithm",
                        "type": "string"
                    },
                    "format": {
                        "title": "Format",
                        "type": "string"
                    },
                    "header": {
                        "title": "Header",
                        "type": "string"
                    },
                    "secret": {
                        "description": "HMAC-SHA256 key for X-Vega-Signature; keep it like a password",
                        "title": "Secret",
                        "type": "string"
                    }
                },
                "required": [
                    "secret",
                    "algorithm",
                    "header",
                    "format"
                ],
                "title": "WebhookSecret",
                "type": "object"
            },
            "RetireBody": {
                "properties": {
                    "note": {
                        "type": "string",
                        "maxLength": 2000,
                        "minLength": 1,
                        "title": "Note"
                    }
                },
                "additionalProperties": false,
                "type": "object",
                "required": [
                    "note"
                ],
                "title": "RetireBody"
            },
            "ShelfBody": {
                "properties": {
                    "name": {
                        "type": "string",
                        "maxLength": 120,
                        "minLength": 1,
                        "title": "Name"
                    },
                    "families": {
                        "items": {
                            "type": "string",
                            "pattern": "^[a-z0-9_]{1,40}$"
                        },
                        "type": "array",
                        "maxItems": 3,
                        "minItems": 1,
                        "title": "Families"
                    }
                },
                "additionalProperties": false,
                "type": "object",
                "required": [
                    "name",
                    "families"
                ],
                "title": "ShelfBody"
            },
            "SubmitBody": {
                "properties": {
                    "note": {
                        "type": "string",
                        "maxLength": 2000,
                        "minLength": 1,
                        "title": "Note"
                    }
                },
                "additionalProperties": false,
                "type": "object",
                "required": [
                    "note"
                ],
                "title": "SubmitBody"
            },
            "OutcomeAccount": {
                "additionalProperties": false,
                "properties": {
                    "type": {
                        "enum": [
                            "taxable",
                            "tax_deferred"
                        ],
                        "title": "Type",
                        "type": "string"
                    }
                },
                "required": [
                    "type"
                ],
                "title": "Account",
                "type": "object"
            },
            "OutcomeClient": {
                "additionalProperties": false,
                "description": "A label for people. Never sent to the engine, so it never moves the seed.",
                "properties": {
                    "label": {
                        "anyOf": [
                            {
                                "maxLength": 80,
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Label"
                    },
                    "summary": {
                        "anyOf": [
                            {
                                "maxLength": 400,
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Summary"
                    }
                },
                "title": "Client",
                "type": "object"
            },
            "OutcomeContribution": {
                "additionalProperties": false,
                "description": "Savings added each year from start_year to end_year, today's dollars.",
                "properties": {
                    "start_year": {
                        "maximum": 60,
                        "minimum": 1,
                        "title": "Start Year",
                        "type": "integer"
                    },
                    "end_year": {
                        "maximum": 60,
                        "minimum": 1,
                        "title": "End Year",
                        "type": "integer"
                    },
                    "amount_per_year": {
                        "maximum": 10000000.0,
                        "minimum": 0,
                        "title": "Amount Per Year",
                        "type": "number"
                    }
                },
                "required": [
                    "start_year",
                    "end_year",
                    "amount_per_year"
                ],
                "title": "Contribution",
                "type": "object"
            },
            "OutcomeForLife": {
                "additionalProperties": false,
                "description": "Plan an income for life: the planning age comes from the ages (or fixed_age, the age to plan to).",
                "properties": {
                    "age": {
                        "maximum": 100,
                        "minimum": 18,
                        "title": "Age",
                        "type": "integer"
                    },
                    "sex": {
                        "anyOf": [
                            {
                                "enum": [
                                    "male",
                                    "female"
                                ],
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Sex"
                    },
                    "spouse": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/OutcomeSpouse"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null
                    },
                    "fixed_age": {
                        "anyOf": [
                            {
                                "maximum": 110,
                                "minimum": 50,
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Fixed Age"
                    }
                },
                "required": [
                    "age"
                ],
                "title": "ForLife",
                "type": "object"
            },
            "OutcomeGoal": {
                "additionalProperties": false,
                "description": "One goal of several: needs are met first, then wants.",
                "properties": {
                    "kind": {
                        "enum": [
                            "target_wealth",
                            "income"
                        ],
                        "title": "Kind",
                        "type": "string"
                    },
                    "required_probability": {
                        "anyOf": [
                            {
                                "maximum": 0.99,
                                "minimum": 0.5,
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Required Probability"
                    },
                    "amount": {
                        "anyOf": [
                            {
                                "exclusiveMinimum": 0,
                                "maximum": 100000000.0,
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Amount"
                    },
                    "horizon_years": {
                        "anyOf": [
                            {
                                "maximum": 60,
                                "minimum": 1,
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Horizon Years"
                    },
                    "amount_per_year": {
                        "anyOf": [
                            {
                                "exclusiveMinimum": 0,
                                "maximum": 100000000.0,
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Amount Per Year"
                    },
                    "start_year": {
                        "anyOf": [
                            {
                                "maximum": 60,
                                "minimum": 1,
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Start Year"
                    },
                    "years": {
                        "anyOf": [
                            {
                                "maximum": 60,
                                "minimum": 1,
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Years"
                    },
                    "for_life": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/OutcomeForLife"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null
                    },
                    "name": {
                        "maxLength": 80,
                        "minLength": 1,
                        "title": "Name",
                        "type": "string"
                    },
                    "priority": {
                        "enum": [
                            "needs",
                            "wants"
                        ],
                        "title": "Priority",
                        "type": "string"
                    }
                },
                "required": [
                    "kind",
                    "name",
                    "priority"
                ],
                "title": "Goal",
                "type": "object"
            },
            "OutcomeGuaranteedIncome": {
                "additionalProperties": false,
                "description": "Income paid from outside the portfolio, such as Social Security. cola: \"cpi\" (the default) or a fixed yearly rate.",
                "properties": {
                    "label": {
                        "anyOf": [
                            {
                                "maxLength": 80,
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Label"
                    },
                    "start_age": {
                        "maximum": 100,
                        "minimum": 18,
                        "title": "Start Age",
                        "type": "integer"
                    },
                    "amount_per_year": {
                        "maximum": 10000000.0,
                        "minimum": 0,
                        "title": "Amount Per Year",
                        "type": "number"
                    },
                    "cola": {
                        "anyOf": [
                            {
                                "const": "cpi",
                                "type": "string"
                            },
                            {
                                "maximum": 0.1,
                                "minimum": -0.05,
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Cola"
                    }
                },
                "required": [
                    "start_age",
                    "amount_per_year"
                ],
                "title": "GuaranteedIncome",
                "type": "object"
            },
            "Outcome": {
                "additionalProperties": false,
                "description": "The goal: one (kind and its fields) or several (goals), never both. It is checked and passed to the engine unchanged.",
                "properties": {
                    "kind": {
                        "anyOf": [
                            {
                                "enum": [
                                    "target_wealth",
                                    "income"
                                ],
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Kind"
                    },
                    "required_probability": {
                        "anyOf": [
                            {
                                "maximum": 0.99,
                                "minimum": 0.5,
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Required Probability"
                    },
                    "amount": {
                        "anyOf": [
                            {
                                "exclusiveMinimum": 0,
                                "maximum": 100000000.0,
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Amount"
                    },
                    "horizon_years": {
                        "anyOf": [
                            {
                                "maximum": 60,
                                "minimum": 1,
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Horizon Years"
                    },
                    "amount_per_year": {
                        "anyOf": [
                            {
                                "exclusiveMinimum": 0,
                                "maximum": 100000000.0,
                                "type": "number"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Amount Per Year"
                    },
                    "start_year": {
                        "anyOf": [
                            {
                                "maximum": 60,
                                "minimum": 1,
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Start Year"
                    },
                    "years": {
                        "anyOf": [
                            {
                                "maximum": 60,
                                "minimum": 1,
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Years"
                    },
                    "for_life": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/OutcomeForLife"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null
                    },
                    "starting_assets": {
                        "exclusiveMinimum": 0,
                        "maximum": 1000000000.0,
                        "title": "Starting Assets",
                        "type": "number"
                    },
                    "account": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/OutcomeAccount"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null
                    },
                    "contributions": {
                        "anyOf": [
                            {
                                "items": {
                                    "$ref": "#/components/schemas/OutcomeContribution"
                                },
                                "maxItems": 10,
                                "type": "array"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Contributions"
                    },
                    "guaranteed_income": {
                        "anyOf": [
                            {
                                "items": {
                                    "$ref": "#/components/schemas/OutcomeGuaranteedIncome"
                                },
                                "maxItems": 4,
                                "type": "array"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Guaranteed Income"
                    },
                    "goals": {
                        "anyOf": [
                            {
                                "items": {
                                    "$ref": "#/components/schemas/OutcomeGoal"
                                },
                                "maxItems": 8,
                                "minItems": 1,
                                "type": "array"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Goals"
                    }
                },
                "required": [
                    "starting_assets"
                ],
                "title": "Outcome",
                "type": "object"
            },
            "OutcomeOutput": {
                "additionalProperties": false,
                "description": "Accepted for compatibility; a v1 run is always one full run, so these change nothing.",
                "properties": {
                    "quick": {
                        "anyOf": [
                            {
                                "type": "boolean"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Quick"
                    },
                    "quick_then_full": {
                        "anyOf": [
                            {
                                "type": "boolean"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Quick Then Full"
                    }
                },
                "title": "Output",
                "type": "object"
            },
            "OutcomeSpouse": {
                "additionalProperties": false,
                "properties": {
                    "age": {
                        "maximum": 100,
                        "minimum": 18,
                        "title": "Age",
                        "type": "integer"
                    },
                    "sex": {
                        "anyOf": [
                            {
                                "enum": [
                                    "male",
                                    "female"
                                ],
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Sex"
                    }
                },
                "required": [
                    "age"
                ],
                "title": "Spouse",
                "type": "object"
            },
            "OutcomeUniverse": {
                "additionalProperties": false,
                "description": "The funds the engine may use, in any order (the order doesn't change the result). Each must be a line of your shelf: the shelf keys it on its series and class, and the ticker is how the engine names it.",
                "properties": {
                    "funds": {
                        "items": {
                            "pattern": "^[A-Z0-9.\\-]{1,12}$",
                            "type": "string"
                        },
                        "maxItems": 300,
                        "minItems": 1,
                        "title": "Funds",
                        "type": "array"
                    }
                },
                "required": [
                    "funds"
                ],
                "title": "Universe",
                "type": "object"
            },
            "OptimizeBody": {
                "additionalProperties": false,
                "properties": {
                    "shelf_id": {
                        "pattern": "^shf_[0-9a-f]{16}$",
                        "title": "Shelf Id",
                        "type": "string"
                    },
                    "shelf_version": {
                        "anyOf": [
                            {
                                "maximum": 1000000,
                                "minimum": 1,
                                "type": "integer"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Shelf Version"
                    },
                    "universe": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/OutcomeUniverse"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null
                    },
                    "outcome": {
                        "$ref": "#/components/schemas/Outcome"
                    },
                    "output": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/OutcomeOutput"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null
                    },
                    "client": {
                        "anyOf": [
                            {
                                "$ref": "#/components/schemas/OutcomeClient"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null
                    },
                    "model_id": {
                        "anyOf": [
                            {
                                "pattern": "^mp_[0-9a-f]{16}$",
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Model Id"
                    },
                    "role": {
                        "anyOf": [
                            {
                                "enum": [
                                    "lowest_risk_meeting_goal",
                                    "max_probability",
                                    "cheapest_fees_meeting_goal"
                                ],
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Role"
                    },
                    "risk_model_spec_id": {
                        "anyOf": [
                            {
                                "maxLength": 64,
                                "type": "string"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "default": null,
                        "title": "Risk Model Spec Id"
                    }
                },
                "required": [
                    "shelf_id",
                    "outcome"
                ],
                "title": "OptimizeBody",
                "type": "object"
            },
            "SavedRequestBody": {
                "additionalProperties": false,
                "properties": {
                    "name": {
                        "maxLength": 120,
                        "minLength": 1,
                        "title": "Name",
                        "type": "string"
                    },
                    "request": {
                        "$ref": "#/components/schemas/OptimizeBody"
                    }
                },
                "required": [
                    "name",
                    "request"
                ],
                "title": "SavedRequestBody",
                "type": "object"
            }
        },
        "securitySchemes": {
            "ApiKeyBearer": {
                "description": "Authorization: Bearer vk_live_<prefix>_<secret> (vk_test_ for the sandbox)",
                "scheme": "bearer",
                "type": "http"
            },
            "ApiKeyHeader": {
                "description": "X-API-Key: vk_live_<prefix>_<secret> (vk_test_ for the sandbox)",
                "in": "header",
                "name": "X-API-Key",
                "type": "apiKey"
            }
        }
    },
    "info": {
        "description": "Risk, exposures, attribution and scenarios for your books, computed with the model bound to each book.\n\n**Authentication**: an API key in `Authorization: Bearer vk_live_...` or `X-API-Key`. Keys are issued per tenant by\nVega on request (every key is approved by a person; there is no public key); `vk_test_...` keys reach the sandbox only\n(demo books on a recorded snapshot, no live data). Each key carries scopes: `models:read`, `books:read`, `positions:write`, `risk:read`, `exposures:read`, `attribution:read`, `scenarios:read`, `batch:write`, `specs:write`, `fits:write`, `fits:read`, `funds:read`, `economy:read`, `byo:write`, `proposals:write`, `models:deliver`, `risk:request`, `companies:read`. Browser sessions and user tokens are\nnot accepted.\n\n**Isolation**: a key reaches only its own tenant's books, models and batches; any other id answers 404.\n\n**Errors**: `{\"error\": {\"code\", \"message\", \"detail\"}}`; `detail.request_id` matches the `X-Request-Id` header.\n\n**Writes**: send an `Idempotency-Key` header; a repeat with the same key and request returns the first answer.\n**Lists**: `limit` and `cursor`; follow `next_cursor`. **Versions**: `X-Vega-API-Version`; additive changes only within /v1.\n\n**Units**: `*_pct` are percents; volatilities annualized. Every result carries `model` (which model and run made it).\nEvery JSON object response also carries `set`, the platform's served-model label.",
        "title": "Vega client API",
        "version": "1.0.0"
    },
    "openapi": "3.1.0",
    "paths": {
        "/attribution": {
            "post": {
                "operationId": "post_attribution_attribution_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/OnDemandRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AttributionResult"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "attribution:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "attribution:read"
                        ]
                    }
                ],
                "summary": "Attribution on demand (inline positions or a book)",
                "tags": [
                    "attribution"
                ]
            }
        },
        "/batches": {
            "get": {
                "operationId": "list_batches_batches_get",
                "parameters": [
                    {
                        "in": "query",
                        "name": "limit",
                        "required": false,
                        "schema": {
                            "default": 100,
                            "maximum": 500,
                            "minimum": 1,
                            "title": "Limit",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "cursor",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 200,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Cursor"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BatchList"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "batch:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "batch:write"
                        ]
                    }
                ],
                "summary": "This key's batches, newest first, with their progress",
                "tags": [
                    "batches"
                ]
            },
            "post": {
                "operationId": "create_batch_batches_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/BatchRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Batch"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "batch:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "batch:write"
                        ]
                    }
                ],
                "summary": "Run several stored-result reads as one batch",
                "tags": [
                    "batches"
                ]
            }
        },
        "/batches/{batch_id}": {
            "get": {
                "operationId": "get_batch_batches__batch_id__get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "batch_id",
                        "required": true,
                        "schema": {
                            "title": "Batch Id",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Batch"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "batch:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "batch:write"
                        ]
                    }
                ],
                "summary": "A batch and its results",
                "tags": [
                    "batches"
                ]
            }
        },
        "/benchmarks": {
            "get": {
                "operationId": "get_benchmarks_benchmarks_get",
                "parameters": [
                    {
                        "in": "query",
                        "name": "book_id",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 200,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Book Id"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "risk:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "risk:read"
                        ]
                    }
                ],
                "summary": "The benchmarks an active view can use (and a book's stated one)",
                "tags": [
                    "risk"
                ]
            }
        },
        "/books": {
            "get": {
                "operationId": "list_books_books_get",
                "parameters": [
                    {
                        "in": "query",
                        "name": "limit",
                        "required": false,
                        "schema": {
                            "default": 100,
                            "maximum": 500,
                            "minimum": 1,
                            "title": "Limit",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "cursor",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 200,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Cursor"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BookList"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "books:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "books:read"
                        ]
                    }
                ],
                "summary": "This tenant's books",
                "tags": [
                    "books"
                ]
            },
            "post": {
                "operationId": "create_book_books_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateBook"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BookCreated"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "positions:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "positions:write"
                        ]
                    }
                ],
                "summary": "Create a book from its positions (positions/2 or /1)",
                "tags": [
                    "books"
                ]
            }
        },
        "/books/{book_id}/active": {
            "get": {
                "operationId": "get_active_books__book_id__active_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "book_id",
                        "required": true,
                        "schema": {
                            "title": "Book Id",
                            "type": "string"
                        }
                    },
                    {
                        "description": "VT | vega-60-40 | IVV | AGG | firm | a fund ticker",
                        "in": "query",
                        "name": "benchmark",
                        "required": false,
                        "schema": {
                            "default": "VT",
                            "description": "VT | vega-60-40 | IVV | AGG | firm | a fund ticker",
                            "maxLength": 40,
                            "title": "Benchmark",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "As Of"
                        }
                    },
                    {
                        "description": "per underlying security (the benchmark's funds too)",
                        "in": "query",
                        "name": "look_through",
                        "required": false,
                        "schema": {
                            "default": false,
                            "description": "per underlying security (the benchmark's funds too)",
                            "title": "Look Through",
                            "type": "boolean"
                        }
                    },
                    {
                        "description": "USD: active VaR in dollars on this value (default: the priced book's market value)",
                        "in": "query",
                        "name": "book_value",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "exclusiveMinimum": 0,
                                    "type": "number"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "USD: active VaR in dollars on this value (default: the priced book's market value)",
                            "title": "Book Value"
                        }
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maximum": 200000,
                                    "minimum": 1,
                                    "type": "integer"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Limit"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "risk:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "risk:read"
                        ]
                    }
                ],
                "summary": "The book against a benchmark: tracking error, active VaR and beta, active weights and bets, per position, group and factor",
                "tags": [
                    "risk"
                ]
            }
        },
        "/books/{book_id}/attribution": {
            "get": {
                "operationId": "get_book_attribution_books__book_id__attribution_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "book_id",
                        "required": true,
                        "schema": {
                            "title": "Book Id",
                            "type": "string"
                        }
                    },
                    {
                        "description": "default: the model bound to the book",
                        "in": "query",
                        "name": "model_id",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "default: the model bound to the book",
                            "title": "Model Id"
                        }
                    },
                    {
                        "description": "default: the latest stored date",
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "default: the latest stored date",
                            "title": "As Of"
                        }
                    },
                    {
                        "description": "default: one month (21 trading days) before period_end",
                        "in": "query",
                        "name": "period_start",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "default: one month (21 trading days) before period_end",
                            "title": "Period Start"
                        }
                    },
                    {
                        "description": "default: the last day with factor returns",
                        "in": "query",
                        "name": "period_end",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "default: the last day with factor returns",
                            "title": "Period End"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AttributionResult"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "attribution:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "attribution:read"
                        ]
                    }
                ],
                "summary": "A book's stored attribution (the nightly result)",
                "tags": [
                    "attribution"
                ]
            }
        },
        "/books/{book_id}/contributions": {
            "get": {
                "operationId": "get_contributions_books__book_id__contributions_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "book_id",
                        "required": true,
                        "schema": {
                            "title": "Book Id",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "model_id",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Model Id"
                        }
                    },
                    {
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "As Of"
                        }
                    },
                    {
                        "description": "one row per underlying security, held directly and through funds (direct_weight, via_funds_weight)",
                        "in": "query",
                        "name": "look_through",
                        "required": false,
                        "schema": {
                            "default": false,
                            "description": "one row per underlying security, held directly and through funds (direct_weight, via_funds_weight)",
                            "title": "Look Through",
                            "type": "boolean"
                        }
                    },
                    {
                        "description": "the largest `limit` rows (default: all; positions_total says how many there are)",
                        "in": "query",
                        "name": "limit",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maximum": 200000,
                                    "minimum": 1,
                                    "type": "integer"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "the largest `limit` rows (default: all; positions_total says how many there are)",
                            "title": "Limit"
                        }
                    },
                    {
                        "description": "USD: VaR in dollars on this value (default: the priced book's market value)",
                        "in": "query",
                        "name": "book_value",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "exclusiveMinimum": 0,
                                    "type": "number"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "USD: VaR in dollars on this value (default: the priced book's market value)",
                            "title": "Book Value"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "risk:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "risk:read"
                        ]
                    }
                ],
                "summary": "Each position's share of the book's risk (Euler; adds up to the total)",
                "tags": [
                    "risk"
                ]
            }
        },
        "/books/{book_id}/exposures": {
            "get": {
                "operationId": "get_book_exposures_books__book_id__exposures_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "book_id",
                        "required": true,
                        "schema": {
                            "title": "Book Id",
                            "type": "string"
                        }
                    },
                    {
                        "description": "default: the model bound to the book",
                        "in": "query",
                        "name": "model_id",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "default: the model bound to the book",
                            "title": "Model Id"
                        }
                    },
                    {
                        "description": "default: the latest stored date",
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "default: the latest stored date",
                            "title": "As Of"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExposuresResult"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "exposures:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "exposures:read"
                        ]
                    }
                ],
                "summary": "A book's stored exposures (the nightly result)",
                "tags": [
                    "exposures"
                ]
            }
        },
        "/books/{book_id}/positions": {
            "get": {
                "operationId": "get_positions_books__book_id__positions_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "book_id",
                        "required": true,
                        "schema": {
                            "title": "Book Id",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "As Of"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "$ref": "#/components/schemas/PositionsOut"
                                        },
                                        {
                                            "$ref": "#/components/schemas/BookPositionsV2"
                                        }
                                    ],
                                    "title": "Response Get Positions Books  Book Id  Positions Get"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "books:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "books:read"
                        ]
                    }
                ],
                "summary": "A book's positions (positions/1 weights, or positions/2 valued lines)",
                "tags": [
                    "books"
                ]
            },
            "put": {
                "operationId": "put_positions_books__book_id__positions_put",
                "parameters": [
                    {
                        "in": "path",
                        "name": "book_id",
                        "required": true,
                        "schema": {
                            "title": "Book Id",
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "additionalProperties": true,
                                "oneOf": [
                                    {
                                        "$ref": "#/components/schemas/Positions"
                                    },
                                    {
                                        "$ref": "#/components/schemas/PositionsV2Body"
                                    }
                                ],
                                "title": "Body",
                                "type": "object"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "anyOf": [
                                        {
                                            "$ref": "#/components/schemas/PositionsAccepted"
                                        },
                                        {
                                            "$ref": "#/components/schemas/PositionsStored"
                                        }
                                    ],
                                    "title": "Response Put Positions Books  Book Id  Positions Put"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "positions:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "positions:write"
                        ]
                    }
                ],
                "summary": "Replace a book's positions (positions/1 or positions/2)",
                "tags": [
                    "books"
                ]
            }
        },
        "/books/{book_id}/positions/status": {
            "get": {
                "operationId": "get_positions_status_books__book_id__positions_status_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "book_id",
                        "required": true,
                        "schema": {
                            "title": "Book Id",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "As Of"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PositionsStatus"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "books:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "books:read"
                        ]
                    }
                ],
                "summary": "Where a book's positions stand: received, checked, mapped, ready for risk",
                "tags": [
                    "books"
                ]
            }
        },
        "/books/{book_id}/risk": {
            "get": {
                "operationId": "get_book_risk_books__book_id__risk_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "book_id",
                        "required": true,
                        "schema": {
                            "title": "Book Id",
                            "type": "string"
                        }
                    },
                    {
                        "description": "default: the model bound to the book",
                        "in": "query",
                        "name": "model_id",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "default: the model bound to the book",
                            "title": "Model Id"
                        }
                    },
                    {
                        "description": "default: the latest stored date",
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "default: the latest stored date",
                            "title": "As Of"
                        }
                    },
                    {
                        "description": "top: the 10 largest (top_drivers); all: also EVERY factor with a nonzero exposure (drivers) and the per-group totals (driver_groups)",
                        "in": "query",
                        "name": "drivers",
                        "required": false,
                        "schema": {
                            "default": "top",
                            "description": "top: the 10 largest (top_drivers); all: also EVERY factor with a nonzero exposure (drivers) and the per-group totals (driver_groups)",
                            "enum": [
                                "top",
                                "all"
                            ],
                            "title": "Drivers",
                            "type": "string"
                        }
                    },
                    {
                        "description": "USD: VaR in dollars on this value (default: the priced book's market value)",
                        "in": "query",
                        "name": "book_value",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "exclusiveMinimum": 0,
                                    "type": "number"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "USD: VaR in dollars on this value (default: the priced book's market value)",
                            "title": "Book Value"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RiskResult"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "risk:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "risk:read"
                        ]
                    }
                ],
                "summary": "A book's stored risk (the nightly result)",
                "tags": [
                    "risk"
                ]
            }
        },
        "/books/{book_id}/scenarios": {
            "get": {
                "operationId": "get_book_scenarios_books__book_id__scenarios_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "book_id",
                        "required": true,
                        "schema": {
                            "title": "Book Id",
                            "type": "string"
                        }
                    },
                    {
                        "description": "default: the model bound to the book",
                        "in": "query",
                        "name": "model_id",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "default: the model bound to the book",
                            "title": "Model Id"
                        }
                    },
                    {
                        "description": "default: the latest stored date",
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "default: the latest stored date",
                            "title": "As Of"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ScenariosResult"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "scenarios:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "scenarios:read"
                        ]
                    }
                ],
                "summary": "A book's stored scenarios (the nightly result)",
                "tags": [
                    "scenarios"
                ]
            }
        },
        "/books/{book_id}/stress": {
            "get": {
                "operationId": "get_stress_books__book_id__stress_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "book_id",
                        "required": true,
                        "schema": {
                            "title": "Book Id",
                            "type": "string"
                        }
                    },
                    {
                        "description": "a name from /stress/scenarios; omit for all",
                        "in": "query",
                        "name": "scenario",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 60,
                                    "pattern": "^[a-z0-9_]+$",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "a name from /stress/scenarios; omit for all",
                            "title": "Scenario"
                        }
                    },
                    {
                        "description": "one row per underlying security, held directly and through funds",
                        "in": "query",
                        "name": "look_through",
                        "required": false,
                        "schema": {
                            "default": false,
                            "description": "one row per underlying security, held directly and through funds",
                            "title": "Look Through",
                            "type": "boolean"
                        }
                    },
                    {
                        "description": "USD: P&L in dollars on this value (default: the priced book's market value)",
                        "in": "query",
                        "name": "book_value",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "exclusiveMinimum": 0,
                                    "type": "number"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "USD: P&L in dollars on this value (default: the priced book's market value)",
                            "title": "Book Value"
                        }
                    },
                    {
                        "description": "the largest `limit` rows by |P&L| (default: all)",
                        "in": "query",
                        "name": "limit",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maximum": 200000,
                                    "minimum": 1,
                                    "type": "integer"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "the largest `limit` rows by |P&L| (default: all)",
                            "title": "Limit"
                        }
                    },
                    {
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "As Of"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "risk:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "risk:read"
                        ]
                    }
                ],
                "summary": "A scenario's P&L on the book, in percent and dollars, per line (or per security); without `scenario`, every scenario's summary",
                "tags": [
                    "risk"
                ]
            }
        },
        "/books/{book_id}/what-if": {
            "post": {
                "operationId": "post_what_if_books__book_id__what_if_post",
                "parameters": [
                    {
                        "in": "path",
                        "name": "book_id",
                        "required": true,
                        "schema": {
                            "title": "Book Id",
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "additionalProperties": true,
                                "title": "Body",
                                "type": "object"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "risk:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "risk:read"
                        ]
                    }
                ],
                "summary": "The book's risk before and after a change in its positions (nothing is stored)",
                "tags": [
                    "risk"
                ]
            }
        },
        "/company/resolve": {
            "get": {
                "operationId": "resolve_company_resolve_get",
                "parameters": [
                    {
                        "in": "query",
                        "name": "ticker",
                        "required": true,
                        "schema": {
                            "maxLength": 15,
                            "minLength": 1,
                            "title": "Ticker",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A ticker's company id",
                "tags": [
                    "company"
                ]
            }
        },
        "/company/{company_id}/calls": {
            "get": {
                "operationId": "calls_index_company__company_id__calls_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "company_id",
                        "required": true,
                        "schema": {
                            "minimum": 1,
                            "title": "Company Id",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "Every analyzed earnings call, newest first, with the 8-call trend",
                "tags": [
                    "company"
                ]
            }
        },
        "/company/{company_id}/calls/{period}": {
            "get": {
                "operationId": "call_detail_company__company_id__calls__period__get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "company_id",
                        "required": true,
                        "schema": {
                            "minimum": 1,
                            "title": "Company Id",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "period",
                        "required": true,
                        "schema": {
                            "pattern": "^\\d{4}Q[1-4]$",
                            "title": "Period",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "One earnings call's full analysis",
                "tags": [
                    "company"
                ]
            }
        },
        "/company/{company_id}/calls/{period}/transcript": {
            "get": {
                "operationId": "transcript_company__company_id__calls__period__transcript_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "company_id",
                        "required": true,
                        "schema": {
                            "minimum": 1,
                            "title": "Company Id",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "period",
                        "required": true,
                        "schema": {
                            "pattern": "^\\d{4}Q[1-4]$",
                            "title": "Period",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "q",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 80,
                                    "minLength": 1,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Q"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "The full transcript of one call",
                "tags": [
                    "company"
                ]
            }
        },
        "/company/{company_id}/news": {
            "get": {
                "operationId": "news_company__company_id__news_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "company_id",
                        "required": true,
                        "schema": {
                            "minimum": 1,
                            "title": "Company Id",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "topic",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 60,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Topic"
                        }
                    },
                    {
                        "in": "query",
                        "name": "from",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 10,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "From"
                        }
                    },
                    {
                        "in": "query",
                        "name": "to",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 10,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "To"
                        }
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "required": false,
                        "schema": {
                            "default": 20,
                            "maximum": 100,
                            "minimum": 1,
                            "title": "Limit",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "cursor",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "pattern": "^\\d{1,6}$",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Cursor"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "News on a company",
                "tags": [
                    "company"
                ]
            }
        },
        "/company/{company_id}/overview": {
            "get": {
                "operationId": "overview_company__company_id__overview_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "company_id",
                        "required": true,
                        "schema": {
                            "minimum": 1,
                            "title": "Company Id",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A company's Overview: one precomputed read",
                "tags": [
                    "company"
                ]
            }
        },
        "/company/{company_id}/pre-ipo": {
            "get": {
                "operationId": "pre_ipo_company__company_id__pre_ipo_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "company_id",
                        "required": true,
                        "schema": {
                            "minimum": 1,
                            "title": "Company Id",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A pre-IPO company's page: registration status and terms as filed",
                "tags": [
                    "company"
                ]
            }
        },
        "/company/{company_id}/pre-ipo/filings": {
            "get": {
                "operationId": "pre_ipo_filings_company__company_id__pre_ipo_filings_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "company_id",
                        "required": true,
                        "schema": {
                            "minimum": 1,
                            "title": "Company Id",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A pre-IPO company's SEC filings",
                "tags": [
                    "company"
                ]
            }
        },
        "/company/{company_id}/pre-ipo/offerings": {
            "get": {
                "operationId": "pre_ipo_offerings_company__company_id__pre_ipo_offerings_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "company_id",
                        "required": true,
                        "schema": {
                            "minimum": 1,
                            "title": "Company Id",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A pre-IPO company's offering terms by filing (S-1, amendments, final prospectus)",
                "tags": [
                    "company"
                ]
            }
        },
        "/company/{company_id}/pre-ipo/statements/{statement}": {
            "get": {
                "operationId": "pre_ipo_statement_company__company_id__pre_ipo_statements__statement__get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "company_id",
                        "required": true,
                        "schema": {
                            "minimum": 1,
                            "title": "Company Id",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "statement",
                        "required": true,
                        "schema": {
                            "pattern": "^(IS|BS|CF|CI)$",
                            "title": "Statement",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A pre-IPO company's statement as reported in its newest approved filing (null = not filled in)",
                "tags": [
                    "company"
                ]
            }
        },
        "/company/{company_id}/prices": {
            "get": {
                "operationId": "prices_company__company_id__prices_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "company_id",
                        "required": true,
                        "schema": {
                            "minimum": 1,
                            "title": "Company Id",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "range",
                        "required": false,
                        "schema": {
                            "default": "1Y",
                            "pattern": "^(1D|5D|1M|6M|YTD|1Y|5Y|10Y|MAX)$",
                            "title": "Range",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "basis",
                        "required": false,
                        "schema": {
                            "default": "indexed",
                            "pattern": "^(indexed|price)$",
                            "title": "Basis",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "compare",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 120,
                                    "pattern": "^[A-Za-z0-9.,\\-]+$",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Compare"
                        }
                    },
                    {
                        "in": "query",
                        "name": "from",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 10,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "From"
                        }
                    },
                    {
                        "in": "query",
                        "name": "to",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 10,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "To"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A company's daily closes, indexed or in dollars, with comparisons",
                "tags": [
                    "company"
                ]
            }
        },
        "/company/{company_id}/releases": {
            "get": {
                "operationId": "releases_company__company_id__releases_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "company_id",
                        "required": true,
                        "schema": {
                            "minimum": 1,
                            "title": "Company Id",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 40,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Type"
                        }
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "required": false,
                        "schema": {
                            "default": 20,
                            "maximum": 100,
                            "minimum": 1,
                            "title": "Limit",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "cursor",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "pattern": "^\\d{1,6}$",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Cursor"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "Press releases on a company",
                "tags": [
                    "company"
                ]
            }
        },
        "/company/{company_id}/tearsheet": {
            "get": {
                "operationId": "tearsheet_company__company_id__tearsheet_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "company_id",
                        "required": true,
                        "schema": {
                            "minimum": 1,
                            "title": "Company Id",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "sections",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 300,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Sections"
                        }
                    },
                    {
                        "in": "query",
                        "name": "book_id",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "minimum": 1,
                                    "type": "integer"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Book Id"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A company's tearsheet",
                "tags": [
                    "company"
                ]
            }
        },
        "/compare": {
            "post": {
                "operationId": "compare_compare_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CompareRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CompareResult"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "fits:read",
                            "risk:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "fits:read",
                            "risk:read"
                        ]
                    }
                ],
                "summary": "Two models on one book",
                "tags": [
                    "fits"
                ]
            }
        },
        "/economy/snapshot": {
            "get": {
                "operationId": "economy_snapshot_economy_snapshot_get",
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/EconomySnapshot"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "economy:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "economy:read"
                        ]
                    }
                ],
                "summary": "The latest public economic series",
                "tags": [
                    "economy"
                ]
            }
        },
        "/exposures": {
            "post": {
                "operationId": "post_exposures_exposures_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/OnDemandRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ExposuresResult"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "exposures:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "exposures:read"
                        ]
                    }
                ],
                "summary": "Exposures on demand (inline positions or a book)",
                "tags": [
                    "exposures"
                ]
            }
        },
        "/factors": {
            "post": {
                "operationId": "factors_upload_factors_post",
                "requestBody": {
                    "content": {
                        "application/octet-stream": {
                            "description": "a Parquet file",
                            "schema": {
                                "format": "binary",
                                "type": "string"
                            }
                        },
                        "text/csv": {
                            "example": "date,value\n2026-10-13,2.41\n2026-10-14,2.43\n",
                            "schema": {
                                "type": "string"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SeriesStored"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "byo:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "byo:write"
                        ]
                    }
                ],
                "summary": "Upload your own per-security equity factor",
                "tags": [
                    "bring your own"
                ]
            }
        },
        "/fees/portfolio": {
            "post": {
                "operationId": "portfolio_fees_fees_portfolio_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PortfolioFeesBody"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/PortfolioFees"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A portfolio's fees: per holding, in total, and the illustrative fee drag",
                "tags": [
                    "funds"
                ]
            }
        },
        "/fi-positions/contract": {
            "get": {
                "operationId": "fi_contract_fi_positions_contract_get",
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "books:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "books:read"
                        ]
                    }
                ],
                "summary": "The fixed-income positions contract, as data",
                "tags": [
                    "books"
                ]
            }
        },
        "/fits": {
            "get": {
                "operationId": "fit_list_fits_get",
                "parameters": [
                    {
                        "in": "query",
                        "name": "limit",
                        "required": false,
                        "schema": {
                            "default": 100,
                            "maximum": 500,
                            "minimum": 1,
                            "title": "Limit",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "cursor",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 200,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Cursor"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/FitList"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "fits:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "fits:read"
                        ]
                    }
                ],
                "summary": "Your fits, newest first",
                "tags": [
                    "fits"
                ]
            },
            "post": {
                "operationId": "fit_submit_fits_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/FitRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "202": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/FitJob"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "fits:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "fits:write"
                        ]
                    }
                ],
                "summary": "Queue a fit (asynchronous)",
                "tags": [
                    "fits"
                ]
            }
        },
        "/fits/{job_id}": {
            "get": {
                "operationId": "fit_status_fits__job_id__get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "job_id",
                        "required": true,
                        "schema": {
                            "title": "Job Id",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/FitJob"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "fits:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "fits:read"
                        ]
                    }
                ],
                "summary": "A fit's status",
                "tags": [
                    "fits"
                ]
            }
        },
        "/fits/{job_id}/report": {
            "get": {
                "operationId": "fit_report_fits__job_id__report_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "job_id",
                        "required": true,
                        "schema": {
                            "title": "Job Id",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/FitReport"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "fits:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "fits:read"
                        ]
                    }
                ],
                "summary": "A fit's report (once done)",
                "tags": [
                    "fits"
                ]
            }
        },
        "/fund/resolve": {
            "get": {
                "operationId": "fund_resolve_fund_resolve_get",
                "parameters": [
                    {
                        "in": "query",
                        "name": "ticker",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 15,
                                    "minLength": 1,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Ticker"
                        }
                    },
                    {
                        "in": "query",
                        "name": "instrument_id",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 60,
                                    "minLength": 3,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Instrument Id"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A share class's fund page and class tab",
                "tags": [
                    "funds"
                ]
            }
        },
        "/fund/{fund_id}/holdings": {
            "get": {
                "operationId": "fund_holdings_fund__fund_id__holdings_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "fund_id",
                        "required": true,
                        "schema": {
                            "maxLength": 40,
                            "minLength": 3,
                            "pattern": "^[A-Za-z0-9._-]+$",
                            "title": "Fund Id",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "required": false,
                        "schema": {
                            "default": "25",
                            "pattern": "^(all|[1-9][0-9]{0,4})$",
                            "title": "Limit",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A fund's holdings from its latest N-PORT filing",
                "tags": [
                    "funds"
                ]
            }
        },
        "/fund/{fund_id}/overview": {
            "get": {
                "operationId": "fund_overview_fund__fund_id__overview_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "fund_id",
                        "required": true,
                        "schema": {
                            "maxLength": 40,
                            "minLength": 3,
                            "pattern": "^[A-Za-z0-9._-]+$",
                            "title": "Fund Id",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A fund's page: header, class tabs, fees (precomputed)",
                "tags": [
                    "funds"
                ]
            }
        },
        "/fund/{fund_id}/prices": {
            "get": {
                "operationId": "fund_prices_fund__fund_id__prices_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "fund_id",
                        "required": true,
                        "schema": {
                            "maxLength": 40,
                            "minLength": 3,
                            "pattern": "^[A-Za-z0-9._-]+$",
                            "title": "Fund Id",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "class",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 15,
                                    "minLength": 1,
                                    "pattern": "^[A-Za-z0-9.\\-]+$",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Class"
                        }
                    },
                    {
                        "in": "query",
                        "name": "range",
                        "required": false,
                        "schema": {
                            "default": "1Y",
                            "pattern": "^(5D|1M|6M|YTD|1Y|5Y|10Y|MAX)$",
                            "title": "Range",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "basis",
                        "required": false,
                        "schema": {
                            "default": "indexed",
                            "pattern": "^(indexed|price)$",
                            "title": "Basis",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "compare",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 120,
                                    "pattern": "^[A-Za-z0-9.,\\-]+$",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Compare"
                        }
                    },
                    {
                        "in": "query",
                        "name": "from",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 10,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "From"
                        }
                    },
                    {
                        "in": "query",
                        "name": "to",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 10,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "To"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A fund class's daily closes, indexed or in dollars, with comparisons",
                "tags": [
                    "funds"
                ]
            }
        },
        "/fund/{fund_id}/risk": {
            "get": {
                "operationId": "fund_risk_fund__fund_id__risk_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "fund_id",
                        "required": true,
                        "schema": {
                            "maxLength": 40,
                            "minLength": 3,
                            "pattern": "^[A-Za-z0-9._-]+$",
                            "title": "Fund Id",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "top",
                        "required": false,
                        "schema": {
                            "default": 15,
                            "maximum": 100,
                            "minimum": 1,
                            "title": "Top",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A fund's top risk contributors: weight, share of risk, $ on the bad day, vol, beta",
                "tags": [
                    "funds"
                ]
            }
        },
        "/funds/fees": {
            "get": {
                "operationId": "fund_fees_funds_fees_get",
                "parameters": [
                    {
                        "description": "comma-separated, up to 1,000",
                        "in": "query",
                        "name": "tickers",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 20000,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "comma-separated, up to 1,000",
                            "title": "Tickers"
                        }
                    },
                    {
                        "description": "the app's instrument ids, comma-separated",
                        "in": "query",
                        "name": "instrument_ids",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 40000,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "the app's instrument ids, comma-separated",
                            "title": "Instrument Ids"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/FundFees"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "Funds' expense ratios and their cheapest share class",
                "tags": [
                    "funds"
                ]
            }
        },
        "/funds/{ticker}/look-through": {
            "get": {
                "operationId": "look_through_funds__ticker__look_through_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ticker",
                        "required": true,
                        "schema": {
                            "title": "Ticker",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "limit",
                        "required": false,
                        "schema": {
                            "default": 100,
                            "maximum": 1000,
                            "minimum": 1,
                            "title": "Limit",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "offset",
                        "required": false,
                        "schema": {
                            "default": 0,
                            "minimum": 0,
                            "title": "Offset",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/LookThrough"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "funds:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "funds:read"
                        ]
                    }
                ],
                "summary": "A public fund's lines (from its filing)",
                "tags": [
                    "funds"
                ]
            }
        },
        "/model-deliveries": {
            "get": {
                "operationId": "listing_model_deliveries_get",
                "parameters": [
                    {
                        "in": "query",
                        "name": "limit",
                        "required": false,
                        "schema": {
                            "default": "50",
                            "title": "Limit",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "cursor",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Cursor"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "models:deliver"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "models:deliver"
                        ]
                    }
                ],
                "summary": "Listing",
                "tags": [
                    "deliveries"
                ]
            },
            "post": {
                "operationId": "create_model_deliveries_post",
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "models:deliver"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "models:deliver"
                        ]
                    }
                ],
                "summary": "Create",
                "tags": [
                    "deliveries"
                ]
            }
        },
        "/model-deliveries/uploads/{token}": {
            "put": {
                "operationId": "upload_model_deliveries_uploads__token__put",
                "parameters": [
                    {
                        "in": "path",
                        "name": "token",
                        "required": true,
                        "schema": {
                            "title": "Token",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "Upload",
                "tags": [
                    "deliveries"
                ]
            }
        },
        "/model-deliveries/{delivery_id}": {
            "get": {
                "operationId": "status_model_deliveries__delivery_id__get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "delivery_id",
                        "required": true,
                        "schema": {
                            "title": "Delivery Id",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "models:deliver"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "models:deliver"
                        ]
                    }
                ],
                "summary": "Status",
                "tags": [
                    "deliveries"
                ]
            }
        },
        "/models": {
            "get": {
                "operationId": "list_models_models_get",
                "parameters": [
                    {
                        "in": "query",
                        "name": "limit",
                        "required": false,
                        "schema": {
                            "default": 100,
                            "maximum": 500,
                            "minimum": 1,
                            "title": "Limit",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "cursor",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 200,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Cursor"
                        }
                    },
                    {
                        "description": "the models served on that date (default: today's)",
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "the models served on that date (default: today's)",
                            "title": "As Of"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ModelList"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "models:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "models:read"
                        ]
                    }
                ],
                "summary": "Models this key may use",
                "tags": [
                    "models"
                ]
            }
        },
        "/models/{model_id}": {
            "get": {
                "operationId": "get_model_models__model_id__get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "model_id",
                        "required": true,
                        "schema": {
                            "title": "Model Id",
                            "type": "string"
                        }
                    },
                    {
                        "description": "the model as served on that date",
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "the model as served on that date",
                            "title": "As Of"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ModelLabel"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "models:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "models:read"
                        ]
                    }
                ],
                "summary": "One model this key may use",
                "tags": [
                    "models"
                ]
            }
        },
        "/models/{model_id}/card": {
            "get": {
                "operationId": "get_model_card_models__model_id__card_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "model_id",
                        "required": true,
                        "schema": {
                            "title": "Model Id",
                            "type": "string"
                        }
                    },
                    {
                        "description": "the card of the model as served on that date",
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "the card of the model as served on that date",
                            "title": "As Of"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ModelCard"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "models:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "models:read"
                        ]
                    }
                ],
                "summary": "A model's card: coverage, freshness, fingerprint",
                "tags": [
                    "models"
                ]
            }
        },
        "/models/{model_id}/covariance": {
            "get": {
                "operationId": "get_model_covariance_models__model_id__covariance_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "model_id",
                        "required": true,
                        "schema": {
                            "title": "Model Id",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "As Of"
                        }
                    },
                    {
                        "description": "comma-separated: only these factors",
                        "in": "query",
                        "name": "factors",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 8000,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "comma-separated: only these factors",
                            "title": "Factors"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "models:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "models:read"
                        ]
                    }
                ],
                "summary": "A model's factor covariance on a date (daily decimal, signed convention)",
                "tags": [
                    "models"
                ]
            }
        },
        "/models/{model_id}/exposures": {
            "get": {
                "operationId": "get_model_exposures_models__model_id__exposures_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "model_id",
                        "required": true,
                        "schema": {
                            "title": "Model Id",
                            "type": "string"
                        }
                    },
                    {
                        "description": "comma-separated security keys",
                        "in": "query",
                        "name": "keys",
                        "required": true,
                        "schema": {
                            "description": "comma-separated security keys",
                            "maxLength": 20000,
                            "title": "Keys",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "As Of"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "models:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "models:read"
                        ]
                    }
                ],
                "summary": "A model's exposures for the securities asked (per unit weight)",
                "tags": [
                    "models"
                ]
            }
        },
        "/models/{model_id}/factors": {
            "get": {
                "operationId": "get_model_factors_models__model_id__factors_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "model_id",
                        "required": true,
                        "schema": {
                            "title": "Model Id",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "As Of"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/FactorCatalogue"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "models:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "models:read"
                        ]
                    }
                ],
                "summary": "A model's factors: name, label, short label, group",
                "tags": [
                    "models"
                ]
            }
        },
        "/models/{model_id}/specific": {
            "get": {
                "operationId": "get_model_specific_models__model_id__specific_get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "model_id",
                        "required": true,
                        "schema": {
                            "title": "Model Id",
                            "type": "string"
                        }
                    },
                    {
                        "description": "comma-separated security keys",
                        "in": "query",
                        "name": "keys",
                        "required": true,
                        "schema": {
                            "description": "comma-separated security keys",
                            "maxLength": 20000,
                            "title": "Keys",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "as_of",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "format": "date",
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "As Of"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "models:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "models:read"
                        ]
                    }
                ],
                "summary": "A model's specific risk for the securities asked",
                "tags": [
                    "models"
                ]
            }
        },
        "/positions/validate": {
            "post": {
                "operationId": "positions_validate_positions_validate_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "additionalProperties": true,
                                "oneOf": [
                                    {
                                        "$ref": "#/components/schemas/Positions"
                                    },
                                    {
                                        "$ref": "#/components/schemas/PositionsV2Body"
                                    }
                                ],
                                "title": "Body",
                                "type": "object"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/BookEvaluation"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "risk:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "risk:read"
                        ]
                    }
                ],
                "summary": "Check, map, value (and in the sandbox risk) positions; nothing is stored",
                "tags": [
                    "books"
                ]
            }
        },
        "/proposals": {
            "get": {
                "operationId": "proposal_list_proposals_get",
                "parameters": [
                    {
                        "in": "query",
                        "name": "limit",
                        "required": false,
                        "schema": {
                            "default": 100,
                            "maximum": 500,
                            "minimum": 1,
                            "title": "Limit",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "cursor",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 200,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Cursor"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ProposalList"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "proposals:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "proposals:write"
                        ]
                    }
                ],
                "summary": "Your proposals, newest first",
                "tags": [
                    "proposals"
                ]
            },
            "post": {
                "operationId": "proposal_create_proposals_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ProposalRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Proposal"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "proposals:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "proposals:write"
                        ]
                    }
                ],
                "summary": "Propose that a human bind or certify a model",
                "tags": [
                    "proposals"
                ]
            }
        },
        "/proposals/{proposal_id}": {
            "get": {
                "operationId": "proposal_get_proposals__proposal_id__get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "proposal_id",
                        "required": true,
                        "schema": {
                            "title": "Proposal Id",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Proposal"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "proposals:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "proposals:write"
                        ]
                    }
                ],
                "summary": "A proposal and its state",
                "tags": [
                    "proposals"
                ]
            }
        },
        "/risk": {
            "post": {
                "operationId": "post_risk_risk_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/OnDemandRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RiskResult"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "risk:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "risk:read"
                        ]
                    }
                ],
                "summary": "Risk on demand (inline positions or a book)",
                "tags": [
                    "risk"
                ]
            }
        },
        "/risk/coverage": {
            "get": {
                "operationId": "risk_coverage_risk_coverage_get",
                "parameters": [
                    {
                        "description": "comma-separated, up to 1,000",
                        "in": "query",
                        "name": "tickers",
                        "required": true,
                        "schema": {
                            "description": "comma-separated, up to 1,000",
                            "maxLength": 20000,
                            "title": "Tickers",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RiskCoverage"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "risk:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "risk:read"
                        ]
                    }
                ],
                "summary": "Any ticker's risk number, with its method",
                "tags": [
                    "coverage"
                ]
            }
        },
        "/risk/coverage/requests": {
            "post": {
                "operationId": "risk_coverage_request_risk_coverage_requests_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CoverageRequestBody"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CoverageRequests"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "risk:request"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "risk:request"
                        ]
                    }
                ],
                "summary": "Have tickers modeled by the next nightly",
                "tags": [
                    "coverage"
                ]
            }
        },
        "/scenarios": {
            "post": {
                "operationId": "post_scenarios_scenarios_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/OnDemandRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ScenariosResult"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "scenarios:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "scenarios:read"
                        ]
                    }
                ],
                "summary": "Scenarios on demand (inline positions or a book)",
                "tags": [
                    "scenarios"
                ]
            }
        },
        "/screener": {
            "post": {
                "operationId": "screen_screener_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Query_"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "Run a screen (server-side filter, sort, page)",
                "tags": [
                    "screener"
                ]
            }
        },
        "/screener/export": {
            "post": {
                "operationId": "export_screener_export_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Query_"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "A screen as CSV (paying subscribers)",
                "tags": [
                    "screener"
                ]
            }
        },
        "/screener/facets": {
            "post": {
                "operationId": "screener_facets_screener_facets_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Query_"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "Counts per fund for the filter matrix, under the same filters as the screen",
                "tags": [
                    "screener"
                ]
            }
        },
        "/screener/fields": {
            "get": {
                "operationId": "fields_screener_fields_get",
                "parameters": [
                    {
                        "in": "query",
                        "name": "universe",
                        "required": false,
                        "schema": {
                            "default": "stocks",
                            "pattern": "^(stocks|funds)$",
                            "title": "Universe",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "summary": "The screener's fields, views and default columns",
                "tags": [
                    "screener"
                ]
            }
        },
        "/series": {
            "post": {
                "operationId": "series_upload_series_post",
                "parameters": [
                    {
                        "description": "bp | percent | decimal; leave out for a level series",
                        "in": "query",
                        "name": "units",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "description": "bp | percent | decimal; leave out for a level series",
                            "title": "Units"
                        }
                    },
                    {
                        "in": "query",
                        "name": "filename",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "maxLength": 120,
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Filename"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/octet-stream": {
                            "description": "a Parquet file",
                            "schema": {
                                "format": "binary",
                                "type": "string"
                            }
                        },
                        "text/csv": {
                            "example": "date,value\n2026-10-13,2.41\n2026-10-14,2.43\n",
                            "schema": {
                                "type": "string"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SeriesStored"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "byo:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "byo:write"
                        ]
                    }
                ],
                "summary": "Upload your own fixed-income series (CSV or Parquet)",
                "tags": [
                    "bring your own"
                ]
            }
        },
        "/series/{data_hash}": {
            "get": {
                "operationId": "series_get_series__data_hash__get",
                "parameters": [
                    {
                        "in": "path",
                        "name": "data_hash",
                        "required": true,
                        "schema": {
                            "title": "Data Hash",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SeriesStored"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "byo:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "byo:write"
                        ]
                    }
                ],
                "summary": "One of your stored series",
                "tags": [
                    "bring your own"
                ]
            }
        },
        "/specs/house": {
            "get": {
                "operationId": "spec_house_specs_house_get",
                "parameters": [
                    {
                        "in": "query",
                        "name": "kind",
                        "required": false,
                        "schema": {
                            "default": "fixed_income",
                            "title": "Kind",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/HouseSpec"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "specs:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "specs:write"
                        ]
                    }
                ],
                "summary": "The house recipe, as a document to start from",
                "tags": [
                    "specs"
                ]
            }
        },
        "/specs/validate": {
            "post": {
                "operationId": "spec_validate_specs_validate_post",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SpecBody"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SpecValidated"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "specs:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "specs:write"
                        ]
                    }
                ],
                "summary": "Validate a spec and name it (no fit)",
                "tags": [
                    "specs"
                ]
            }
        },
        "/stress/scenarios": {
            "get": {
                "operationId": "get_stress_scenarios_stress_scenarios_get",
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "risk:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "risk:read"
                        ]
                    }
                ],
                "summary": "The portfolio stress scenarios (the fund pages' library in force) and its version",
                "tags": [
                    "risk"
                ]
            }
        },
        "/webhooks/secret": {
            "get": {
                "operationId": "webhook_secret_webhooks_secret_get",
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/WebhookSecret"
                                }
                            }
                        },
                        "description": "Successful Response"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "malformed request (key_in_query, ...)"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_key, invalid_key, key_revoked, key_expired, jwt_not_accepted"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "missing_scope"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not found for this key (another tenant's id is answered the same way)"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "fit_not_done, book_exists, idempotency_in_progress"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "invalid_request, positions_refused (the positions v1 validator's report in detail)"
                    },
                    "429": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "rate_limited, quota_exceeded (Retry-After header)"
                    },
                    "501": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_in_sandbox (the sandbox serves recorded data only)"
                    },
                    "503": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        },
                        "description": "not_bound, audit_unavailable"
                    }
                },
                "security": [
                    {
                        "ApiKeyBearer": [
                            "fits:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "fits:read"
                        ]
                    }
                ],
                "summary": "The secret that signs your fit callbacks",
                "tags": [
                    "fits"
                ]
            }
        },
        "/jobs": {
            "get": {
                "summary": "List Jobs",
                "operationId": "list_jobs_jobs_get",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": []
                    },
                    {
                        "ApiKeyHeader": []
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "maximum": 1000,
                            "minimum": 1,
                            "default": 100,
                            "title": "Limit"
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string",
                                    "maxLength": 64
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Cursor"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "jobs"
                ]
            }
        },
        "/jobs/{job_id}": {
            "get": {
                "summary": "Get Job",
                "operationId": "get_job_jobs__job_id__get",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": []
                    },
                    {
                        "ApiKeyHeader": []
                    }
                ],
                "parameters": [
                    {
                        "name": "job_id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "title": "Job Id"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "jobs"
                ]
            }
        },
        "/jobs/{job_id}/result": {
            "get": {
                "summary": "Job Result",
                "operationId": "job_result_jobs__job_id__result_get",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "model-portfolios:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "model-portfolios:read"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "job_id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "title": "Job Id"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required, job_not_done",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "jobs"
                ]
            }
        },
        "/model-portfolios": {
            "get": {
                "summary": "List Models",
                "operationId": "list_models_model_portfolios_get",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "model-portfolios:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "model-portfolios:read"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "maximum": 1000,
                            "minimum": 1,
                            "default": 100,
                            "title": "Limit"
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string",
                                    "maxLength": 64
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Cursor"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "model portfolios"
                ]
            }
        },
        "/model-portfolios/{model_id}": {
            "get": {
                "summary": "Get Model",
                "operationId": "get_model_model_portfolios__model_id__get",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "model-portfolios:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "model-portfolios:read"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "model_id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "title": "Model Id"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "model portfolios"
                ]
            }
        },
        "/model-portfolios/{model_id}/diff": {
            "get": {
                "summary": "Diff",
                "operationId": "diff_model_portfolios__model_id__diff_get",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "model-portfolios:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "model-portfolios:read"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "model_id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "title": "Model Id"
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "title": "From"
                        }
                    },
                    {
                        "name": "to",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "title": "To"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "model portfolios"
                ]
            }
        },
        "/model-portfolios/{model_id}/export": {
            "get": {
                "summary": "Export",
                "operationId": "export_model_portfolios__model_id__export_get",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "model-portfolios:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "model-portfolios:read"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "model_id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "title": "Model Id"
                        }
                    },
                    {
                        "name": "version",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "title": "Version"
                        }
                    },
                    {
                        "name": "format",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "pattern": "^(json|csv|xlsx)$",
                            "default": "json",
                            "title": "Format"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "model portfolios"
                ]
            }
        },
        "/model-portfolios/{model_id}/retire": {
            "post": {
                "summary": "Retire",
                "operationId": "retire_model_portfolios__model_id__retire_post",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "model-portfolios:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "model-portfolios:write"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "model_id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "title": "Model Id"
                        }
                    },
                    {
                        "name": "version",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "title": "Version"
                        }
                    },
                    {
                        "name": "Idempotency-Key",
                        "in": "header",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Idempotency-Key"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RetireBody"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required, idempotency_in_progress",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "payload_too_large: an outcome request is at most 64 KB",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "invalid_request (the body does not match the schema), idempotency_key_required, idempotency_key_reused",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "model portfolios"
                ]
            }
        },
        "/model-portfolios/{model_id}/submit": {
            "post": {
                "summary": "Submit",
                "operationId": "submit_model_portfolios__model_id__submit_post",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "model-portfolios:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "model-portfolios:write"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "model_id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "title": "Model Id"
                        }
                    },
                    {
                        "name": "version",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "title": "Version"
                        }
                    },
                    {
                        "name": "Idempotency-Key",
                        "in": "header",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Idempotency-Key"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SubmitBody"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required, idempotency_in_progress",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "payload_too_large: an outcome request is at most 64 KB",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "invalid_request (the body does not match the schema), idempotency_key_required, idempotency_key_reused",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "model portfolios"
                ]
            }
        },
        "/model-portfolios/{model_id}/versions": {
            "get": {
                "summary": "List Versions",
                "operationId": "list_versions_model_portfolios__model_id__versions_get",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "model-portfolios:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "model-portfolios:read"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "model_id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "title": "Model Id"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "model portfolios"
                ]
            }
        },
        "/model-portfolios/{model_id}/versions/{version}": {
            "get": {
                "summary": "Get Version",
                "operationId": "get_version_model_portfolios__model_id__versions__version__get",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "model-portfolios:read"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "model-portfolios:read"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "model_id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "title": "Model Id"
                        }
                    },
                    {
                        "name": "version",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "title": "Version"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "model portfolios"
                ]
            }
        },
        "/outcomes/optimize": {
            "post": {
                "summary": "Optimize",
                "operationId": "optimize_outcomes_optimize_post",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "outcomes:run"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "outcomes:run"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "Idempotency-Key",
                        "in": "header",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Idempotency-Key"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/OptimizeBody"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "A repeat of a finished request: the stored record (repeat true); no new job.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "job": {
                                            "type": "object",
                                            "description": "The job (as GET /v1/jobs/{job_id} returns it).",
                                            "properties": {
                                                "job_id": {
                                                    "type": "string"
                                                },
                                                "kind": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "type": "string"
                                                },
                                                "queue_reason": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "earliest_start_at": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "error": {
                                                    "type": [
                                                        "object",
                                                        "null"
                                                    ]
                                                },
                                                "model_id": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "version": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ]
                                                }
                                            }
                                        },
                                        "model_id": {
                                            "type": "string"
                                        },
                                        "version": {
                                            "type": "integer"
                                        },
                                        "status": {
                                            "type": "string"
                                        },
                                        "record": {
                                            "type": "object"
                                        },
                                        "repeat": {
                                            "type": "boolean"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "202": {
                        "description": "Accepted: a job; poll the URL in poll, then GET /v1/jobs/{job_id}/result.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "job": {
                                            "type": "object",
                                            "description": "The job (as GET /v1/jobs/{job_id} returns it).",
                                            "properties": {
                                                "job_id": {
                                                    "type": "string"
                                                },
                                                "kind": {
                                                    "type": "string"
                                                },
                                                "status": {
                                                    "type": "string"
                                                },
                                                "queue_reason": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "earliest_start_at": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "error": {
                                                    "type": [
                                                        "object",
                                                        "null"
                                                    ]
                                                },
                                                "model_id": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "version": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ]
                                                }
                                            }
                                        },
                                        "poll": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required, idempotency_in_progress",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "payload_too_large: an outcome request is at most 64 KB",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "invalid_request (the body does not match the schema), idempotency_key_required, idempotency_key_reused, fund_not_on_shelf, risk_set_not_allowed",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited, too_many_open_jobs, compute_budget_exceeded",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "outcomes"
                ]
            }
        },
        "/saved-requests": {
            "post": {
                "summary": "Save Request",
                "operationId": "save_request_saved_requests_post",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "shelves:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "shelves:write"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "Idempotency-Key",
                        "in": "header",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Idempotency-Key"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SavedRequestBody"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required, idempotency_in_progress",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "payload_too_large: an outcome request is at most 64 KB",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "invalid_request (the body does not match the schema), idempotency_key_required, idempotency_key_reused",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "saved requests"
                ]
            },
            "get": {
                "summary": "List Saved",
                "operationId": "list_saved_saved_requests_get",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "shelves:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "shelves:write"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "maximum": 1000,
                            "minimum": 1,
                            "default": 100,
                            "title": "Limit"
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string",
                                    "maxLength": 64
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Cursor"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "saved requests"
                ]
            }
        },
        "/saved-requests/{saved_id}": {
            "get": {
                "summary": "Get Saved",
                "operationId": "get_saved_saved_requests__saved_id__get",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "shelves:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "shelves:write"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "saved_id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "title": "Saved Id"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "saved requests"
                ]
            }
        },
        "/shelves": {
            "post": {
                "summary": "Create Shelf",
                "operationId": "create_shelf_shelves_post",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "shelves:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "shelves:write"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "Idempotency-Key",
                        "in": "header",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Idempotency-Key"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ShelfBody"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required, idempotency_in_progress",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "payload_too_large: an outcome request is at most 64 KB",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "invalid_request (the body does not match the schema), idempotency_key_required, idempotency_key_reused, shelf_refused",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "shelves"
                ]
            },
            "get": {
                "summary": "List Shelves",
                "operationId": "list_shelves_shelves_get",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "shelves:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "shelves:write"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "limit",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "maximum": 1000,
                            "minimum": 1,
                            "default": 100,
                            "title": "Limit"
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string",
                                    "maxLength": 64
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Cursor"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "shelves"
                ]
            }
        },
        "/shelves/{shelf_id}": {
            "put": {
                "summary": "Replace Shelf",
                "operationId": "replace_shelf_shelves__shelf_id__put",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "shelves:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "shelves:write"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "shelf_id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "title": "Shelf Id"
                        }
                    },
                    {
                        "name": "Idempotency-Key",
                        "in": "header",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "string"
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Idempotency-Key"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ShelfBody"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required, idempotency_in_progress",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "413": {
                        "description": "payload_too_large: an outcome request is at most 64 KB",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "invalid_request (the body does not match the schema), idempotency_key_required, idempotency_key_reused, shelf_refused",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "shelves"
                ]
            },
            "get": {
                "summary": "Get Shelf",
                "operationId": "get_shelf_shelves__shelf_id__get",
                "security": [
                    {
                        "ApiKeyOrJwtBearer": [
                            "shelves:write"
                        ]
                    },
                    {
                        "ApiKeyHeader": [
                            "shelves:write"
                        ]
                    }
                ],
                "parameters": [
                    {
                        "name": "shelf_id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "title": "Shelf Id"
                        }
                    },
                    {
                        "name": "version",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "anyOf": [
                                {
                                    "type": "integer",
                                    "minimum": 1
                                },
                                {
                                    "type": "null"
                                }
                            ],
                            "title": "Version"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Successful Response",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "missing_key, invalid_key, key_revoked, key_expired, invalid_token",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "missing_scope, tenant_not_enabled, entitlement_unknown, tenant_not_resolved",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "not_found: no such shelf, job, model, version or saved request for this tenant",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "isolation_pass_required",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "rate_limited",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ErrorBody"
                                }
                            }
                        }
                    }
                },
                "tags": [
                    "shelves"
                ]
            }
        }
    },
    "servers": [
        {
            "url": "/v1"
        }
    ]
}
