{"openapi":"3.1.0","info":{"title":"AlphaAssay API","description":"Research-only, demote-only statistical validation for trading-signal evidence. The public AlphaAssay Validator API and MCP surface never place orders, expose no order path, and do not provide financial advice.","version":"v1"},"servers":[{"url":"https://api.alphaassay.com"}],"paths":{"/v1/health":{"get":{"summary":"Health","operationId":"get_v1_health","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}}}}},"/v1/build-identity":{"get":{"summary":"Build Identity","description":"Runtime-computed source proof for the exact candidate image payload.","operationId":"get_v1_build_identity","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuildIdentityResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"503":{"description":"Build identity is unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}}}}},"/v1/meta/pricing":{"get":{"summary":"Pricing","description":"Machine-readable prices (agents select on legible costs). Reads the\nsingle source in api/pricing.py -- never a hardcoded copy.","operationId":"get_v1_meta_pricing","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}}}}},"/.well-known/pricing_and_terms.json":{"get":{"summary":"Pricing And Terms","description":"Machine-readable pricing and terms from the runtime pricing source.\n\nThe standard envelope is Ed25519-signed when a platform key is configured\nand has an explicit unsigned fallback otherwise. The response therefore\nnever turns deployment-key availability into an unconditional claim.","operationId":"get_well_known_pricing_and_terms_json","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingTermsResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}}}}},"/server.json":{"get":{"summary":"Server Json Endpoint","description":"Canonical MCP server.json on the live host -- agents and registries\nprobing the service (not GitHub) get the identity + live tool count\n(S5 #50/#92).","operationId":"get_server_json","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerManifestResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}}}}},"/.well-known/mcp/server-card.json":{"get":{"summary":"Server Card Endpoint","description":"SEP-2127 server card: the compact discovery record, counts live.","operationId":"get_well_known_mcp_server_card_json","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerCardResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}}}}},"/.well-known/terms.json":{"get":{"summary":"Terms Json Endpoint","description":"Machine-readable terms: the product's hard boundaries as flags.","operationId":"get_well_known_terms_json","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TermsResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}}}}},"/v1/meta/facts":{"get":{"summary":"Meta Facts","description":"Machine self-disclosure of the tool surface.\n\nONE fetch for the numbers everything else keeps re-deriving by hand:\ntool counts (split by the storefront price convention), the graded\nstage chain in trial order, the survival-map attack set and the\nfailure-register size -- computed from the same objects the platform\nruns on, never from a second hand-maintained list. Its standard envelope\nis signed when a platform key is configured and has an explicit unsigned\nfallback otherwise.","operationId":"get_v1_meta_facts","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetaFactsResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}}}}},"/v1/validate/signal":{"post":{"summary":"Validate Signal","operationId":"post_v1_validate_signal","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/ValidateSignalRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignalOutput"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"409":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/trial/verdict":{"post":{"summary":"Trial Verdict","operationId":"post_v1_trial_verdict","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialVerdictRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialVerdictResponse"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/trial/summary":{"get":{"summary":"Trial Summary","operationId":"get_v1_trial_summary","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialSummaryResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/gauntlet":{"post":{"summary":"Gauntlet","operationId":"post_v1_gauntlet","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/GauntletRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GauntletOutput"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"409":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/falsify":{"post":{"summary":"Falsify","operationId":"post_v1_falsify","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/FalsifyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FalsifyOutput"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"409":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/forensics":{"post":{"summary":"Forensics","operationId":"post_v1_forensics","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/ForensicsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForensicsOutput"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"409":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/reproduce":{"post":{"summary":"Reproduce Endpoint","operationId":"post_v1_reproduce","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/ReproduceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReproduceOutput"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"400":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"409":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/pbo":{"post":{"summary":"Pbo","operationId":"post_v1_pbo","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/PboRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PboOutput"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"409":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/tradelog":{"post":{"summary":"Tradelog Endpoint","operationId":"post_v1_tradelog","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/TradelogRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TradelogOutput"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"400":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"409":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/cpcv":{"post":{"summary":"Cpcv Endpoint","operationId":"post_v1_cpcv","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/CpcvRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CpcvOutput"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"409":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/var-es":{"post":{"summary":"Var Es Endpoint","operationId":"post_v1_var_es","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/VarEsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VarEsOutput"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"409":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/conformal":{"post":{"summary":"Conformal Endpoint","operationId":"post_v1_conformal","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/ConformalRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConformalOutput"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"409":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/survivors":{"post":{"summary":"Survivors Endpoint","operationId":"post_v1_survivors","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/SurvivorsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurvivorsOutput"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"409":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/session/report":{"get":{"summary":"Session Report Endpoint","operationId":"get_v1_session_report","parameters":[{"name":"family_of_spec","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Family Of Spec"}},{"name":"family_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":128},{"type":"null"}],"title":"Family Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReportResponse"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/track-record":{"get":{"summary":"Track Record Endpoint","operationId":"get_v1_track_record","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackRecordResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/prereg/register":{"post":{"summary":"Prereg Register Ep","operationId":"post_v1_prereg_register","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/PreregRegisterRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterOutput"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"409":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/prereg/evaluate":{"post":{"summary":"Prereg Evaluate Ep","operationId":"post_v1_prereg_evaluate","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/PreregEvaluateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerdictOutput"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"409":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/prereg/list":{"get":{"summary":"Prereg List Ep","operationId":"get_v1_prereg_list","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"","title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreregListResponse"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/certificate/issue":{"post":{"summary":"Certificate Issue Ep","operationId":"post_v1_certificate_issue","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateIssueRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateIssueResponse"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/certificate/monitor/enroll":{"post":{"summary":"Monitor Enroll","operationId":"post_v1_certificate_monitor_enroll","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorEnrollRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorEnrollResponse"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"400":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/certificate/monitor/update":{"post":{"summary":"Monitor Update","operationId":"post_v1_certificate_monitor_update","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorUpdateResponse"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"400":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/certificate/monitor/status":{"get":{"summary":"Monitor Status Endpoint","operationId":"get_v1_certificate_monitor_status","parameters":[{"name":"cert_id","in":"query","required":true,"schema":{"type":"string","title":"Cert Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonitorStatusResponse"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"400":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/public/engine-assay/suite":{"get":{"summary":"Engine Assay Suite Endpoint","description":"Full model-candle reference suite, ground truth withheld. Free.","operationId":"get_v1_public_engine_assay_suite","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EngineAssaySuiteResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}}}}},"/v1/public/engine-assay/starter":{"get":{"summary":"Engine Assay Starter Endpoint","description":"Annotated teaching subset WITH ground truth (lead magnet). Free.","operationId":"get_v1_public_engine_assay_starter","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EngineAssayStarterResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}}}}},"/v1/engine-assay/verify":{"post":{"summary":"Engine Assay Verify Endpoint","operationId":"post_v1_engine_assay_verify","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EngineAssayVerifyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EngineAssayVerifyResponse"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"401":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"403":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"402":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"security":[{"bearerApiKey":[]}]}},"/v1/public/forward-stats":{"get":{"summary":"Public Forward Stats Endpoint","description":"Aggregate forward record over all monitored certificates -- the\npublic 'only live counts' answer. No per-certificate details.","operationId":"get_v1_public_forward_stats","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForwardStatsResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}}}}},"/v1/public/family-budget":{"get":{"summary":"Public Family Budget","description":"Free budget mathematics for the site widget: where does a family's\nnext try die? Pure computation over the published thresholds -- reads\nno family data, so identical bounded inputs produce the same result.","operationId":"get_v1_public_family_budget","parameters":[{"name":"n_trials","in":"query","required":true,"schema":{"type":"integer","maximum":1000000,"minimum":1,"title":"N Trials"}},{"name":"sharpe_annualized","in":"query","required":false,"schema":{"anyOf":[{"type":"number","exclusiveMaximum":100,"exclusiveMinimum":-100},{"type":"null"}],"title":"Sharpe Annualized"}},{"name":"n_obs","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":10000000,"minimum":4},{"type":"null"}],"title":"N Obs"}},{"name":"periods_per_year","in":"query","required":false,"schema":{"type":"number","maximum":525600,"exclusiveMinimum":0,"default":365.0,"title":"Periods Per Year"}},{"name":"variance_of_sharpe","in":"query","required":false,"schema":{"type":"number","maximum":1.0,"exclusiveMinimum":0,"default":0.04,"title":"Variance Of Sharpe"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyBudgetResponse"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}}}}},"/v1/public/calibration":{"get":{"summary":"Public Calibration","operationId":"get_v1_public_calibration","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalibrationOutput"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}}}},"/v1/public/benchmark":{"get":{"summary":"Public Benchmark","description":"Frozen aggregate benchmark summary over a standard rule universe.\n\nThe standard envelope is signed when a platform key is configured and has\nan explicit unsigned fallback otherwise. The shipped aggregate summary was\nderived offline from an internal run and contains no winning recipes. Its\ncomputation is deterministic only given the exact unpublished inputs; the\nresponse is not independently byte-reproducible. It is labelled benchmark,\nnot user history.","operationId":"get_v1_public_benchmark","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BenchmarkResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}}}}},"/v1/public/anchor":{"get":{"summary":"Public Anchor","operationId":"get_v1_public_anchor","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicAnchorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}}}}},"/v1/public/graveyard-digest":{"get":{"summary":"Public Graveyard Digest","operationId":"get_v1_public_graveyard_digest","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraveyardDigestResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}}}}},"/v1/assay/demo":{"post":{"summary":"Assay Demo Route","description":"Public 60-second proof (no auth; the unauth IP limiter applies).\n\nWith a specimen ``{spec, ohlcv_by_symbol}`` it runs the real gauntlet;\nwith a ``{trades}`` list it runs the fail-closed validator; with no body\nit runs the built-in example. Each call runs against an ephemeral,\ndiscarded ledger, so the same input always yields the same verdict (an\nagent can assert against it) and the shared ledger is never touched.\nDemote-only, NOT financial advice.","operationId":"post_v1_assay_demo","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/DemoRestRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoOutput"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}}}},"/v1/certificate/verify":{"post":{"summary":"Public Certificate Verify","description":"Public verifier (no auth; the unauth IP limiter applies): anyone can\npaste a certificate + signature -- the homepage check box calls this.\nHistorical keys are selected from the externally rooted public bundle;\noptional caller PEM is evidence, never a trust root.","operationId":"post_v1_certificate_verify","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateVerifyRestResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateVerifyRestRequest"}}}}}},"/x402/v1/gauntlet":{"post":{"summary":"X402 Gauntlet","description":"Hold one shared fence across verify, settle, resolution, and execution.","operationId":"post_x402_v1_gauntlet","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GauntletRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402GauntletResponse"}}},"headers":{"X-PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v1 settlement response; present on fresh and idempotent replay success.","schema":{"type":"string","maxLength":4096}}}},"422":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"500":{"description":"Internal execution failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalErrorResponse"}}}},"402":{"description":"Current x402 payment requirements","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402OfferResponse"}}}},"429":{"description":"Request rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}},"headers":{"Retry-After":{"description":"Seconds until the caller may retry","schema":{"type":"integer","minimum":1}}}},"413":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}},"503":{"description":"Request could not be completed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiErrorResponse"}}}}},"parameters":[{"name":"X-PAYMENT","in":"header","required":false,"description":"Base64 JSON x402 payment payload; omit it to receive the current payment requirements.","schema":{"type":"string","maxLength":16384}}]}}},"components":{"schemas":{"ApiErrorResponse":{"anyOf":[{"$ref":"#/components/schemas/SimpleErrorResponse"},{"$ref":"#/components/schemas/ApplicationErrorResponse"}],"title":"ApiErrorResponse","description":"The two established 4xx/503 JSON envelopes."},"ApplicationErrorResponse":{"properties":{"error":{"type":"string","maxLength":300,"minLength":1,"title":"Error"},"detail":{"type":"string","maxLength":2000,"minLength":1,"title":"Detail"},"http_status":{"type":"integer","maximum":599.0,"minimum":400.0,"title":"Http Status"},"charge_disposition":{"type":"string","enum":["not_charged","commit","refund"],"title":"Charge Disposition"},"retryable":{"type":"boolean","title":"Retryable"}},"additionalProperties":false,"type":"object","required":["error","detail","http_status","charge_disposition","retryable"],"title":"ApplicationErrorResponse"},"AuditFinding":{"properties":{"code":{"type":"string","maxLength":2000,"title":"Code"},"severity":{"type":"string","enum":["hard_fail","warn","info"],"title":"Severity"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["code","severity","detail"],"title":"AuditFinding"},"BenchmarkComputed":{"properties":{"status":{"type":"string","const":"computed","title":"Status"},"n_observations":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Observations"},"beta":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Beta"},"alpha_per_obs":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Alpha Per Obs"},"alpha_tstat":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Alpha Tstat"},"alpha_pvalue":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Alpha Pvalue"},"alpha_significant":{"type":"boolean","title":"Alpha Significant"},"correlation":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":-1.0},{"type":"number","maximum":1.0,"minimum":-1.0}],"title":"Correlation"},"tracking_error_per_obs":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0.0},{"type":"number","maximum":1000000000000000.0,"minimum":0.0}],"title":"Tracking Error Per Obs"},"failure_codes":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Failure Codes"}},"additionalProperties":false,"type":"object","required":["status","n_observations","beta","alpha_per_obs","alpha_tstat","alpha_pvalue","alpha_significant","correlation","tracking_error_per_obs","failure_codes"],"title":"BenchmarkComputed"},"BenchmarkDocument":{"properties":{"schema":{"type":"string","const":"public_benchmark.v1","title":"Schema"},"is_benchmark":{"type":"boolean","const":true,"title":"Is Benchmark"},"what_this_is":{"type":"string","title":"What This Is"},"universe":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"type":"object","maxProperties":256,"title":"Universe"},"method":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"type":"object","maxProperties":256,"title":"Method"},"funnel":{"items":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"type":"object","maxProperties":256},"type":"array","title":"Funnel"},"headline":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"type":"object","maxProperties":256,"title":"Headline"},"honest_limits":{"items":{"type":"string"},"type":"array","title":"Honest Limits"},"reproducibility":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"type":"object","maxProperties":256,"title":"Reproducibility"},"disclaimer":{"type":"string","title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["schema","is_benchmark","what_this_is","universe","method","funnel","headline","honest_limits","reproducibility","disclaimer"],"title":"BenchmarkDocument"},"BenchmarkResponse":{"anyOf":[{"$ref":"#/components/schemas/UnsignedDocumentEnvelope_BenchmarkDocument_"},{"$ref":"#/components/schemas/SignedDocumentEnvelope_BenchmarkDocument_"}],"title":"BenchmarkResponse"},"BenchmarkUnavailable":{"properties":{"status":{"type":"string","enum":["benchmark_not_supplied","invalid_benchmark"],"title":"Status"},"note":{"type":"string","maxLength":2000,"title":"Note"},"failure_codes":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Failure Codes"}},"additionalProperties":false,"type":"object","required":["status","note","failure_codes"],"title":"BenchmarkUnavailable"},"BinomialEvidence":{"properties":{"wins":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Wins"},"n":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N"},"pvalue":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Pvalue"},"significant":{"type":"boolean","title":"Significant"}},"additionalProperties":false,"type":"object","required":["wins","n","pvalue","significant"],"title":"BinomialEvidence"},"BreachCounts":{"properties":{"observed":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Observed"},"expected":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Expected"},"rate_observed":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Rate Observed"}},"additionalProperties":false,"type":"object","required":["observed","expected","rate_observed"],"title":"BreachCounts"},"BuildIdentityResponse":{"properties":{"candidate_commit":{"not":{"const":"0000000000000000000000000000000000000000"},"type":"string","maxLength":40,"minLength":40,"pattern":"^[0-9a-f]{40}$","title":"Candidate Commit"},"candidate_tree":{"not":{"const":"0000000000000000000000000000000000000000"},"type":"string","maxLength":40,"minLength":40,"pattern":"^[0-9a-f]{40}$","title":"Candidate Tree"},"source_sha256":{"type":"string","maxLength":71,"minLength":71,"pattern":"^sha256:[0-9a-f]{64}$","title":"Source Sha256"}},"additionalProperties":false,"type":"object","required":["candidate_commit","candidate_tree","source_sha256"],"title":"BuildIdentityResponse"},"BurstConcentrationDiagnosis":{"properties":{"id":{"type":"string","const":"burst_concentration","title":"Id"},"finding":{"type":"string","maxLength":2000,"title":"Finding"},"severity":{"type":"string","enum":["high","ok","insufficient_power"],"title":"Severity"},"evidence":{"$ref":"#/components/schemas/BurstConcentrationEvidence"},"plain_language_explanation":{"type":"string","maxLength":2000,"title":"Plain Language Explanation"}},"additionalProperties":false,"type":"object","required":["id","finding","severity","evidence","plain_language_explanation"],"title":"BurstConcentrationDiagnosis"},"BurstConcentrationEvidence":{"properties":{"bars":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Bars"},"min_bars":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Min Bars"},"burst_events":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Burst Events"},"calm_events":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Calm Events"},"n_burst_bars":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Burst Bars"},"burst_mean_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Burst Mean Pct"},"non_burst_mean_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Non Burst Mean Pct"}},"additionalProperties":false,"type":"object","title":"BurstConcentrationEvidence"},"CalibrationForwardOutcomes":{"properties":{"status":{"type":"string","const":"accumulating","title":"Status"},"note":{"type":"string","maxLength":2000,"title":"Note"}},"additionalProperties":false,"type":"object","required":["status","note"],"title":"CalibrationForwardOutcomes"},"CalibrationOutput":{"allOf":[{"if":{"properties":{"signed":{"const":true}},"required":["signed"]},"then":{"not":{"anyOf":[{"required":["trust_reason_code"]}]},"properties":{"signature_b64":{"not":{"type":"null"}},"public_key_id":{"not":{"type":"null"}},"public_key_fingerprint":{"not":{"type":"null"}},"signature_alg":{"const":"Ed25519"},"canonicalization":{"const":"json-sort-keys-ascii-nospace-nfc-float12"},"stale":{"const":false},"reason":{"const":"valid"},"reason_code":{"const":"valid"}},"required":["signature_b64","public_key_id","public_key_fingerprint","signature_alg","canonicalization"]}},{"if":{"properties":{"signed":{"const":false}},"required":["signed"]},"then":{"not":{"anyOf":[{"required":["signature_b64"]},{"required":["public_key_id"]},{"required":["public_key_fingerprint"]},{"required":["signature_alg"]},{"required":["canonicalization"]}]},"properties":{"stale":{"const":true}}}},{"if":{"properties":{"signed":{"const":true}},"required":["signed"]},"then":{"properties":{"calibration":{"$ref":"#/components/schemas/CalibrationSnapshotPayload"}}}},{"if":{"properties":{"signed":{"const":false}},"required":["signed"]},"then":{"properties":{"calibration":{"$ref":"#/components/schemas/EmptyObject"}}}}],"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"calibration":{"anyOf":[{"$ref":"#/components/schemas/EmptyObject"},{"$ref":"#/components/schemas/CalibrationSnapshotPayload"}],"title":"Calibration"},"signed":{"type":"boolean","title":"Signed"},"stale":{"type":"boolean","title":"Stale"},"reason":{"type":"string","maxLength":2000,"title":"Reason"},"reason_code":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Reason Code"},"trust_reason_code":{"anyOf":[{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$"},{"type":"null"}],"title":"Trust Reason Code"},"signature_b64":{"anyOf":[{"type":"string","maxLength":88,"minLength":88,"pattern":"^[A-Za-z0-9+/]{85}[AQgw]==$"},{"type":"null"}],"title":"Signature B64"},"public_key_id":{"anyOf":[{"type":"string","maxLength":20,"minLength":20,"pattern":"^key_[a-f0-9]{16}$"},{"type":"null"}],"title":"Public Key Id"},"public_key_fingerprint":{"anyOf":[{"type":"string","maxLength":64,"minLength":64,"pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Public Key Fingerprint"},"signature_alg":{"anyOf":[{"type":"string","const":"Ed25519"},{"type":"null"}],"title":"Signature Alg"},"canonicalization":{"anyOf":[{"type":"string","const":"json-sort-keys-ascii-nospace-nfc-float12"},{"type":"null"}],"title":"Canonicalization"}},"additionalProperties":false,"type":"object","required":["_meta","calibration","signed","stale","reason","reason_code"],"title":"CalibrationOutput","x-relations":["calibration.key_id == public_key_id when signed is true","calibration.spki_sha256 == public_key_fingerprint when signed is true","generated_at and expires_at are real UTC RFC3339 seconds and 0 < expires_at - generated_at <= 168 hours when signed is true"]},"CalibrationRegistrations":{"properties":{"disclosure":{"type":"string","const":"bucketed","title":"Disclosure"},"evaluated":{"type":"string","enum":["<25","25-99","100-499","500+"],"title":"Evaluated"}},"additionalProperties":false,"type":"object","required":["disclosure","evaluated"],"title":"CalibrationRegistrations"},"CalibrationScope":{"properties":{"measures":{"type":"string","maxLength":2000,"title":"Measures"},"not_measured":{"type":"string","maxLength":2000,"title":"Not Measured"},"separate_from":{"type":"string","maxLength":2000,"title":"Separate From"},"maturity":{"type":"string","maxLength":2000,"title":"Maturity"}},"additionalProperties":false,"type":"object","required":["measures","not_measured","separate_from","maturity"],"title":"CalibrationScope"},"CalibrationSnapshotPayload":{"properties":{"artifact_type":{"type":"string","const":"alphaassay.calibration_snapshot","title":"Artifact Type"},"schema_version":{"type":"string","const":"cal1","title":"Schema Version"},"canonicalization":{"type":"string","const":"json-sort-keys-ascii-nospace-nfc-float12","title":"Canonicalization"},"key_purpose":{"type":"string","const":"calibration_snapshot","title":"Key Purpose"},"key_id":{"type":"string","maxLength":20,"minLength":20,"pattern":"^key_[a-f0-9]{16}$","title":"Key Id"},"spki_sha256":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[a-f0-9]{64}$","title":"Spki Sha256"},"generated_at":{"type":"string","maxLength":20,"minLength":20,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$","format":"date-time","title":"Generated At"},"expires_at":{"type":"string","maxLength":20,"minLength":20,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$","format":"date-time","title":"Expires At"},"engine_version":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Engine Version"},"engine_digest":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[a-f0-9]{64}$","title":"Engine Digest"},"runtime_schema_digest":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[a-f0-9]{64}$","title":"Runtime Schema Digest"},"calibration_data_digest":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[a-f0-9]{64}$","title":"Calibration Data Digest"},"public_calibration":{"$ref":"#/components/schemas/PublicCalibration"},"disclaimer":{"type":"string","maxLength":2000,"title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["artifact_type","schema_version","canonicalization","key_purpose","key_id","spki_sha256","generated_at","expires_at","engine_version","engine_digest","runtime_schema_digest","calibration_data_digest","public_calibration","disclaimer"],"title":"CalibrationSnapshotPayload"},"CapacityEvidence":{"properties":{"capacity_ceiling_usd":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Capacity Ceiling Usd"},"break_even_aum_usd":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Break Even Aum Usd"},"break_even_binding_symbol":{"anyOf":[{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$"},{"type":"null"}],"title":"Break Even Binding Symbol"},"model_range_exceeded":{"type":"boolean","title":"Model Range Exceeded"},"cost_model_uncertainty":{"$ref":"#/components/schemas/CostModelUncertainty"},"mean_gross_return_pct_per_trade":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Mean Gross Return Pct Per Trade"}},"additionalProperties":false,"type":"object","required":["capacity_ceiling_usd","break_even_aum_usd","break_even_binding_symbol","model_range_exceeded","cost_model_uncertainty","mean_gross_return_pct_per_trade"],"title":"CapacityEvidence"},"CapacityStage":{"properties":{"stage":{"type":"string","const":"capacity","title":"Stage"},"verdict":{"type":"string","enum":["pass","fail","skipped"],"title":"Verdict"},"evidence":{"anyOf":[{"$ref":"#/components/schemas/CapacityEvidence"},{"$ref":"#/components/schemas/EmptyObject"}],"title":"Evidence"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["stage","verdict","evidence","detail"],"title":"CapacityStage"},"CertificateIssueFailure":{"properties":{"_meta":{"$ref":"#/components/schemas/LegacyRestMeta"},"error":{"type":"string","title":"Error"}},"additionalProperties":false,"type":"object","required":["_meta","error"],"title":"CertificateIssueFailure"},"CertificateIssueRequest":{"properties":{"prereg_id":{"type":"string","maxLength":80,"minLength":1,"title":"Prereg Id"}},"additionalProperties":false,"type":"object","required":["prereg_id"],"title":"CertificateIssueRequest"},"CertificateIssueResponse":{"anyOf":[{"$ref":"#/components/schemas/CertificateIssueSuccess"},{"$ref":"#/components/schemas/CertificateIssueFailure"}],"title":"CertificateIssueResponse"},"CertificateIssueSuccess":{"properties":{"certificate":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"type":"object","maxProperties":256,"title":"Certificate"},"signature_b64":{"type":"string","title":"Signature B64"},"public_key_id":{"type":"string","title":"Public Key Id"},"public_key_fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Key Fingerprint"},"signature_alg":{"type":"string","title":"Signature Alg"},"canonicalization":{"type":"string","title":"Canonicalization"},"replay":{"type":"string","title":"Replay"},"reissued":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reissued"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"_meta":{"anyOf":[{"$ref":"#/components/schemas/LegacyRestMeta"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["certificate","signature_b64","public_key_id","signature_alg","canonicalization","replay"],"title":"CertificateIssueSuccess"},"CertificateRevocation":{"properties":{"sequence":{"type":"integer","maximum":9.223372036854776e+18,"minimum":1.0,"title":"Sequence"},"scope":{"type":"string","enum":["certificate_id","engine_version","key_id"],"title":"Scope"},"match_value":{"type":"string","maxLength":2000,"title":"Match Value"},"reason":{"type":"string","maxLength":2000,"title":"Reason"},"revoked_at":{"type":"string","maxLength":64,"minLength":1,"title":"Revoked At"},"predecessor_entry_hash":{"type":"string","maxLength":2000,"title":"Predecessor Entry Hash"},"legacy_line_hash":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Legacy Line Hash"},"entry_hash":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Entry Hash"}},"additionalProperties":false,"type":"object","required":["sequence","scope","match_value","reason","revoked_at","predecessor_entry_hash","legacy_line_hash","entry_hash"],"title":"CertificateRevocation"},"CertificateVerifyRestResponse":{"allOf":[{"if":{"properties":{"status":{"const":"valid"}},"required":["status"]},"then":{"properties":{"public_key_id":{"not":{"type":"null"}},"public_key_fingerprint":{"not":{"type":"null"}},"trust_head_hash":{"not":{"type":"null"}},"trust_head_sequence":{"not":{"type":"null"}},"revocations":{"type":"null"},"valid":{"const":true},"signature_valid":{"const":true},"chain_valid":{"const":true},"revocation_chain_valid":{"const":true},"revoked":{"const":false},"reason":{"const":"valid"},"reason_code":{"const":"valid"}},"required":["public_key_id","public_key_fingerprint","trust_head_hash","trust_head_sequence"]}},{"if":{"properties":{"status":{"const":"valid_but_revoked"}},"required":["status"]},"then":{"properties":{"public_key_id":{"not":{"type":"null"}},"public_key_fingerprint":{"not":{"type":"null"}},"trust_head_hash":{"not":{"type":"null"}},"trust_head_sequence":{"not":{"type":"null"}},"revocations":{"not":{"type":"null"}},"valid":{"const":false},"signature_valid":{"const":true},"chain_valid":{"const":true},"revocation_chain_valid":{"const":true},"revoked":{"const":true},"reason":{"const":"signature is valid but certificate is revoked"},"reason_code":{"const":"certificate_revoked"}},"required":["public_key_id","public_key_fingerprint","trust_head_hash","trust_head_sequence","revocations"]}},{"if":{"properties":{"status":{"const":"invalid"}},"required":["status"]},"then":{"properties":{"valid":{"const":false}}}}],"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"valid":{"type":"boolean","title":"Valid"},"signature_valid":{"type":"boolean","title":"Signature Valid"},"chain_valid":{"type":"boolean","title":"Chain Valid"},"revocation_chain_valid":{"type":"boolean","title":"Revocation Chain Valid"},"revoked":{"type":"boolean","title":"Revoked"},"status":{"type":"string","enum":["invalid","valid","valid_but_revoked"],"title":"Status"},"reason":{"type":"string","maxLength":2000,"title":"Reason"},"reason_code":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Reason Code"},"public_key_id":{"anyOf":[{"type":"string","maxLength":20,"minLength":20,"pattern":"^key_[a-f0-9]{16}$"},{"type":"null"}],"title":"Public Key Id"},"public_key_fingerprint":{"anyOf":[{"type":"string","maxLength":64,"minLength":64,"pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Public Key Fingerprint"},"certificate_id":{"$ref":"#/components/schemas/JsonValue"},"revocations":{"anyOf":[{"items":{"$ref":"#/components/schemas/CertificateRevocation"},"type":"array","maxItems":10000,"minItems":1},{"type":"null"}],"title":"Revocations"},"trust_head_hash":{"anyOf":[{"type":"string","maxLength":64,"minLength":64,"pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Trust Head Hash"},"trust_head_sequence":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":1.0},{"type":"null"}],"title":"Trust Head Sequence"},"disclaimer":{"type":"string","maxLength":2000,"minLength":1,"title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["_meta","valid","signature_valid","chain_valid","revocation_chain_valid","revoked","status","reason","reason_code","disclaimer"],"title":"CertificateVerifyRestResponse","description":"REST adds a convenience disclaimer beyond the shared MCP result.","x-relations":["revocations[*].sequence values are strictly increasing and unique","max(revocations[*].sequence) <= trust_head_sequence when trust_head_sequence is present"]},"ClusterCollapseDiagnosis":{"properties":{"id":{"type":"string","const":"cluster_collapse","title":"Id"},"finding":{"type":"string","maxLength":2000,"title":"Finding"},"severity":{"type":"string","enum":["high","medium","ok","insufficient_power"],"title":"Severity"},"evidence":{"$ref":"#/components/schemas/ClusterCollapseEvidence"},"plain_language_explanation":{"type":"string","maxLength":2000,"title":"Plain Language Explanation"}},"additionalProperties":false,"type":"object","required":["id","finding","severity","evidence","plain_language_explanation"],"title":"ClusterCollapseDiagnosis"},"ClusterCollapseEvidence":{"properties":{"reported_trades":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Reported Trades"},"independent_clusters":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Independent Clusters"},"cluster_key":{"anyOf":[{"type":"string","const":"utc_calendar_day"},{"type":"null"}],"title":"Cluster Key"}},"additionalProperties":false,"type":"object","required":["reported_trades","independent_clusters"],"title":"ClusterCollapseEvidence"},"ConcentrationEvidence":{"properties":{"top_1pct_share":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Top 1Pct Share"},"n_top_bars":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Top Bars"},"rest_net_return_total_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Rest Net Return Total Pct"},"warn_share_threshold":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Warn Share Threshold"}},"additionalProperties":false,"type":"object","required":["top_1pct_share","n_top_bars","rest_net_return_total_pct","warn_share_threshold"],"title":"ConcentrationEvidence"},"ConcentrationStage":{"properties":{"stage":{"type":"string","const":"concentration","title":"Stage"},"verdict":{"type":"string","enum":["pass","fail","warn","info"],"title":"Verdict"},"evidence":{"$ref":"#/components/schemas/ConcentrationEvidence"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["stage","verdict","evidence","detail"],"title":"ConcentrationStage"},"ConfidenceInterval":{"properties":{"lo":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Lo"},"hi":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Hi"},"contains_zero":{"type":"boolean","title":"Contains Zero"},"n_resamples":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Resamples"}},"additionalProperties":false,"type":"object","required":["lo","hi","contains_zero","n_resamples"],"title":"ConfidenceInterval"},"ConformalEfficiency":{"properties":{"mean_width":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Mean Width"},"median_width":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Median Width"},"degenerate_share":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Degenerate Share"},"outcome_range":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Outcome Range"},"width_to_range_ratio":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Width To Range Ratio"},"uninformative_at_ratio":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Uninformative At Ratio"}},"additionalProperties":false,"type":"object","required":["mean_width","median_width","degenerate_share","outcome_range","width_to_range_ratio","uninformative_at_ratio"],"title":"ConformalEfficiency"},"ConformalHalves":{"properties":{"coverage_first_half":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Coverage First Half"},"coverage_second_half":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Coverage Second Half"}},"additionalProperties":false,"type":"object","required":["coverage_first_half","coverage_second_half"],"title":"ConformalHalves"},"ConformalOutput":{"allOf":[{"if":{"properties":{"status":{"const":"computed"}},"required":["status"]},"then":{"properties":{"n":{"not":{"type":"null"}},"hits":{"not":{"type":"null"}},"misses":{"not":{"type":"null"}},"empirical_coverage":{"not":{"type":"null"}},"distribution":{"not":{"type":"null"}},"zone":{"not":{"type":"null"}},"efficiency":{"not":{"type":"null"}},"halves":{"not":{"type":"null"}},"interpretation":{"not":{"type":"null"}},"reason":{"type":"null"}},"required":["n","hits","misses","empirical_coverage","distribution","zone","efficiency","halves","interpretation"]}},{"if":{"properties":{"status":{"const":"blocked"}},"required":["status"]},"then":{"properties":{"reason":{"not":{"type":"null"}},"hits":{"type":"null"},"misses":{"type":"null"},"empirical_coverage":{"type":"null"},"distribution":{"type":"null"},"zone":{"type":"null"},"efficiency":{"type":"null"},"halves":{"type":"null"},"interpretation":{"type":"null"}},"required":["reason"]}},{"if":{"properties":{"status":{"const":"computed"}},"required":["status"]},"then":{"properties":{"n":{"minimum":1.0}}}}],"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"schema":{"type":"string","const":"conformal.v1","title":"Schema"},"method":{"type":"string","const":"split_conformal_coverage_audit","title":"Method"},"status":{"type":"string","enum":["blocked","computed"],"title":"Status"},"verdict":{"type":"string","enum":["pass","fail","insufficient_evidence"],"title":"Verdict"},"n":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N"},"claimed_coverage":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Claimed Coverage"},"died_at":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At"},"died_at_plain":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At Plain"},"failure_codes":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Failure Codes"},"advisories":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Advisories"},"reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Reason"},"hits":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Hits"},"misses":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Misses"},"empirical_coverage":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Empirical Coverage"},"distribution":{"anyOf":[{"type":"string","enum":["binomial","beta_binomial"]},{"type":"null"}],"title":"Distribution"},"calibration_size":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Calibration Size"},"k_order_statistic":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"K Order Statistic"},"zone":{"anyOf":[{"$ref":"#/components/schemas/TrafficLightZone"},{"type":"null"}]},"efficiency":{"anyOf":[{"$ref":"#/components/schemas/ConformalEfficiency"},{"type":"null"}]},"halves":{"anyOf":[{"$ref":"#/components/schemas/ConformalHalves"},{"type":"null"}]},"interpretation":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Interpretation"}},"additionalProperties":false,"type":"object","required":["_meta","schema","method","status","verdict","n","claimed_coverage","died_at","died_at_plain","failure_codes","advisories"],"title":"ConformalOutput","x-relations":["hits + misses == n when status == computed","empirical_coverage ~= hits / n when status == computed","k_order_statistic <= calibration_size when both are present"]},"ConformalRequest":{"properties":{"intervals_lower":{"items":{"type":"number"},"type":"array","maxItems":100000,"minItems":1,"title":"Intervals Lower"},"intervals_upper":{"items":{"type":"number"},"type":"array","maxItems":100000,"minItems":1,"title":"Intervals Upper"},"outcomes":{"items":{"type":"number"},"type":"array","maxItems":100000,"minItems":1,"title":"Outcomes"},"claimed_coverage":{"type":"number","maximum":0.999,"minimum":0.5,"title":"Claimed Coverage","default":0.9},"calibration_size":{"anyOf":[{"type":"integer","maximum":100000000.0,"minimum":1.0},{"type":"null"}],"title":"Calibration Size"}},"additionalProperties":false,"type":"object","required":["intervals_lower","intervals_upper","outcomes"],"title":"ConformalRequest","description":"Prediction intervals (lower/upper), realised outcomes and the claimed\ncoverage level. The engine's own guards (length match, inverted bounds,\ncalibration constructibility, power floor) answer as blocked reports."},"CostModelUncertainty":{"properties":{"exponent_band":{"items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]},"type":"array","maxItems":10000,"title":"Exponent Band"},"ceiling_by_exponent":{"$ref":"#/components/schemas/NullableNumberMap"},"worst_case_ceiling_usd":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Worst Case Ceiling Usd"}},"additionalProperties":false,"type":"object","required":["exponent_band","ceiling_by_exponent","worst_case_ceiling_usd"],"title":"CostModelUncertainty"},"CostStressAttack":{"properties":{"attack":{"type":"string","const":"cost_stress","title":"Attack"},"dimension":{"type":"string","const":"costs","title":"Dimension"},"survives":{"type":"boolean","title":"Survives"},"kill_point":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Kill Point"},"evidence":{"$ref":"#/components/schemas/CostStressAttackEvidence"},"plain_language":{"type":"string","maxLength":2000,"title":"Plain Language"}},"additionalProperties":false,"type":"object","required":["attack","dimension","survives","kill_point","evidence","plain_language"],"title":"CostStressAttack"},"CostStressAttackEvidence":{"properties":{"sharpe_by_cost_multiple":{"$ref":"#/components/schemas/NumberMap"}},"additionalProperties":false,"type":"object","required":["sharpe_by_cost_multiple"],"title":"CostStressAttackEvidence"},"CpcvAttackEvidence":{"properties":{"status":{"type":"string","maxLength":2000,"title":"Status"},"share_positive":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Share Positive"},"min_share_positive":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Min Share Positive"},"median_combination_sharpe_annualized":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Median Combination Sharpe Annualized"},"worst_combination_sharpe_annualized":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Worst Combination Sharpe Annualized"},"n_combinations":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Combinations"},"purge":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Purge"}},"additionalProperties":false,"type":"object","required":["status","share_positive","min_share_positive","median_combination_sharpe_annualized","worst_combination_sharpe_annualized","n_combinations","purge"],"title":"CpcvAttackEvidence"},"CpcvComputedEvidence":{"properties":{"share_positive":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Share Positive"},"min_share_positive":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Min Share Positive"},"median_combination_sharpe_annualized":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Median Combination Sharpe Annualized"},"worst_combination_sharpe_annualized":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Worst Combination Sharpe Annualized"},"n_combinations":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Combinations"},"purge":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Purge"}},"additionalProperties":false,"type":"object","required":["share_positive","min_share_positive","median_combination_sharpe_annualized","worst_combination_sharpe_annualized","n_combinations","purge"],"title":"CpcvComputedEvidence"},"CpcvDistribution":{"properties":{"worst":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Worst"},"p05":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"P05"},"p25":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"P25"},"p50":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"P50"},"p75":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"P75"},"p95":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"P95"},"best":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Best"}},"additionalProperties":false,"type":"object","required":["worst","p05","p25","p50","p75","p95","best"],"title":"CpcvDistribution"},"CpcvHistogramBin":{"properties":{"from":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"From"},"to":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"To"},"count":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Count"}},"additionalProperties":false,"type":"object","required":["from","to","count"],"title":"CpcvHistogramBin"},"CpcvOutput":{"allOf":[{"if":{"properties":{"status":{"const":"computed"}},"required":["status"]},"then":{"properties":{"periods_per_year":{"not":{"type":"null"}},"n_bars":{"not":{"type":"null"}},"n_combinations":{"not":{"type":"null"}},"n_blocked_combinations":{"not":{"type":"null"}},"n_backtest_paths":{"not":{"type":"null"}},"purged_bars_total":{"not":{"type":"null"}},"distribution":{"not":{"type":"null"}},"histogram":{"not":{"type":"null"}},"interpretation":{"not":{"type":"null"}},"reason":{"type":"null"}},"required":["periods_per_year","n_bars","n_combinations","n_blocked_combinations","n_backtest_paths","purged_bars_total","distribution","histogram","interpretation"]}},{"if":{"properties":{"status":{"const":"insufficient"}},"required":["status"]},"then":{"properties":{"reason":{"not":{"type":"null"}},"share_positive":{"type":"null"},"distribution":{"type":"null"},"histogram":{"type":"null"},"n_blocked_combinations":{"type":"null"},"n_backtest_paths":{"type":"null"},"purged_bars_total":{"type":"null"},"interpretation":{"type":"null"}},"required":["reason"]}}],"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"schema":{"type":"string","const":"cpcv.v1","title":"Schema"},"status":{"type":"string","enum":["insufficient","computed"],"title":"Status"},"verdict":{"type":"string","enum":["pass","fail","insufficient_evidence"],"title":"Verdict"},"input_mode":{"anyOf":[{"type":"string","enum":["returns_series","spec_and_candles"]},{"type":"null"}],"title":"Input Mode"},"n_groups":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Groups"},"purge":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Purge"},"embargo":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Embargo"},"min_share_positive":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Min Share Positive"},"share_positive":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Share Positive"},"distribution":{"anyOf":[{"$ref":"#/components/schemas/CpcvDistribution"},{"type":"null"}]},"histogram":{"anyOf":[{"items":{"$ref":"#/components/schemas/CpcvHistogramBin"},"type":"array","maxItems":10000},{"type":"null"}],"title":"Histogram"},"disclaimer":{"type":"string","maxLength":2000,"title":"Disclaimer"},"died_at":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At"},"died_at_plain":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At Plain"},"failure_codes":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Failure Codes"},"reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Reason"},"periods_per_year":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Periods Per Year"},"n_bars":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Bars"},"n_combinations":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Combinations"},"n_blocked_combinations":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Blocked Combinations"},"n_backtest_paths":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Backtest Paths"},"purged_bars_total":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Purged Bars Total"},"interpretation":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Interpretation"}},"additionalProperties":false,"type":"object","required":["_meta","schema","status","verdict","input_mode","n_groups","purge","embargo","min_share_positive","share_positive","distribution","histogram","disclaimer","died_at","died_at_plain","failure_codes"],"title":"CpcvOutput","x-relations":["n_blocked_combinations <= n_combinations when status == computed","sum(histogram[*].count) == n_combinations when status == computed"]},"CpcvPartitionAttack":{"properties":{"attack":{"type":"string","const":"cpcv_partition","title":"Attack"},"dimension":{"type":"string","const":"path_dependence","title":"Dimension"},"survives":{"type":"boolean","title":"Survives"},"kill_point":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Kill Point"},"evidence":{"$ref":"#/components/schemas/CpcvAttackEvidence"},"plain_language":{"type":"string","maxLength":2000,"title":"Plain Language"}},"additionalProperties":false,"type":"object","required":["attack","dimension","survives","kill_point","evidence","plain_language"],"title":"CpcvPartitionAttack"},"CpcvRequest":{"properties":{"returns":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":100000,"minItems":1},{"type":"null"}],"title":"Returns"},"spec":{"anyOf":[{"$ref":"#/components/schemas/DslSpec"},{"type":"null"}]},"ohlcv_by_symbol":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/OhlcvSeries"},"type":"object"},{"type":"null"}],"title":"Ohlcv By Symbol"},"n_groups":{"type":"integer","maximum":16.0,"minimum":2.0,"title":"N Groups","default":8},"purge":{"type":"integer","maximum":1000.0,"minimum":0.0,"title":"Purge","default":1},"embargo":{"type":"integer","maximum":1000.0,"minimum":0.0,"title":"Embargo","default":0},"fee_bps_per_side":{"type":"number","maximum":1000.0,"minimum":0.0,"title":"Fee Bps Per Side","default":10.0},"periods_per_year":{"anyOf":[{"type":"number","maximum":525600.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Periods Per Year"}},"additionalProperties":false,"type":"object","title":"CpcvRequest","description":"Either a net-return series directly, or spec + candles; the engine\nfails closed on structural shortfalls with a named reason."},"CpcvStage":{"properties":{"stage":{"type":"string","const":"cpcv","title":"Stage"},"verdict":{"type":"string","enum":["pass","fail","skipped"],"title":"Verdict"},"evidence":{"anyOf":[{"$ref":"#/components/schemas/CpcvComputedEvidence"},{"$ref":"#/components/schemas/InsufficientStageEvidence"}],"title":"Evidence"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["stage","verdict","evidence","detail"],"title":"CpcvStage"},"DemoOutput":{"oneOf":[{"not":{"anyOf":[{"required":["schema"]},{"required":["budget"]},{"required":["stages"]},{"required":["failure_codes"]},{"required":["family_id"]},{"required":["spec_hash"]},{"required":["disclaimer"]},{"required":["died_at"]},{"required":["died_at_plain"]},{"required":["data_note"]}]},"properties":{"verdict":{"not":{"type":"string"}},"explanation":{"not":{"type":"null"}},"note":{"not":{"type":"null"}},"synthetic_null_preview":{"not":{"type":"null"}},"price_usd":{"not":{"type":"null"}}},"required":["explanation","note","synthetic_null_preview","price_usd"]},{"not":{"anyOf":[{"required":["note"]},{"required":["synthetic_null_preview"]},{"required":["price_usd"]},{"required":["schema"]},{"required":["budget"]},{"required":["stages"]},{"required":["failure_codes"]},{"required":["family_id"]},{"required":["spec_hash"]},{"required":["disclaimer"]},{"required":["died_at"]},{"required":["died_at_plain"]},{"required":["data_note"]}]},"properties":{"verdict":{"not":{"type":"string"}},"explanation":{"not":{"type":"null"}}},"required":["explanation"]},{"not":{"anyOf":[{"required":["explanation"]},{"required":["note"]},{"required":["synthetic_null_preview"]},{"required":["price_usd"]}]},"properties":{"schema":{"const":"gauntlet.v1"},"verdict":{"enum":["pass","conditional","fail"]},"budget":{"not":{"type":"null"}},"stages":{"not":{"type":"null"}},"failure_codes":{"not":{"type":"null"}},"family_id":{"not":{"type":"null"}},"spec_hash":{"not":{"type":"null"}},"disclaimer":{"not":{"type":"null"}}},"required":["schema","budget","stages","failure_codes","family_id","spec_hash","disclaimer","died_at","died_at_plain"]}],"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"schema":{"anyOf":[{"type":"string","const":"gauntlet.v1"},{"type":"null"}],"title":"Schema"},"verdict":{"anyOf":[{"$ref":"#/components/schemas/VerdictEnvelope"},{"type":"string","enum":["pass","conditional","fail"]}],"title":"Verdict"},"explanation":{"anyOf":[{"$ref":"#/components/schemas/Explanation"},{"type":"null"}]},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"},"synthetic_null_preview":{"anyOf":[{"$ref":"#/components/schemas/SyntheticNullPreview"},{"type":"null"}]},"price_usd":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0.0},{"type":"number","maximum":1000000000000000.0,"minimum":0.0},{"type":"null"}],"title":"Price Usd"},"budget":{"anyOf":[{"$ref":"#/components/schemas/GauntletBudget"},{"type":"null"}]},"stages":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/NetEdgeStage"},{"$ref":"#/components/schemas/FundingEdgeStage"},{"$ref":"#/components/schemas/FamilyDeflationStage"},{"$ref":"#/components/schemas/PowerHonestyStage"},{"$ref":"#/components/schemas/SignificanceStage"},{"$ref":"#/components/schemas/CpcvStage"},{"$ref":"#/components/schemas/WalkForwardStage"},{"$ref":"#/components/schemas/ConcentrationStage"},{"$ref":"#/components/schemas/PlaceboStage"},{"$ref":"#/components/schemas/CapacityStage"},{"$ref":"#/components/schemas/GraveyardPriorStage"}],"discriminator":{"propertyName":"stage","mapping":{"capacity":"#/components/schemas/CapacityStage","concentration":"#/components/schemas/ConcentrationStage","cpcv":"#/components/schemas/CpcvStage","family_deflation":"#/components/schemas/FamilyDeflationStage","funding_edge":"#/components/schemas/FundingEdgeStage","graveyard_prior":"#/components/schemas/GraveyardPriorStage","net_edge":"#/components/schemas/NetEdgeStage","placebo":"#/components/schemas/PlaceboStage","power_honesty":"#/components/schemas/PowerHonestyStage","significance":"#/components/schemas/SignificanceStage","walk_forward":"#/components/schemas/WalkForwardStage"}}},"type":"array","maxItems":11,"minItems":1},{"type":"null"}],"title":"Stages"},"failure_codes":{"anyOf":[{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000},{"type":"null"}],"title":"Failure Codes"},"family_id":{"anyOf":[{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$"},{"type":"null"}],"title":"Family Id"},"spec_hash":{"anyOf":[{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$"},{"type":"null"}],"title":"Spec Hash"},"data_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Data Note"},"disclaimer":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Disclaimer"},"died_at":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At"},"died_at_plain":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At Plain"}},"additionalProperties":false,"type":"object","required":["_meta","verdict"],"title":"DemoOutput","description":"All three documented demo responses under one closed public contract."},"DemoRestRequest":{"properties":{"spec":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Spec"},"ohlcv_by_symbol":{"anyOf":[{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object"},{"type":"null"}],"title":"Ohlcv By Symbol"},"trades":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":10000},{"type":"null"}],"title":"Trades"},"variants_in_call":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Variants In Call"},"n_placebos":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N Placebos"}},"additionalProperties":false,"type":"object","title":"DemoRestRequest","description":"The bounded REST demo modes; MCP's demo deliberately has no input."},"DriftBurstAttack":{"properties":{"attack":{"type":"string","const":"drift_burst","title":"Attack"},"dimension":{"type":"string","const":"burst_concentration","title":"Dimension"},"survives":{"type":"boolean","title":"Survives"},"kill_point":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Kill Point"},"evidence":{"$ref":"#/components/schemas/DriftBurstAttackEvidence"},"plain_language":{"type":"string","maxLength":2000,"title":"Plain Language"}},"additionalProperties":false,"type":"object","required":["attack","dimension","survives","kill_point","evidence","plain_language"],"title":"DriftBurstAttack"},"DriftBurstAttackEvidence":{"properties":{"n_burst_bars":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Burst Bars"},"burst_pnl_share":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Burst Pnl Share"},"stripped_sharpe_annualized":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Stripped Sharpe Annualized"},"vol_window":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Vol Window"},"sigma_multiple":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Sigma Multiple"}},"additionalProperties":false,"type":"object","required":["n_burst_bars","burst_pnl_share","stripped_sharpe_annualized","vol_window","sigma_multiple"],"title":"DriftBurstAttackEvidence"},"DslSpec":{"properties":{"dsl_version":{"type":"string","title":"Dsl Version"},"asset_universe":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Asset Universe"},"bar_interval":{"type":"string","maxLength":8,"minLength":1,"title":"Bar Interval"},"target":{"additionalProperties":true,"type":"object","title":"Target"},"signal":{"additionalProperties":true,"type":"object","title":"Signal"},"position":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Position"},"entry_lag_bars":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Entry Lag Bars"}},"additionalProperties":false,"type":"object","required":["dsl_version","asset_universe","bar_interval","target","signal"],"title":"DslSpec"},"DsrAttributionComputed":{"properties":{"status":{"type":"string","const":"computed","title":"Status"},"base_psr_normal_no_selection":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Base Psr Normal No Selection"},"dsr":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Dsr"},"dsr_normal_tails":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Dsr Normal Tails"},"total_haircut":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Total Haircut"},"selection_haircut":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Selection Haircut"},"non_normality_haircut":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Non Normality Haircut"},"interaction":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Interaction"},"tipping_point_n_trials":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Tipping Point N Trials"},"verdict_would_flip_under_normal_tails":{"type":"boolean","title":"Verdict Would Flip Under Normal Tails"},"interpretation":{"type":"string","maxLength":2000,"title":"Interpretation"}},"additionalProperties":false,"type":"object","required":["status","base_psr_normal_no_selection","dsr","dsr_normal_tails","total_haircut","selection_haircut","non_normality_haircut","interaction","tipping_point_n_trials","verdict_would_flip_under_normal_tails","interpretation"],"title":"DsrAttributionComputed"},"DsrAttributionUnavailable":{"properties":{"status":{"type":"string","const":"not_computed","title":"Status"},"reason":{"type":"string","maxLength":2000,"title":"Reason"},"dsr":{"type":"null","title":"Dsr"}},"additionalProperties":false,"type":"object","required":["status","reason","dsr"],"title":"DsrAttributionUnavailable"},"EbComputed":{"properties":{"status":{"type":"string","const":"computed","title":"Status"},"family_t_stats_n":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Family T Stats N"},"sigma_signal_sq":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0.0},{"type":"number","maximum":1000000000000000.0,"minimum":0.0}],"title":"Sigma Signal Sq"},"shrink_factor":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0.0},{"type":"number","maximum":1000000000000000.0,"minimum":0.0}],"title":"Shrink Factor"},"t_observed":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"T Observed"},"t_shrunk":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"T Shrunk"},"sharpe_shrunk_per_obs":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Sharpe Shrunk Per Obs"},"method":{"type":"string","const":"efron_morris_prior_zero","title":"Method"},"note":{"type":"string","maxLength":2000,"title":"Note"}},"additionalProperties":false,"type":"object","required":["status","family_t_stats_n","sigma_signal_sq","shrink_factor","t_observed","t_shrunk","sharpe_shrunk_per_obs","method","note"],"title":"EbComputed"},"EbInsufficient":{"properties":{"status":{"type":"string","const":"insufficient_family_history","title":"Status"},"family_t_stats_n":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Family T Stats N"},"method":{"type":"string","const":"efron_morris_prior_zero","title":"Method"},"note":{"type":"string","maxLength":2000,"title":"Note"}},"additionalProperties":false,"type":"object","required":["status","family_t_stats_n","method","note"],"title":"EbInsufficient"},"EmptyObject":{"properties":{},"additionalProperties":false,"type":"object","title":"EmptyObject","description":"An explicitly empty, closed object."},"EngineAssaySemantics":{"properties":{"position":{"type":"string","title":"Position"},"stop":{"type":"string","title":"Stop"},"limit":{"type":"string","title":"Limit"},"open_gap_rule":{"type":"string","title":"Open Gap Rule"},"ambiguous_rule":{"type":"string","title":"Ambiguous Rule"},"outcomes":{"items":{"type":"string"},"type":"array","title":"Outcomes"}},"additionalProperties":false,"type":"object","required":["position","stop","limit","open_gap_rule","ambiguous_rule","outcomes"],"title":"EngineAssaySemantics"},"EngineAssayStarterResponse":{"properties":{"schema":{"type":"string","const":"engine_assay_starter.v1","title":"Schema"},"note":{"type":"string","title":"Note"},"vectors":{"items":{"$ref":"#/components/schemas/EngineAssayVector"},"type":"array","title":"Vectors"},"disclaimer":{"type":"string","title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["schema","note","vectors","disclaimer"],"title":"EngineAssayStarterResponse"},"EngineAssaySuiteResponse":{"properties":{"schema":{"type":"string","const":"engine_assay_suite.v1","title":"Schema"},"suite_digest":{"type":"string","title":"Suite Digest"},"n_vectors":{"type":"integer","title":"N Vectors"},"semantics":{"$ref":"#/components/schemas/EngineAssaySemantics"},"vectors":{"items":{"$ref":"#/components/schemas/EngineAssayVector"},"type":"array","title":"Vectors"},"disclaimer":{"type":"string","title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["schema","suite_digest","n_vectors","semantics","vectors","disclaimer"],"title":"EngineAssaySuiteResponse"},"EngineAssayVector":{"properties":{"id":{"type":"string","title":"Id"},"open":{"type":"number","title":"Open"},"high":{"type":"number","title":"High"},"low":{"type":"number","title":"Low"},"close":{"type":"number","title":"Close"},"position":{"type":"string","const":"long","title":"Position"},"orders":{"$ref":"#/components/schemas/EngineOrders"},"expected_outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Outcome"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"}},"additionalProperties":false,"type":"object","required":["id","open","high","low","close","position","orders"],"title":"EngineAssayVector"},"EngineAssayVerifyRequest":{"properties":{"results":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":2000,"minProperties":1,"title":"Results"},"engine":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Engine"}},"additionalProperties":false,"type":"object","required":["results"],"title":"EngineAssayVerifyRequest","description":"Engine answers per vector id; unknown ids are ignored and listed."},"EngineAssayVerifyResponse":{"properties":{"_meta":{"$ref":"#/components/schemas/LegacyRestMeta"},"schema":{"type":"string","const":"engine_assay_report.v1","title":"Schema"},"engine":{"$ref":"#/components/schemas/EngineIdentity"},"suite_digest":{"type":"string","title":"Suite Digest"},"n_vectors":{"type":"integer","title":"N Vectors"},"n_answered":{"type":"integer","title":"N Answered"},"coverage":{"type":"number","title":"Coverage"},"exact_match_rate":{"type":"number","title":"Exact Match Rate"},"ambiguity_detection_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ambiguity Detection Rate"},"mismatches":{"items":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"type":"object","maxProperties":256},"type":"array","title":"Mismatches"},"unknown_ids_ignored":{"items":{"type":"string"},"type":"array","title":"Unknown Ids Ignored"},"framing":{"type":"string","title":"Framing"},"disclaimer":{"type":"string","title":"Disclaimer"},"verdict":{"type":"string","title":"Verdict"},"died_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Died At"},"died_at_plain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Died At Plain"},"failure_codes":{"items":{"type":"string"},"type":"array","title":"Failure Codes"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["_meta","schema","engine","suite_digest","n_vectors","n_answered","coverage","exact_match_rate","ambiguity_detection_rate","mismatches","unknown_ids_ignored","framing","disclaimer","verdict","died_at","died_at_plain","failure_codes"],"title":"EngineAssayVerifyResponse"},"EngineIdentity":{"properties":{"name":{"type":"string","title":"Name"},"version":{"type":"string","title":"Version"}},"additionalProperties":false,"type":"object","required":["name","version"],"title":"EngineIdentity"},"EngineOrders":{"properties":{"stop_price":{"type":"number","title":"Stop Price"},"limit_price":{"type":"number","title":"Limit Price"}},"additionalProperties":false,"type":"object","required":["stop_price","limit_price"],"title":"EngineOrders"},"EntryLagDiagnosis":{"properties":{"id":{"type":"string","const":"entry_lag_sweep","title":"Id"},"finding":{"type":"string","maxLength":2000,"title":"Finding"},"severity":{"type":"string","enum":["critical","ok","insufficient_power"],"title":"Severity"},"evidence":{"$ref":"#/components/schemas/EntryLagEvidence"},"plain_language_explanation":{"type":"string","maxLength":2000,"title":"Plain Language Explanation"}},"additionalProperties":false,"type":"object","required":["id","finding","severity","evidence","plain_language_explanation"],"title":"EntryLagDiagnosis"},"EntryLagEvidence":{"properties":{"events_with_window":{"anyOf":[{"$ref":"#/components/schemas/IntegerMap"},{"type":"null"}]},"lag_curve_mean_pct":{"anyOf":[{"$ref":"#/components/schemas/NumberMap"},{"type":"null"}]},"events_per_lag":{"anyOf":[{"$ref":"#/components/schemas/IntegerMap"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"EntryLagEvidence"},"EqualPredictiveAbility":{"properties":{"supplied":{"type":"boolean","title":"Supplied"},"loss":{"anyOf":[{"type":"string","enum":["fz0","quantile_tick"]},{"type":"null"}],"title":"Loss"},"mean_loss_candidate":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Mean Loss Candidate"},"mean_loss_benchmark":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Mean Loss Benchmark"},"dm_stat":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Dm Stat"},"p_dominated":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"P Dominated"},"hac_lags":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Hac Lags"},"kill_p_threshold":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Kill P Threshold"},"advisory_p_threshold":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Advisory P Threshold"}},"additionalProperties":false,"type":"object","required":["supplied","loss","mean_loss_candidate","mean_loss_benchmark","dm_stat","p_dominated","hac_lags","kill_p_threshold","advisory_p_threshold"],"title":"EqualPredictiveAbility"},"EsBacktestResult":{"properties":{"supplied":{"type":"boolean","title":"Supplied"},"lambda_grid":{"items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]},"type":"array","maxItems":10000,"title":"Lambda Grid"},"e_value":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"E Value"},"log10_e_value":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Log10 E Value"},"e_kill_threshold":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"E Kill Threshold"},"e_advisory_threshold":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"E Advisory Threshold"}},"additionalProperties":false,"type":"object","required":["supplied","lambda_grid","e_value","log10_e_value","e_kill_threshold","e_advisory_threshold"],"title":"EsBacktestResult"},"EvaluatedHypothesis":{"properties":{"declared_pass_sharpe_annualized":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Declared Pass Sharpe Annualized"},"max_evaluation_bars":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Max Evaluation Bars"},"fee_bps_per_side":{"anyOf":[{"type":"integer","maximum":1000.0,"minimum":0.0},{"type":"number","maximum":1000.0,"minimum":0.0}],"title":"Fee Bps Per Side"},"trading_calendar":{"type":"string","enum":["24/7","weekdays"],"title":"Trading Calendar"},"rationale":{"type":"string","maxLength":2000,"title":"Rationale"},"hypothesis_hash":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Hypothesis Hash"}},"additionalProperties":false,"type":"object","required":["declared_pass_sharpe_annualized","max_evaluation_bars","fee_bps_per_side","trading_calendar","rationale","hypothesis_hash"],"title":"EvaluatedHypothesis"},"EvaluatedVerdict":{"properties":{"verdict":{"type":"string","const":"evaluated","title":"Verdict"},"engine_version":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Engine Version"},"evaluation_start_at":{"type":"string","maxLength":64,"minLength":1,"title":"Evaluation Start At"},"window":{"$ref":"#/components/schemas/EvaluationWindow"},"fee_bps_per_side":{"anyOf":[{"type":"integer","maximum":1000.0,"minimum":0.0},{"type":"number","maximum":1000.0,"minimum":0.0}],"title":"Fee Bps Per Side"},"family_deflated_verdict":{"oneOf":[{"$ref":"#/components/schemas/FamilyNotComputed"},{"$ref":"#/components/schemas/FamilyComputed"}],"title":"Family Deflated Verdict","discriminator":{"propertyName":"status","mapping":{"computed":"#/components/schemas/FamilyComputed","not_computed":"#/components/schemas/FamilyNotComputed"}}},"disclaimer":{"type":"string","maxLength":2000,"title":"Disclaimer"},"hypothesis":{"anyOf":[{"$ref":"#/components/schemas/EvaluatedHypothesis"},{"type":"null"}]},"oos_sharpe_annualized":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Oos Sharpe Annualized"},"threshold_met":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Threshold Met"},"goalpost_moved":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Goalpost Moved"},"goalpost_moved_reasons":{"anyOf":[{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000},{"type":"null"}],"title":"Goalpost Moved Reasons"},"window_capped_at_sealed_maximum":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Window Capped At Sealed Maximum"},"goalpost_moved_plain":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Goalpost Moved Plain"}},"additionalProperties":false,"type":"object","required":["verdict","engine_version","evaluation_start_at","window","fee_bps_per_side","family_deflated_verdict","disclaimer"],"title":"EvaluatedVerdict"},"EvaluationWindow":{"properties":{"start":{"type":"string","maxLength":64,"minLength":1,"title":"Start"},"end":{"type":"string","maxLength":64,"minLength":1,"title":"End"},"bars":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Bars"}},"additionalProperties":false,"type":"object","required":["start","end","bars"],"title":"EvaluationWindow"},"EvtDsrThreshold":{"properties":{"dsr":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Dsr"},"min":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Min"},"survives":{"type":"boolean","title":"Survives"}},"additionalProperties":false,"type":"object","required":["dsr","min","survives"],"title":"EvtDsrThreshold"},"ExecutionLagAttack":{"properties":{"attack":{"type":"string","const":"execution_lag","title":"Attack"},"dimension":{"type":"string","const":"look_ahead","title":"Dimension"},"survives":{"type":"boolean","title":"Survives"},"kill_point":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Kill Point"},"evidence":{"$ref":"#/components/schemas/ExecutionLagAttackEvidence"},"plain_language":{"type":"string","maxLength":2000,"title":"Plain Language"}},"additionalProperties":false,"type":"object","required":["attack","dimension","survives","kill_point","evidence","plain_language"],"title":"ExecutionLagAttack"},"ExecutionLagAttackEvidence":{"properties":{"sharpe_by_lag":{"$ref":"#/components/schemas/NumberMap"},"verdict_lag":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Verdict Lag"}},"additionalProperties":false,"type":"object","required":["sharpe_by_lag","verdict_lag"],"title":"ExecutionLagAttackEvidence"},"Explanation":{"properties":{"schema_version":{"type":"string","const":"0","title":"Schema Version"},"research_only":{"type":"boolean","const":true,"title":"Research Only"},"tool":{"type":"string","const":"explain_backtest_failure","title":"Tool"},"tool_version":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Tool Version"},"verdict":{"type":"string","enum":["pass","conditional","fail","insufficient_evidence"],"title":"Verdict"},"agent_action":{"type":"string","enum":["continue_due_diligence","require_additional_validation","gather_more_evidence","reject_current_evidence","owner_data_decision_required"],"title":"Agent Action"},"summary":{"type":"string","maxLength":2000,"title":"Summary"},"provenance_attestation":{"$ref":"#/components/schemas/ExplanationProvenance"},"leakage_taxonomy":{"$ref":"#/components/schemas/LeakageTaxonomy"},"blocking_findings":{"items":{"type":"string","enum":["data_rights","pit_lookahead","survivorship","selection_multiple_testing","effective_n","oos_walk_forward","cpcv","costs_slippage_capacity","pbo_dsr_overfit","null_placebo","regime","execution","reproducibility","benchmark_overlap"]},"type":"array","maxItems":10000,"title":"Blocking Findings"},"explanations":{"items":{"$ref":"#/components/schemas/ExplanationFinding"},"type":"array","maxItems":10000,"title":"Explanations"},"next_actions":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Next Actions"}},"additionalProperties":false,"type":"object","required":["schema_version","research_only","tool","tool_version","verdict","agent_action","summary","provenance_attestation","leakage_taxonomy","blocking_findings","explanations","next_actions"],"title":"Explanation"},"ExplanationFinding":{"properties":{"failure_class":{"type":"string","enum":["data_rights","pit_lookahead","survivorship","selection_multiple_testing","effective_n","oos_walk_forward","cpcv","costs_slippage_capacity","pbo_dsr_overfit","null_placebo","regime","execution","reproducibility","benchmark_overlap"],"title":"Failure Class"},"severity":{"type":"string","enum":["hard_fail","cap_verdict","major_penalty","minor_penalty","trust_gate"],"title":"Severity"},"detail":{"type":"string","maxLength":2000,"title":"Detail"},"what_it_means":{"type":"string","maxLength":2000,"title":"What It Means"},"evidence_to_lift":{"type":"string","maxLength":2000,"title":"Evidence To Lift"}},"additionalProperties":false,"type":"object","required":["failure_class","severity","detail","what_it_means","evidence_to_lift"],"title":"ExplanationFinding"},"ExplanationProvenance":{"properties":{"source_tool":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Source Tool"},"source_tool_version":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Source Tool Version"},"schema_ref":{"type":"string","maxLength":2000,"title":"Schema Ref"},"schema_version":{"type":"string","const":"0","title":"Schema Version"},"inputs_hash":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Inputs Hash"},"request_hash":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Request Hash"},"generated_at":{"type":"string","maxLength":64,"minLength":1,"title":"Generated At"},"evidence_refs":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Evidence Refs"},"check_refs":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Check Refs"}},"additionalProperties":false,"type":"object","required":["source_tool","source_tool_version","schema_ref","schema_version","inputs_hash","request_hash","generated_at","evidence_refs","check_refs"],"title":"ExplanationProvenance"},"FalsifyGraveyardContext":{"properties":{"attack_reordered_for_cost":{"type":"boolean","title":"Attack Reordered For Cost"},"family_prior_kill_rate":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Family Prior Kill Rate"}},"additionalProperties":false,"type":"object","required":["attack_reordered_for_cost","family_prior_kill_rate"],"title":"FalsifyGraveyardContext"},"FalsifyOutput":{"allOf":[{"if":{"properties":{"verdict":{"const":"no_edge_to_attack"}},"required":["verdict"]},"then":{"properties":{"detail":{"not":{"type":"null"}},"killed_by":{"type":"null"},"survival_map":{"type":"null"},"family_id":{"type":"null"},"spec_hash":{"type":"null"},"graveyard_informed":{"type":"null"},"headline":{"type":"null"}},"required":["detail"]}},{"if":{"properties":{"verdict":{"const":"SURVIVOR"}},"required":["verdict"]},"then":{"properties":{"killed_by":{"not":{"type":"null"}},"survival_map":{"not":{"type":"null"}},"family_id":{"not":{"type":"null"}},"spec_hash":{"not":{"type":"null"}},"graveyard_informed":{"not":{"type":"null"}},"headline":{"not":{"type":"null"}},"detail":{"type":"null"}},"required":["killed_by","survival_map","family_id","spec_hash","graveyard_informed","headline"]}},{"if":{"properties":{"verdict":{"const":"KILLED"}},"required":["verdict"]},"then":{"properties":{"killed_by":{"not":{"type":"null"}},"survival_map":{"not":{"type":"null"}},"family_id":{"not":{"type":"null"}},"spec_hash":{"not":{"type":"null"}},"graveyard_informed":{"not":{"type":"null"}},"headline":{"not":{"type":"null"}},"detail":{"type":"null"}},"required":["killed_by","survival_map","family_id","spec_hash","graveyard_informed","headline"]}}],"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"schema":{"type":"string","const":"falsify.v1","title":"Schema"},"verdict":{"type":"string","enum":["no_edge_to_attack","SURVIVOR","KILLED"],"title":"Verdict"},"base_sharpe_annualized":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Base Sharpe Annualized"},"detail":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Detail"},"weakest_link":{"anyOf":[{"type":"string","enum":["execution_lag","cost_stress","time_jackknife","regime_split","parameter_neighbourhood","cpcv_partition","synthetic_null","drift_burst"]},{"type":"null"}],"title":"Weakest Link"},"killed_by":{"anyOf":[{"items":{"type":"string","enum":["execution_lag","cost_stress","time_jackknife","regime_split","parameter_neighbourhood","cpcv_partition","synthetic_null","drift_burst"]},"type":"array","maxItems":8},{"type":"null"}],"title":"Killed By"},"survival_map":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/ExecutionLagAttack"},{"$ref":"#/components/schemas/CostStressAttack"},{"$ref":"#/components/schemas/TimeJackknifeAttack"},{"$ref":"#/components/schemas/RegimeSplitAttack"},{"$ref":"#/components/schemas/ParameterNeighbourhoodAttack"},{"$ref":"#/components/schemas/CpcvPartitionAttack"},{"$ref":"#/components/schemas/SyntheticNullAttack"},{"$ref":"#/components/schemas/DriftBurstAttack"}],"discriminator":{"propertyName":"attack","mapping":{"cost_stress":"#/components/schemas/CostStressAttack","cpcv_partition":"#/components/schemas/CpcvPartitionAttack","drift_burst":"#/components/schemas/DriftBurstAttack","execution_lag":"#/components/schemas/ExecutionLagAttack","parameter_neighbourhood":"#/components/schemas/ParameterNeighbourhoodAttack","regime_split":"#/components/schemas/RegimeSplitAttack","synthetic_null":"#/components/schemas/SyntheticNullAttack","time_jackknife":"#/components/schemas/TimeJackknifeAttack"}}},"type":"array","maxItems":8,"minItems":1},{"type":"null"}],"title":"Survival Map"},"family_id":{"anyOf":[{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$"},{"type":"null"}],"title":"Family Id"},"spec_hash":{"anyOf":[{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$"},{"type":"null"}],"title":"Spec Hash"},"graveyard_informed":{"anyOf":[{"$ref":"#/components/schemas/FalsifyGraveyardContext"},{"type":"null"}]},"headline":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Headline"},"disclaimer":{"type":"string","maxLength":2000,"title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["_meta","schema","verdict","base_sharpe_annualized","disclaimer"],"title":"FalsifyOutput"},"FalsifyRequest":{"properties":{"spec":{"$ref":"#/components/schemas/DslSpec"},"ohlcv_by_symbol":{"additionalProperties":{"$ref":"#/components/schemas/OhlcvSeries"},"type":"object","minProperties":1,"title":"Ohlcv By Symbol"},"fee_bps_per_side":{"type":"number","maximum":1000.0,"minimum":0.0,"title":"Fee Bps Per Side","default":10.0}},"additionalProperties":false,"type":"object","required":["spec","ohlcv_by_symbol"],"title":"FalsifyRequest"},"FamilyBudgetResponse":{"properties":{"schema":{"type":"string","const":"family_budget.v1","title":"Schema"},"n_trials":{"type":"integer","title":"N Trials"},"variance_of_sharpe":{"type":"number","title":"Variance Of Sharpe"},"rejection_threshold":{"$ref":"#/components/schemas/FamilyBudgetThreshold"},"dsr_min":{"type":"number","title":"Dsr Min"},"bh_alpha":{"type":"number","title":"Bh Alpha"},"break_even_n":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Break Even N"},"note":{"type":"string","title":"Note"}},"additionalProperties":false,"type":"object","required":["schema","n_trials","variance_of_sharpe","rejection_threshold","dsr_min","bh_alpha","break_even_n","note"],"title":"FamilyBudgetResponse"},"FamilyBudgetThreshold":{"properties":{"sharpe_per_obs":{"type":"number","title":"Sharpe Per Obs"},"sharpe_annualized":{"type":"number","title":"Sharpe Annualized"}},"additionalProperties":false,"type":"object","required":["sharpe_per_obs","sharpe_annualized"],"title":"FamilyBudgetThreshold"},"FamilyComputed":{"properties":{"status":{"type":"string","const":"computed","title":"Status"},"sharpe_per_obs":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Sharpe Per Obs"},"n_observations":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Observations"},"skew":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Skew"},"kurtosis":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Kurtosis"},"n_trials":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Trials"},"variance_of_sharpe":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0.0},{"type":"number","maximum":1000000000000000.0,"minimum":0.0}],"title":"Variance Of Sharpe"},"expected_max_sharpe_null":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Expected Max Sharpe Null"},"psr_vs_zero":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Psr Vs Zero"},"dsr":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Dsr"},"cumulative_n":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Cumulative N"},"global_family_n":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Global Family N"},"variants_in_call":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Variants In Call"},"n_trials_effective":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Trials Effective"},"n_hat_ledger":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0.0},{"type":"number","maximum":1000000000000000.0,"minimum":0.0}],"title":"N Hat Ledger"},"effective_n_method":{"type":"string","maxLength":2000,"title":"Effective N Method"},"mean_correlation":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":-1.0},{"type":"number","maximum":1.0,"minimum":-1.0},{"type":"null"}],"title":"Mean Correlation"},"overlap_warning":{"type":"boolean","title":"Overlap Warning"},"thresholds":{"$ref":"#/components/schemas/FamilyThresholds"},"killed_by":{"items":{"type":"string","enum":["evt_dsr","harvey_liu_bh"]},"type":"array","maxItems":2,"title":"Killed By"},"family_verdict":{"type":"string","enum":["survives","deflated_out"],"title":"Family Verdict"},"sketch_retained":{"type":"boolean","title":"Sketch Retained"},"sketch_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Sketch Note"},"eb_shrinkage":{"oneOf":[{"$ref":"#/components/schemas/EbInsufficient"},{"$ref":"#/components/schemas/EbComputed"}],"title":"Eb Shrinkage","discriminator":{"propertyName":"status","mapping":{"computed":"#/components/schemas/EbComputed","insufficient_family_history":"#/components/schemas/EbInsufficient"}}},"break_even_n":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Break Even N"},"dsr_attribution":{"oneOf":[{"$ref":"#/components/schemas/DsrAttributionUnavailable"},{"$ref":"#/components/schemas/DsrAttributionComputed"}],"title":"Dsr Attribution","discriminator":{"propertyName":"status","mapping":{"computed":"#/components/schemas/DsrAttributionComputed","not_computed":"#/components/schemas/DsrAttributionUnavailable"}}},"note":{"type":"string","maxLength":2000,"title":"Note"}},"additionalProperties":false,"type":"object","required":["status","sharpe_per_obs","n_observations","skew","kurtosis","n_trials","variance_of_sharpe","expected_max_sharpe_null","psr_vs_zero","dsr","cumulative_n","global_family_n","variants_in_call","n_trials_effective","n_hat_ledger","effective_n_method","mean_correlation","overlap_warning","thresholds","killed_by","family_verdict","sketch_retained","eb_shrinkage","break_even_n","dsr_attribution","note"],"title":"FamilyComputed"},"FamilyDeflationEvidence":{"properties":{"dsr":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Dsr"},"cumulative_n":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Cumulative N"},"n_trials_effective":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Trials Effective"},"variants_in_call":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Variants In Call"},"family_verdict":{"anyOf":[{"type":"string","enum":["survives","deflated_out"]},{"type":"null"}],"title":"Family Verdict"},"effective_n_method":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Effective N Method"},"killed_by":{"anyOf":[{"items":{"type":"string","enum":["evt_dsr","harvey_liu_bh"]},"type":"array","maxItems":2},{"type":"null"}],"title":"Killed By"}},"additionalProperties":false,"type":"object","required":["dsr","cumulative_n","n_trials_effective","variants_in_call","family_verdict","effective_n_method","killed_by"],"title":"FamilyDeflationEvidence"},"FamilyDeflationStage":{"properties":{"stage":{"type":"string","const":"family_deflation","title":"Stage"},"verdict":{"type":"string","enum":["pass","fail"],"title":"Verdict"},"evidence":{"$ref":"#/components/schemas/FamilyDeflationEvidence"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["stage","verdict","evidence","detail"],"title":"FamilyDeflationStage"},"FamilyNotComputed":{"properties":{"status":{"type":"string","const":"not_computed","title":"Status"},"reason":{"type":"string","maxLength":2000,"title":"Reason"}},"additionalProperties":false,"type":"object","required":["status","reason"],"title":"FamilyNotComputed"},"FamilyThresholds":{"properties":{"evt_dsr":{"$ref":"#/components/schemas/EvtDsrThreshold"},"harvey_liu_bh":{"$ref":"#/components/schemas/HarveyLiuThreshold"}},"additionalProperties":false,"type":"object","required":["evt_dsr","harvey_liu_bh"],"title":"FamilyThresholds"},"FillAmbiguity":{"properties":{"ambiguous_trades":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Ambiguous Trades"},"haircut_pp":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Haircut Pp"},"worst_case_total_return_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Worst Case Total Return Pct"},"flips_sign":{"type":"boolean","title":"Flips Sign"}},"additionalProperties":false,"type":"object","required":["ambiguous_trades","haircut_pp","worst_case_total_return_pct","flips_sign"],"title":"FillAmbiguity"},"ForensicsInputSummary":{"properties":{"events_submitted":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Events Submitted"},"events_valid":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Events Valid"},"events_rejected":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Events Rejected"},"rejected":{"items":{"$ref":"#/components/schemas/ForensicsRejectedEvent"},"type":"array","maxItems":10,"title":"Rejected"},"distinct_clusters":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Distinct Clusters"},"primary_horizon_bars":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Primary Horizon Bars"}},"additionalProperties":false,"type":"object","required":["events_submitted","events_valid","events_rejected","rejected","distinct_clusters","primary_horizon_bars"],"title":"ForensicsInputSummary"},"ForensicsOutput":{"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"schema":{"type":"string","const":"signal_forensics.v1","title":"Schema"},"verdict":{"type":"string","enum":["leakage_suspected","weak_evidence","insufficient_evidence","no_leakage_detected"],"title":"Verdict"},"diagnoses":{"items":{"oneOf":[{"$ref":"#/components/schemas/EntryLagDiagnosis"},{"$ref":"#/components/schemas/FrontLoadingDiagnosis"},{"$ref":"#/components/schemas/RandomTimingDiagnosis"},{"$ref":"#/components/schemas/SignRandomizationDiagnosis"},{"$ref":"#/components/schemas/ClusterCollapseDiagnosis"},{"$ref":"#/components/schemas/BurstConcentrationDiagnosis"}],"discriminator":{"propertyName":"id","mapping":{"burst_concentration":"#/components/schemas/BurstConcentrationDiagnosis","cluster_collapse":"#/components/schemas/ClusterCollapseDiagnosis","entry_lag_sweep":"#/components/schemas/EntryLagDiagnosis","front_loading":"#/components/schemas/FrontLoadingDiagnosis","same_symbol_random_timing_placebo":"#/components/schemas/RandomTimingDiagnosis","sign_randomization":"#/components/schemas/SignRandomizationDiagnosis"}}},"type":"array","maxItems":6,"title":"Diagnoses"},"headline":{"type":"string","maxLength":2000,"title":"Headline"},"input_summary":{"$ref":"#/components/schemas/ForensicsInputSummary"},"disclaimer":{"type":"string","maxLength":2000,"title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["_meta","schema","verdict","diagnoses","headline","input_summary","disclaimer"],"title":"ForensicsOutput"},"ForensicsRejectedEvent":{"properties":{"index":{"type":"integer","exclusiveMaximum":10000.0,"minimum":0.0,"title":"Index"},"reason":{"type":"string","maxLength":2000,"title":"Reason"},"event":{"$ref":"#/components/schemas/RejectedSignalEvent"}},"additionalProperties":false,"type":"object","required":["index","reason","event"],"title":"ForensicsRejectedEvent"},"ForensicsRequest":{"properties":{"signal_events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":5000,"minItems":1,"title":"Signal Events"},"ohlcv_by_symbol":{"additionalProperties":{"$ref":"#/components/schemas/OhlcvSeries"},"type":"object","minProperties":1,"title":"Ohlcv By Symbol"},"primary_horizon":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Primary Horizon","default":3}},"additionalProperties":false,"type":"object","required":["signal_events","ohlcv_by_symbol"],"title":"ForensicsRequest","description":"Timing forensics input: caller-supplied decision events + candles.\n\nEvents stay loosely typed here on purpose -- the engine enforces the\nhard contract (explicit timezones etc.) and returns named findings, so\nthe boundary only guards size and shape."},"ForwardStatsResponse":{"properties":{"schema":{"type":"string","const":"forward_stats.v1","title":"Schema"},"n_monitored":{"type":"integer","title":"N Monitored"},"by_status":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Status"},"n_updates_total":{"type":"integer","title":"N Updates Total"},"thresholds":{"$ref":"#/components/schemas/MonitorThresholds"},"note":{"type":"string","title":"Note"},"disclaimer":{"type":"string","title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["schema","n_monitored","by_status","n_updates_total","thresholds","note","disclaimer"],"title":"ForwardStatsResponse"},"FrontLoadingDiagnosis":{"properties":{"id":{"type":"string","const":"front_loading","title":"Id"},"finding":{"type":"string","maxLength":2000,"title":"Finding"},"severity":{"type":"string","enum":["high","ok","insufficient_power"],"title":"Severity"},"evidence":{"$ref":"#/components/schemas/FrontLoadingEvidence"},"plain_language_explanation":{"type":"string","maxLength":2000,"title":"Plain Language Explanation"}},"additionalProperties":false,"type":"object","required":["id","finding","severity","evidence","plain_language_explanation"],"title":"FrontLoadingDiagnosis"},"FrontLoadingEvidence":{"properties":{"clusters":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Clusters"},"front_loading_share":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Front Loading Share"},"front_loading_share_max":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Front Loading Share Max"},"pooled_pre_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Pooled Pre Pct"},"pooled_post_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Pooled Post Pct"}},"additionalProperties":false,"type":"object","required":["clusters"],"title":"FrontLoadingEvidence"},"FundingEdgeStage":{"properties":{"stage":{"type":"string","const":"funding_edge","title":"Stage"},"verdict":{"type":"string","enum":["pass","fail","warn","skipped"],"title":"Verdict"},"evidence":{"anyOf":[{"$ref":"#/components/schemas/FundingEvidence"},{"$ref":"#/components/schemas/EmptyObject"}],"title":"Evidence"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["stage","verdict","evidence","detail"],"title":"FundingEdgeStage"},"FundingEvidence":{"properties":{"funding_pnl_total_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Funding Pnl Total Pct"},"price_net_return_total_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Price Net Return Total Pct"},"net_return_after_funding_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Net Return After Funding Pct"},"funding_share_of_net":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Funding Share Of Net"},"n_funding_events_charged":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Funding Events Charged"},"detected_interval_hours":{"$ref":"#/components/schemas/NullableNumberMap"},"rate_convention":{"type":"string","maxLength":2000,"title":"Rate Convention"},"flags":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Flags"}},"additionalProperties":false,"type":"object","required":["funding_pnl_total_pct","price_net_return_total_pct","net_return_after_funding_pct","funding_share_of_net","n_funding_events_charged","detected_interval_hours","rate_convention","flags"],"title":"FundingEvidence"},"FundingPoint":{"properties":{"ts":{"type":"string","maxLength":64,"minLength":4,"title":"Ts"},"rate":{"type":"number","title":"Rate"}},"additionalProperties":false,"type":"object","required":["ts","rate"],"title":"FundingPoint","description":"One perpetual funding settlement: decimal rate paid at ``ts``\n(positive = longs pay, negative = longs receive)."},"GauntletBudget":{"properties":{"cumulative_n":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Cumulative N"},"n_trials_effective":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Trials Effective"},"effective_n_method":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Effective N Method"},"break_even_n":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Break Even N"},"family_threshold_sharpe_per_obs":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Family Threshold Sharpe Per Obs"},"sketch_retained":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sketch Retained"},"sketch_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Sketch Note"},"note":{"type":"string","maxLength":2000,"title":"Note"}},"additionalProperties":false,"type":"object","required":["cumulative_n","n_trials_effective","effective_n_method","break_even_n","family_threshold_sharpe_per_obs","note"],"title":"GauntletBudget"},"GauntletOutput":{"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"schema":{"type":"string","const":"gauntlet.v1","title":"Schema"},"verdict":{"type":"string","enum":["pass","conditional","fail"],"title":"Verdict"},"budget":{"$ref":"#/components/schemas/GauntletBudget"},"stages":{"items":{"oneOf":[{"$ref":"#/components/schemas/NetEdgeStage"},{"$ref":"#/components/schemas/FundingEdgeStage"},{"$ref":"#/components/schemas/FamilyDeflationStage"},{"$ref":"#/components/schemas/PowerHonestyStage"},{"$ref":"#/components/schemas/SignificanceStage"},{"$ref":"#/components/schemas/CpcvStage"},{"$ref":"#/components/schemas/WalkForwardStage"},{"$ref":"#/components/schemas/ConcentrationStage"},{"$ref":"#/components/schemas/PlaceboStage"},{"$ref":"#/components/schemas/CapacityStage"},{"$ref":"#/components/schemas/GraveyardPriorStage"}],"discriminator":{"propertyName":"stage","mapping":{"capacity":"#/components/schemas/CapacityStage","concentration":"#/components/schemas/ConcentrationStage","cpcv":"#/components/schemas/CpcvStage","family_deflation":"#/components/schemas/FamilyDeflationStage","funding_edge":"#/components/schemas/FundingEdgeStage","graveyard_prior":"#/components/schemas/GraveyardPriorStage","net_edge":"#/components/schemas/NetEdgeStage","placebo":"#/components/schemas/PlaceboStage","power_honesty":"#/components/schemas/PowerHonestyStage","significance":"#/components/schemas/SignificanceStage","walk_forward":"#/components/schemas/WalkForwardStage"}}},"type":"array","maxItems":11,"minItems":1,"title":"Stages"},"failure_codes":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Failure Codes"},"family_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Family Id"},"spec_hash":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Spec Hash"},"data_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Data Note"},"disclaimer":{"type":"string","maxLength":2000,"title":"Disclaimer"},"died_at":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At"},"died_at_plain":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At Plain"}},"additionalProperties":false,"type":"object","required":["_meta","schema","verdict","budget","stages","failure_codes","family_id","spec_hash","disclaimer","died_at","died_at_plain"],"title":"GauntletOutput"},"GauntletRequest":{"properties":{"spec":{"$ref":"#/components/schemas/DslSpec"},"ohlcv_by_symbol":{"additionalProperties":{"$ref":"#/components/schemas/OhlcvSeries"},"type":"object","minProperties":1,"title":"Ohlcv By Symbol"},"adv_by_symbol_usd":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Adv By Symbol Usd"},"sigma_by_symbol_pct":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Sigma By Symbol Pct"},"funding_by_symbol":{"anyOf":[{"additionalProperties":{"items":{"$ref":"#/components/schemas/FundingPoint"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Funding By Symbol"},"sketch_opt_out":{"type":"boolean","title":"Sketch Opt Out","default":false},"fee_bps_per_side":{"type":"number","maximum":1000.0,"minimum":0.0,"title":"Fee Bps Per Side","default":10.0},"variants_in_call":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"Variants In Call","default":1},"n_placebos":{"type":"integer","maximum":2000.0,"minimum":10.0,"title":"N Placebos","default":500}},"additionalProperties":false,"type":"object","required":["spec","ohlcv_by_symbol"],"title":"GauntletRequest"},"GraveyardDigestDocument":{"properties":{"generated_at":{"type":"string","title":"Generated At"},"engine_version":{"type":"string","title":"Engine Version"},"totals":{"$ref":"#/components/schemas/GraveyardTotals"},"published_families":{"items":{"$ref":"#/components/schemas/GraveyardFamily"},"type":"array","title":"Published Families"},"definitions":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"type":"object","maxProperties":256,"title":"Definitions"},"k_anonymity_min_submitters":{"type":"integer","title":"K Anonymity Min Submitters"},"counts_disclosure":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Counts Disclosure"},"disclaimer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["generated_at","engine_version","totals","published_families","definitions","k_anonymity_min_submitters"],"title":"GraveyardDigestDocument"},"GraveyardDigestResponse":{"anyOf":[{"$ref":"#/components/schemas/UnsignedDocumentEnvelope_GraveyardDigestDocument_"},{"$ref":"#/components/schemas/SignedDocumentEnvelope_GraveyardDigestDocument_"}],"title":"GraveyardDigestResponse"},"GraveyardFamily":{"properties":{"signal_type":{"type":"string","title":"Signal Type"},"asset_class":{"type":"string","title":"Asset Class"},"timeframe":{"type":"string","title":"Timeframe"},"strategy":{"type":"string","title":"Strategy"},"tested":{"type":"integer","title":"Tested"},"killed":{"type":"integer","title":"Killed"},"survived":{"type":"integer","title":"Survived"},"kill_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Kill Rate"},"top_kill_reasons":{"items":{"type":"string"},"type":"array","title":"Top Kill Reasons"}},"additionalProperties":false,"type":"object","required":["signal_type","asset_class","timeframe","strategy","tested","killed","survived","kill_rate","top_kill_reasons"],"title":"GraveyardFamily"},"GraveyardPriorEvidence":{"properties":{"family_published":{"type":"boolean","title":"Family Published"},"prior_kill_rate":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Prior Kill Rate"},"top_kill_reasons":{"anyOf":[{"items":{"$ref":"#/components/schemas/KillReason"},"type":"array","maxItems":5},{"type":"null"}],"title":"Top Kill Reasons"}},"additionalProperties":false,"type":"object","required":["family_published","prior_kill_rate","top_kill_reasons"],"title":"GraveyardPriorEvidence"},"GraveyardPriorStage":{"properties":{"stage":{"type":"string","const":"graveyard_prior","title":"Stage"},"verdict":{"type":"string","const":"info","title":"Verdict"},"evidence":{"$ref":"#/components/schemas/GraveyardPriorEvidence"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["stage","verdict","evidence","detail"],"title":"GraveyardPriorStage"},"GraveyardTotals":{"properties":{"families":{"type":"integer","title":"Families"},"tested":{"type":"integer","title":"Tested"},"killed":{"type":"integer","title":"Killed"},"survived":{"type":"integer","title":"Survived"}},"additionalProperties":false,"type":"object","required":["families","tested","killed","survived"],"title":"GraveyardTotals"},"HacEvidence":{"properties":{"lo":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Lo"},"hi":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Hi"},"se_naive":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Se Naive"},"se_hac":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Se Hac"},"t_hac":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"T Hac"},"variance_ratio":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Variance Ratio"},"lag":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Lag"},"contains_zero":{"type":"boolean","title":"Contains Zero"},"method":{"type":"string","maxLength":2000,"title":"Method"}},"additionalProperties":false,"type":"object","required":["lo","hi","se_naive","se_hac","t_hac","variance_ratio","lag","contains_zero","method"],"title":"HacEvidence"},"HarveyLiuThreshold":{"properties":{"p_single":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"P Single"},"p_adjusted":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"P Adjusted"},"alpha":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Alpha"},"survives":{"type":"boolean","title":"Survives"}},"additionalProperties":false,"type":"object","required":["p_single","p_adjusted","alpha","survives"],"title":"HarveyLiuThreshold"},"HealthResponse":{"properties":{"status":{"type":"string","const":"ok","title":"Status"},"engine_version":{"type":"string","title":"Engine Version"},"api_version":{"type":"string","title":"Api Version"}},"additionalProperties":false,"type":"object","required":["status","engine_version","api_version"],"title":"HealthResponse"},"HypothesisTuple":{"properties":{"declared_pass_sharpe_annualized":{"type":"number","maximum":20.0,"exclusiveMinimum":0.0,"title":"Declared Pass Sharpe Annualized"},"max_evaluation_bars":{"type":"integer","maximum":10000.0,"minimum":4.0,"title":"Max Evaluation Bars"},"fee_bps_per_side":{"type":"number","maximum":1000.0,"minimum":0.0,"title":"Fee Bps Per Side","default":10.0},"trading_calendar":{"type":"string","pattern":"^(24/7|weekdays)$","title":"Trading Calendar","default":"24/7"},"rationale":{"type":"string","maxLength":2000,"title":"Rationale","default":""}},"additionalProperties":false,"type":"object","required":["declared_pass_sharpe_annualized","max_evaluation_bars"],"title":"HypothesisTuple","description":"v2 sealed success criteria; the engine validates ranges/floors."},"ImplementationUncertainty":{"properties":{"worst_case_total_return_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Worst Case Total Return Pct"},"best_case_total_return_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Best Case Total Return Pct"},"engine_spread_pp":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0.0},{"type":"number","maximum":1000000000000000.0,"minimum":0.0}],"title":"Engine Spread Pp"},"claimed_within_any_convention":{"type":"boolean","title":"Claimed Within Any Convention"}},"additionalProperties":false,"type":"object","required":["worst_case_total_return_pct","best_case_total_return_pct","engine_spread_pp","claimed_within_any_convention"],"title":"ImplementationUncertainty"},"IndependenceResult":{"properties":{"n00":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N00"},"n01":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N01"},"n10":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N10"},"n11":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N11"},"lr":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Lr"},"p":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"P"},"max_run":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Max Run"},"advisory_p_threshold":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Advisory P Threshold"}},"additionalProperties":false,"type":"object","required":["n00","n01","n10","n11","lr","p","max_run","advisory_p_threshold"],"title":"IndependenceResult"},"InsufficientStageEvidence":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["reason"],"title":"InsufficientStageEvidence"},"IntegerMap":{"patternProperties":{"^\\S+$":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0}},"additionalProperties":false,"propertyNames":{"maxLength":128,"minLength":1},"type":"object","maxProperties":256,"title":"IntegerMap","description":"Bounded runtime-keyed map of integer counts."},"InternalErrorResponse":{"anyOf":[{"$ref":"#/components/schemas/InternalFailureResponse"},{"$ref":"#/components/schemas/ApplicationErrorResponse"}],"title":"InternalErrorResponse","description":"Unhandled and application-level 500 envelopes."},"InternalFailureResponse":{"properties":{"error":{"type":"string","maxLength":300,"minLength":1,"title":"Error"},"request_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Request Id"}},"additionalProperties":false,"type":"object","required":["error"],"title":"InternalFailureResponse"},"JsonValue":{"anyOf":[{"type":"boolean"},{"maximum":1000000000000000,"minimum":-1000000000000000,"type":"integer"},{"maximum":1000000000000000,"minimum":-1000000000000000,"type":"number"},{"maxLength":262144,"type":"string","x-maxUtf8Bytes":262144},{"items":{"$ref":"#/components/schemas/JsonValue"},"maxItems":10000,"type":"array"},{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"maxProperties":256,"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"type":"object"},{"type":"null"}],"x-maxDepth":16,"x-maxNodes":10000},"KillReason":{"properties":{"reason":{"type":"string","maxLength":2000,"title":"Reason"},"count":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Count"}},"additionalProperties":false,"type":"object","required":["reason","count"],"title":"KillReason"},"KilledCount":{"properties":{"count":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Count"}},"additionalProperties":false,"type":"object","required":["count"],"title":"KilledCount"},"KupiecResult":{"properties":{"lr":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Lr"},"p":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"P"}},"additionalProperties":false,"type":"object","required":["lr","p"],"title":"KupiecResult"},"LeakageAttribution":{"properties":{"label":{"type":"string","enum":["clean","attributed"],"title":"Label"},"attributions":{"items":{"$ref":"#/components/schemas/LeakageAttributionEntry"},"type":"array","maxItems":10000,"title":"Attributions"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["label","attributions","detail"],"title":"LeakageAttribution"},"LeakageAttributionEntry":{"properties":{"leakage_class":{"type":"string","enum":["I","II","III"],"title":"Leakage Class"},"failure_class":{"type":"string","enum":["data_rights","pit_lookahead","survivorship","selection_multiple_testing","effective_n","oos_walk_forward","cpcv","costs_slippage_capacity","pbo_dsr_overfit","null_placebo","regime","execution","reproducibility","benchmark_overlap"],"title":"Failure Class"},"severity":{"type":"string","enum":["hard_fail","cap_verdict","major_penalty","minor_penalty","trust_gate"],"title":"Severity"},"source":{"type":"string","enum":["finding","execution_attestation"],"title":"Source"}},"additionalProperties":false,"type":"object","required":["leakage_class","failure_class","severity","source"],"title":"LeakageAttributionEntry"},"LeakageTaxonomy":{"properties":{"classes":{"items":{"type":"string","enum":["I","II","III"]},"type":"array","maxItems":3,"title":"Classes"},"label":{"type":"string","enum":["clean","class_I","class_II","class_III","multiple_leakage_classes"],"title":"Label"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["classes","label","detail"],"title":"LeakageTaxonomy"},"LegacyRestMeta":{"properties":{"engine_version":{"type":"string","title":"Engine Version"},"api_version":{"type":"string","title":"Api Version"},"as_of":{"type":"string","title":"As Of"},"input_digest":{"type":"string","title":"Input Digest"},"not_financial_advice":{"type":"boolean","const":true,"title":"Not Financial Advice"},"disclaimer":{"type":"string","title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["engine_version","api_version","as_of","input_digest","not_financial_advice","disclaimer"],"title":"LegacyRestMeta"},"McpPrice":{"properties":{"price_key":{"type":"string","title":"Price Key"},"price_usd":{"type":"number","title":"Price Usd"},"billing":{"anyOf":[{"type":"string","const":"per variant"},{"type":"null"}],"title":"Billing"}},"additionalProperties":false,"type":"object","required":["price_key","price_usd"],"title":"McpPrice"},"McpToolCounts":{"properties":{"total":{"type":"integer","title":"Total"},"free":{"type":"integer","title":"Free"},"paid":{"type":"integer","title":"Paid"}},"additionalProperties":false,"type":"object","required":["total","free","paid"],"title":"McpToolCounts"},"MetaFactsDocument":{"properties":{"service":{"type":"string","const":"AlphaAssay","title":"Service"},"namespace":{"type":"string","const":"com.alphaassay/mcp","title":"Namespace"},"engine_version":{"type":"string","title":"Engine Version"},"generated_at":{"type":"string","title":"Generated At"},"tool_count":{"type":"integer","title":"Tool Count"},"tool_free":{"type":"integer","title":"Tool Free"},"tool_paid":{"type":"integer","title":"Tool Paid"},"stages":{"items":{"type":"string"},"type":"array","title":"Stages"},"attacks":{"items":{"type":"string"},"type":"array","title":"Attacks"},"failure_code_count":{"type":"integer","title":"Failure Code Count"},"tools_list_url":{"type":"string","title":"Tools List Url"},"pricing_url":{"type":"string","title":"Pricing Url"},"docs_url":{"type":"string","title":"Docs Url"}},"additionalProperties":false,"type":"object","required":["service","namespace","engine_version","generated_at","tool_count","tool_free","tool_paid","stages","attacks","failure_code_count","tools_list_url","pricing_url","docs_url"],"title":"MetaFactsDocument"},"MetaFactsResponse":{"anyOf":[{"$ref":"#/components/schemas/UnsignedDocumentEnvelope_MetaFactsDocument_"},{"$ref":"#/components/schemas/SignedDocumentEnvelope_MetaFactsDocument_"}],"title":"MetaFactsResponse"},"MetricDivergence":{"properties":{"claimed":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Claimed"},"reproduced":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Reproduced"},"within_tolerance":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Within Tolerance"},"abs_diff":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0.0},{"type":"number","maximum":1000000000000000.0,"minimum":0.0},{"type":"null"}],"title":"Abs Diff"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["claimed","reproduced","within_tolerance"],"title":"MetricDivergence"},"MetricTolerance":{"properties":{"abs_pp":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0.0},{"type":"number","maximum":1000000000000000.0,"minimum":0.0}],"title":"Abs Pp"},"rel":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0.0},{"type":"number","maximum":1000000000000000.0,"minimum":0.0}],"title":"Rel"}},"additionalProperties":false,"type":"object","required":["abs_pp","rel"],"title":"MetricTolerance"},"MonitorChain":{"properties":{"seq":{"type":"integer","title":"Seq"},"event_hash":{"type":"string","title":"Event Hash"},"prev_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prev Hash"},"signature_b64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signature B64"}},"additionalProperties":false,"type":"object","required":["seq","event_hash","prev_hash","signature_b64"],"title":"MonitorChain"},"MonitorEnrollRequest":{"properties":{"cert_id":{"type":"string","maxLength":80,"minLength":1,"title":"Cert Id"}},"additionalProperties":false,"type":"object","required":["cert_id"],"title":"MonitorEnrollRequest"},"MonitorEnrollResponse":{"properties":{"enrolled":{"type":"boolean","const":true,"title":"Enrolled"},"already":{"type":"boolean","title":"Already"},"status":{"type":"string","title":"Status"},"thresholds":{"anyOf":[{"$ref":"#/components/schemas/MonitorThresholds"},{"type":"null"}]},"disclaimer":{"type":"string","title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["enrolled","already","status","disclaimer"],"title":"MonitorEnrollResponse"},"MonitorEvent":{"properties":{"seq":{"type":"integer","title":"Seq"},"status":{"type":"string","title":"Status"},"e_for":{"type":"number","title":"E For"},"e_against":{"type":"number","title":"E Against"},"wins":{"type":"integer","title":"Wins"},"losses":{"type":"integer","title":"Losses"},"ties":{"type":"integer","title":"Ties"},"window_start":{"type":"string","title":"Window Start"},"window_end":{"type":"string","title":"Window End"},"gap_disclosed":{"anyOf":[{"type":"boolean"},{"type":"integer"}],"title":"Gap Disclosed"},"prev_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prev Hash"},"event_hash":{"type":"string","title":"Event Hash"},"signature_b64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signature B64"},"created_at":{"type":"string","title":"Created At"},"cert_id":{"type":"string","title":"Cert Id"}},"additionalProperties":false,"type":"object","required":["seq","status","e_for","e_against","wins","losses","ties","window_start","window_end","gap_disclosed","prev_hash","event_hash","signature_b64","created_at","cert_id"],"title":"MonitorEvent"},"MonitorObservations":{"properties":{"wins":{"type":"integer","title":"Wins"},"losses":{"type":"integer","title":"Losses"},"ties":{"type":"integer","title":"Ties"},"total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total"}},"additionalProperties":false,"type":"object","required":["wins","losses","ties"],"title":"MonitorObservations"},"MonitorStatusResponse":{"properties":{"cert_id":{"type":"string","title":"Cert Id"},"status":{"type":"string","title":"Status"},"observations":{"$ref":"#/components/schemas/MonitorObservations"},"n_updates":{"type":"integer","title":"N Updates"},"gap_events":{"type":"integer","title":"Gap Events"},"window":{"$ref":"#/components/schemas/MonitorWindow"},"events":{"items":{"$ref":"#/components/schemas/MonitorEvent"},"type":"array","title":"Events"},"thresholds":{"$ref":"#/components/schemas/MonitorThresholds"},"disclaimer":{"type":"string","title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["cert_id","status","observations","n_updates","gap_events","window","events","thresholds","disclaimer"],"title":"MonitorStatusResponse"},"MonitorThresholds":{"properties":{"suspend_at_e_against":{"type":"number","title":"Suspend At E Against"},"stall_below_e_for":{"type":"number","title":"Stall Below E For"},"stall_min_observations":{"type":"integer","title":"Stall Min Observations"},"alpha":{"type":"number","title":"Alpha"},"ties_count_against_the_edge":{"type":"boolean","title":"Ties Count Against The Edge"}},"additionalProperties":false,"type":"object","required":["suspend_at_e_against","stall_below_e_for","stall_min_observations","alpha","ties_count_against_the_edge"],"title":"MonitorThresholds"},"MonitorUpdateRequest":{"properties":{"cert_id":{"type":"string","maxLength":80,"minLength":1,"title":"Cert Id"},"returns":{"items":{"type":"number"},"type":"array","maxItems":10000,"minItems":1,"title":"Returns"},"window_start":{"type":"string","maxLength":64,"minLength":1,"title":"Window Start"},"window_end":{"type":"string","maxLength":64,"minLength":1,"title":"Window End"}},"additionalProperties":false,"type":"object","required":["cert_id","returns","window_start","window_end"],"title":"MonitorUpdateRequest"},"MonitorUpdateResponse":{"properties":{"cert_id":{"type":"string","title":"Cert Id"},"status":{"type":"string","title":"Status"},"e_for":{"type":"number","title":"E For"},"e_against":{"type":"number","title":"E Against"},"observations":{"$ref":"#/components/schemas/MonitorObservations"},"n_updates":{"type":"integer","title":"N Updates"},"window":{"$ref":"#/components/schemas/MonitorWindow"},"gap_disclosed":{"type":"boolean","title":"Gap Disclosed"},"gap_events":{"type":"integer","title":"Gap Events"},"chain":{"$ref":"#/components/schemas/MonitorChain"},"thresholds":{"$ref":"#/components/schemas/MonitorThresholds"},"disclaimer":{"type":"string","title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["cert_id","status","e_for","e_against","observations","n_updates","window","gap_disclosed","gap_events","chain","thresholds","disclaimer"],"title":"MonitorUpdateResponse"},"MonitorWindow":{"properties":{"start":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End"}},"additionalProperties":false,"type":"object","required":["start","end"],"title":"MonitorWindow"},"NetEdgeEvidence":{"properties":{"net_sharpe_annualized":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Net Sharpe Annualized"},"net_return_total_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Net Return Total Pct"},"trades":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Trades"},"bars":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Bars"}},"additionalProperties":false,"type":"object","required":["net_sharpe_annualized","net_return_total_pct","trades","bars"],"title":"NetEdgeEvidence"},"NetEdgeStage":{"properties":{"stage":{"type":"string","const":"net_edge","title":"Stage"},"verdict":{"type":"string","enum":["pass","fail"],"title":"Verdict"},"evidence":{"$ref":"#/components/schemas/NetEdgeEvidence"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["stage","verdict","evidence","detail"],"title":"NetEdgeStage"},"NormalityEvidence":{"properties":{"skew":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Skew"},"excess_kurtosis":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Excess Kurtosis"},"normal_plausible":{"type":"boolean","title":"Normal Plausible"}},"additionalProperties":false,"type":"object","required":["skew","excess_kurtosis","normal_plausible"],"title":"NormalityEvidence"},"NullableNumberMap":{"patternProperties":{"^\\S+$":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}]}},"additionalProperties":false,"propertyNames":{"maxLength":128,"minLength":1},"type":"object","maxProperties":256,"title":"NullableNumberMap","description":"Bounded runtime-keyed map of finite or unavailable numbers."},"NumberMap":{"patternProperties":{"^\\S+$":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]}},"additionalProperties":false,"propertyNames":{"maxLength":128,"minLength":1},"type":"object","maxProperties":256,"title":"NumberMap","description":"Bounded runtime-keyed map of finite numbers."},"OhlcvSeries":{"properties":{"time":{"items":{"type":"string"},"type":"array","maxItems":5000,"minItems":1,"title":"Time"},"open":{"items":{"type":"number"},"type":"array","title":"Open"},"high":{"items":{"type":"number"},"type":"array","title":"High"},"low":{"items":{"type":"number"},"type":"array","title":"Low"},"close":{"items":{"type":"number"},"type":"array","title":"Close"},"volume":{"items":{"type":"number"},"type":"array","title":"Volume"}},"additionalProperties":false,"type":"object","required":["time","open","high","low","close","volume"],"title":"OhlcvSeries"},"ParameterNeighbourhoodAttack":{"properties":{"attack":{"type":"string","const":"parameter_neighbourhood","title":"Attack"},"dimension":{"type":"string","const":"overfit","title":"Dimension"},"survives":{"type":"boolean","title":"Survives"},"kill_point":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Kill Point"},"evidence":{"$ref":"#/components/schemas/ParameterNeighbourhoodEvidence"},"plain_language":{"type":"string","maxLength":2000,"title":"Plain Language"}},"additionalProperties":false,"type":"object","required":["attack","dimension","survives","kill_point","evidence","plain_language"],"title":"ParameterNeighbourhoodAttack"},"ParameterNeighbourhoodEvidence":{"properties":{"base_sharpe":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Base Sharpe"},"neighbour_sharpe":{"$ref":"#/components/schemas/NumberMap"},"stability_surface":{"$ref":"#/components/schemas/NumberMap"},"neighbour_survival_share":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Neighbour Survival Share"},"worst_to_base_ratio":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Worst To Base Ratio"}},"additionalProperties":false,"type":"object","required":["base_sharpe","neighbour_sharpe","stability_surface","neighbour_survival_share","worst_to_base_ratio"],"title":"ParameterNeighbourhoodEvidence"},"PboDegradation":{"properties":{"slope":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Slope"},"intercept":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Intercept"},"prob_oos_loss":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Prob Oos Loss"},"n_pairs":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Pairs"},"interpretation":{"type":"string","maxLength":2000,"title":"Interpretation"}},"additionalProperties":false,"type":"object","required":["slope","intercept","prob_oos_loss","n_pairs","interpretation"],"title":"PboDegradation"},"PboOutput":{"allOf":[{"if":{"properties":{"status":{"const":"computed"}},"required":["status"]},"then":{"properties":{"overfit_flag":{"not":{"type":"null"}},"mean_logit":{"not":{"type":"null"}},"n_rows":{"not":{"type":"null"}},"n_configs":{"not":{"type":"null"}},"n_splits":{"not":{"type":"null"}},"n_evaluated_splits":{"not":{"type":"null"}},"n_blocked_splits":{"not":{"type":"null"}},"interpretation":{"not":{"type":"null"}},"degradation":{"not":{"type":"null"}},"stochastic_dominance":{"not":{"type":"null"}},"reason":{"type":"null"}},"required":["overfit_flag","mean_logit","n_rows","n_configs","n_splits","n_evaluated_splits","n_blocked_splits","interpretation","degradation","stochastic_dominance"]}},{"if":{"properties":{"status":{"const":"blocked"}},"required":["status"]},"then":{"properties":{"reason":{"not":{"type":"null"}},"pbo":{"type":"null"},"degradation":{"type":"null"},"stochastic_dominance":{"type":"null"},"overfit_flag":{"type":"null"},"mean_logit":{"type":"null"},"n_evaluated_splits":{"type":"null"},"interpretation":{"type":"null"}},"required":["reason"]}}],"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"method":{"type":"string","const":"CSCV_combinatorial_pbo_purged_embargoed","title":"Method"},"status":{"type":"string","enum":["blocked","computed"],"title":"Status"},"verdict":{"type":"string","enum":["pass","fail","insufficient_evidence"],"title":"Verdict"},"pbo":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Pbo"},"pbo_high_threshold":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Pbo High Threshold"},"n_groups":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Groups"},"purge":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Purge"},"embargo":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Embargo"},"periods_per_year":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Periods Per Year"},"died_at":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At"},"died_at_plain":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At Plain"},"failure_codes":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Failure Codes"},"degradation":{"anyOf":[{"$ref":"#/components/schemas/PboDegradation"},{"type":"null"}]},"stochastic_dominance":{"anyOf":[{"$ref":"#/components/schemas/PboStochasticDominance"},{"type":"null"}]},"reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Reason"},"overfit_flag":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Overfit Flag"},"mean_logit":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Mean Logit"},"n_rows":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Rows"},"n_configs":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Configs"},"n_splits":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Splits"},"n_evaluated_splits":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Evaluated Splits"},"n_blocked_splits":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Blocked Splits"},"interpretation":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Interpretation"}},"additionalProperties":false,"type":"object","required":["_meta","method","status","verdict","pbo","pbo_high_threshold","n_groups","purge","embargo","periods_per_year","died_at","died_at_plain","failure_codes","degradation","stochastic_dominance"],"title":"PboOutput","x-relations":["n_evaluated_splits + n_blocked_splits == n_splits when status == computed"]},"PboRequest":{"properties":{"returns_matrix":{"items":{"items":{"type":"number"},"type":"array"},"type":"array","maxItems":5000,"minItems":1,"title":"Returns Matrix"},"n_groups":{"type":"integer","maximum":16.0,"minimum":2.0,"title":"N Groups","default":8},"purge":{"type":"integer","maximum":1000.0,"minimum":0.0,"title":"Purge","default":0},"embargo":{"type":"integer","maximum":1000.0,"minimum":0.0,"title":"Embargo","default":0},"periods_per_year":{"type":"number","maximum":525600.0,"exclusiveMinimum":0.0,"title":"Periods Per Year","default":365.0}},"additionalProperties":false,"type":"object","required":["returns_matrix"],"title":"PboRequest","description":"T x N trial matrix: rows = time-ordered periods, columns = configs.\n\nThe caps mirror ats_mcp.pbo_assay (MAX_ROWS/MAX_CONFIGS); the engine\nadditionally fails closed on its compute budget, so an accepted body can\nstill earn a blocked report -- that is a verdict, not an input error."},"PboStochasticDominance":{"properties":{"first_order":{"type":"string","enum":["selected_dominates","pool_dominates","none"],"title":"First Order"},"max_cdf_gap_pool_over_selected":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Max Cdf Gap Pool Over Selected"},"max_cdf_gap_selected_over_pool":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Max Cdf Gap Selected Over Pool"},"n_selected":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Selected"},"n_pool":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Pool"},"interpretation":{"type":"string","maxLength":2000,"title":"Interpretation"}},"additionalProperties":false,"type":"object","required":["first_order","max_cdf_gap_pool_over_selected","max_cdf_gap_selected_over_pool","n_selected","n_pool","interpretation"],"title":"PboStochasticDominance"},"PermutationEvidence":{"properties":{"pvalue":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Pvalue"},"n_permutations":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Permutations"}},"additionalProperties":false,"type":"object","required":["pvalue"],"title":"PermutationEvidence"},"PlaceboEvidence":{"properties":{"percentile":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Percentile"},"n_placebos_effective":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Placebos Effective"},"basis":{"type":"string","const":"per_trade_gross","title":"Basis"},"sign_shuffle_percentile":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Sign Shuffle Percentile"},"chronology_percentile":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Chronology Percentile"},"real_trade_sharpe_annualized":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Real Trade Sharpe Annualized"}},"additionalProperties":false,"type":"object","required":["percentile","n_placebos_effective","basis","sign_shuffle_percentile","chronology_percentile","real_trade_sharpe_annualized"],"title":"PlaceboEvidence"},"PlaceboStage":{"properties":{"stage":{"type":"string","const":"placebo","title":"Stage"},"verdict":{"type":"string","enum":["pass","fail","warn","skipped"],"title":"Verdict"},"evidence":{"$ref":"#/components/schemas/PlaceboEvidence"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["stage","verdict","evidence","detail"],"title":"PlaceboStage"},"PowerHonestyEvidence":{"properties":{"min_btl_obs":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Min Btl Obs"},"bars":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Bars"},"n_trials_effective":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Trials Effective"},"achieved_power":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Achieved Power"},"cohens_d":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Cohens D"},"n_required_80":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Required 80"},"underpowered":{"type":"boolean","title":"Underpowered"}},"additionalProperties":false,"type":"object","required":["min_btl_obs","bars","n_trials_effective","achieved_power","cohens_d","n_required_80","underpowered"],"title":"PowerHonestyEvidence"},"PowerHonestyStage":{"properties":{"stage":{"type":"string","const":"power_honesty","title":"Stage"},"verdict":{"type":"string","enum":["pass","fail","info"],"title":"Verdict"},"evidence":{"$ref":"#/components/schemas/PowerHonestyEvidence"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["stage","verdict","evidence","detail"],"title":"PowerHonestyStage"},"PreregEvaluateRequest":{"properties":{"prereg_id":{"type":"string","maxLength":40,"minLength":4,"pattern":"^pr_[0-9a-f]{16}$","title":"Prereg Id"},"ohlcv_by_symbol":{"additionalProperties":{"$ref":"#/components/schemas/OhlcvSeries"},"type":"object","minProperties":1,"title":"Ohlcv By Symbol"},"fee_bps_per_side":{"anyOf":[{"type":"number","maximum":1000.0,"minimum":0.0},{"type":"null"}],"title":"Fee Bps Per Side"}},"additionalProperties":false,"type":"object","required":["prereg_id","ohlcv_by_symbol"],"title":"PreregEvaluateRequest"},"PreregListResponse":{"properties":{"_meta":{"$ref":"#/components/schemas/LegacyRestMeta"},"registrations":{"items":{"$ref":"#/components/schemas/PreregistrationSummary"},"type":"array","title":"Registrations"}},"additionalProperties":false,"type":"object","required":["_meta","registrations"],"title":"PreregListResponse"},"PreregRegisterRequest":{"properties":{"spec":{"$ref":"#/components/schemas/DslSpec"},"maturity_bars":{"type":"integer","maximum":10000.0,"minimum":4.0,"title":"Maturity Bars","default":30},"embargo_bars":{"type":"integer","maximum":1000.0,"minimum":0.0,"title":"Embargo Bars","default":3},"hypothesis":{"anyOf":[{"$ref":"#/components/schemas/HypothesisTuple"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["spec"],"title":"PreregRegisterRequest"},"PreregistrationSummary":{"properties":{"prereg_id":{"type":"string","title":"Prereg Id"},"user_id":{"type":"string","title":"User Id"},"family_id":{"type":"string","title":"Family Id"},"spec_hash":{"type":"string","title":"Spec Hash"},"status":{"type":"string","title":"Status"},"registered_at":{"type":"string","title":"Registered At"},"evaluation_start_at":{"type":"string","title":"Evaluation Start At"},"anchor_batch_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Anchor Batch Date"}},"additionalProperties":false,"type":"object","required":["prereg_id","user_id","family_id","spec_hash","status","registered_at","evaluation_start_at","anchor_batch_date"],"title":"PreregistrationSummary"},"PricePair":{"properties":{"price":{"type":"number","title":"Price"},"repeat_family":{"type":"number","title":"Repeat Family"}},"additionalProperties":false,"type":"object","required":["price","repeat_family"],"title":"PricePair"},"PricingResponse":{"properties":{"currency":{"type":"string","const":"USD","title":"Currency"},"principle":{"type":"string","title":"Principle"},"tools":{"additionalProperties":{"$ref":"#/components/schemas/PricePair"},"type":"object","title":"Tools"},"free":{"items":{"type":"string"},"type":"array","title":"Free"},"rest_free":{"items":{"type":"string"},"type":"array","title":"Rest Free"},"mcp_tools":{"additionalProperties":{"$ref":"#/components/schemas/McpPrice"},"type":"object","title":"Mcp Tools"},"mcp_tool_counts":{"$ref":"#/components/schemas/McpToolCounts"},"rest_only":{"items":{"type":"string"},"type":"array","title":"Rest Only"},"free_checks_per_account":{"type":"integer","title":"Free Checks Per Account"},"certificate_usd":{"type":"number","title":"Certificate Usd"},"credit_packs_usd":{"items":{"type":"integer"},"type":"array","title":"Credit Packs Usd"},"bonus_pct_from_100":{"type":"integer","title":"Bonus Pct From 100"},"disclaimer":{"type":"string","title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["currency","principle","tools","free","rest_free","mcp_tools","mcp_tool_counts","rest_only","free_checks_per_account","certificate_usd","credit_packs_usd","bonus_pct_from_100","disclaimer"],"title":"PricingResponse"},"PricingTermsDocument":{"properties":{"service":{"type":"string","const":"AlphaAssay","title":"Service"},"namespace":{"type":"string","const":"com.alphaassay/mcp","title":"Namespace"},"description":{"type":"string","title":"Description"},"pricing":{"$ref":"#/components/schemas/PricingTermsPricing"},"terms_url":{"type":"string","title":"Terms Url"},"calibration_url":{"type":"string","title":"Calibration Url"},"verify_url":{"type":"string","title":"Verify Url"},"disclaimer":{"type":"string","title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["service","namespace","description","pricing","terms_url","calibration_url","verify_url","disclaimer"],"title":"PricingTermsDocument"},"PricingTermsPricing":{"properties":{"currency":{"type":"string","const":"USD","title":"Currency"},"principle":{"type":"string","title":"Principle"},"flat_price_per_call_usd":{"type":"number","title":"Flat Price Per Call Usd"},"tools":{"additionalProperties":{"$ref":"#/components/schemas/PricePair"},"type":"object","title":"Tools"},"free":{"items":{"type":"string"},"type":"array","title":"Free"},"rest_free":{"items":{"type":"string"},"type":"array","title":"Rest Free"},"mcp_tools":{"additionalProperties":{"$ref":"#/components/schemas/McpPrice"},"type":"object","title":"Mcp Tools"},"mcp_tool_counts":{"$ref":"#/components/schemas/McpToolCounts"},"rest_only":{"items":{"type":"string"},"type":"array","title":"Rest Only"},"free_checks_per_account":{"type":"integer","title":"Free Checks Per Account"},"certificate_usd":{"type":"number","title":"Certificate Usd"},"credit_packs_usd":{"items":{"type":"integer"},"type":"array","title":"Credit Packs Usd"},"bonus_pct_from_100":{"type":"integer","title":"Bonus Pct From 100"},"credit_pack_value_usd":{"additionalProperties":{"type":"number"},"type":"object","title":"Credit Pack Value Usd"},"payment":{"items":{"type":"string"},"type":"array","title":"Payment"},"live_price_url":{"type":"string","title":"Live Price Url"}},"additionalProperties":false,"type":"object","required":["currency","principle","flat_price_per_call_usd","tools","free","rest_free","mcp_tools","mcp_tool_counts","rest_only","free_checks_per_account","certificate_usd","credit_packs_usd","bonus_pct_from_100","credit_pack_value_usd","payment","live_price_url"],"title":"PricingTermsPricing"},"PricingTermsResponse":{"anyOf":[{"$ref":"#/components/schemas/UnsignedDocumentEnvelope_PricingTermsDocument_"},{"$ref":"#/components/schemas/SignedDocumentEnvelope_PricingTermsDocument_"}],"title":"PricingTermsResponse"},"PublicAnchor":{"properties":{"batch_date":{"type":"string","title":"Batch Date"},"merkle_root":{"type":"string","title":"Merkle Root"},"leaf_count":{"type":"integer","title":"Leaf Count"},"prev_root":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prev Root"},"published_at":{"type":"string","title":"Published At"}},"additionalProperties":false,"type":"object","required":["batch_date","merkle_root","leaf_count","prev_root","published_at"],"title":"PublicAnchor"},"PublicAnchorResponse":{"properties":{"anchor":{"anyOf":[{"$ref":"#/components/schemas/PublicAnchor"},{"type":"null"}]},"note":{"type":"string","title":"Note"}},"additionalProperties":false,"type":"object","required":["anchor","note"],"title":"PublicAnchorResponse"},"PublicCalibration":{"properties":{"registrations":{"$ref":"#/components/schemas/CalibrationRegistrations"},"forward_outcomes":{"$ref":"#/components/schemas/CalibrationForwardOutcomes"},"honesty":{"type":"string","const":"insufficient_history","title":"Honesty"},"scope":{"$ref":"#/components/schemas/CalibrationScope"},"disclaimer":{"type":"string","maxLength":2000,"title":"Disclaimer"},"counts_disclosure":{"type":"string","maxLength":2000,"title":"Counts Disclosure"}},"additionalProperties":false,"type":"object","required":["registrations","forward_outcomes","honesty","scope","disclaimer","counts_disclosure"],"title":"PublicCalibration"},"PublicMeta":{"properties":{"engine_version":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Engine Version"},"api_version":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Api Version"},"as_of":{"type":"string","maxLength":20,"minLength":20,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$","format":"date-time","title":"As Of"},"input_digest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","title":"Input Digest"},"request_digest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","title":"Request Digest"},"tenant_scope":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Tenant Scope"},"tenant_scope_version":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Tenant Scope Version"},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Request Id"},"source_identity_digest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","title":"Source Identity Digest"},"operation":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Operation"},"statefulness":{"type":"string","enum":["pure","public_read","tenant_read","tenant_write"],"title":"Statefulness"},"not_financial_advice":{"type":"boolean","const":true,"title":"Not Financial Advice"},"disclaimer":{"type":"string","maxLength":2000,"title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["engine_version","api_version","as_of","input_digest","request_digest","tenant_scope","tenant_scope_version","request_id","source_identity_digest","operation","statefulness","not_financial_advice","disclaimer"],"title":"PublicMeta","x-relations":["as_of is a real UTC RFC3339 second"]},"RandomTimingDiagnosis":{"properties":{"id":{"type":"string","const":"same_symbol_random_timing_placebo","title":"Id"},"finding":{"type":"string","maxLength":2000,"title":"Finding"},"severity":{"type":"string","enum":["high","ok","insufficient_power"],"title":"Severity"},"evidence":{"$ref":"#/components/schemas/RandomTimingEvidence"},"plain_language_explanation":{"type":"string","maxLength":2000,"title":"Plain Language Explanation"}},"additionalProperties":false,"type":"object","required":["id","finding","severity","evidence","plain_language_explanation"],"title":"RandomTimingDiagnosis"},"RandomTimingEvidence":{"properties":{"null_window_candidates":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Null Window Candidates"},"percentile":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Percentile"},"empirical_p_value":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Empirical P Value"},"observed_mean_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Observed Mean Pct"},"n_null_windows":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Null Windows"},"seed":{"anyOf":[{"type":"integer","maximum":1.8446744073709552e+19,"minimum":0.0},{"type":"null"}],"title":"Seed"}},"additionalProperties":false,"type":"object","title":"RandomTimingEvidence"},"RegimeSplitAttack":{"properties":{"attack":{"type":"string","const":"regime_split","title":"Attack"},"dimension":{"type":"string","const":"regime_dependence","title":"Dimension"},"survives":{"type":"boolean","title":"Survives"},"kill_point":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Kill Point"},"evidence":{"$ref":"#/components/schemas/RegimeSplitAttackEvidence"},"plain_language":{"type":"string","maxLength":2000,"title":"Plain Language"}},"additionalProperties":false,"type":"object","required":["attack","dimension","survives","kill_point","evidence","plain_language"],"title":"RegimeSplitAttack"},"RegimeSplitAttackEvidence":{"properties":{"first_half_sharpe":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"First Half Sharpe"},"second_half_sharpe":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Second Half Sharpe"}},"additionalProperties":false,"type":"object","required":["first_half_sharpe","second_half_sharpe"],"title":"RegimeSplitAttackEvidence"},"RegisterOutput":{"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"prereg_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Prereg Id"},"family_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Family Id"},"spec_hash":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Spec Hash"},"anchor_hash":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Anchor Hash"},"registered_at":{"type":"string","maxLength":64,"minLength":1,"title":"Registered At"},"evaluation_start_at":{"type":"string","maxLength":64,"minLength":1,"title":"Evaluation Start At"},"maturity_bars":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Maturity Bars"},"engine_version":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Engine Version"},"ledger_cumulative_n":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Ledger Cumulative N"},"created":{"type":"boolean","title":"Created"},"disclaimer":{"type":"string","maxLength":2000,"title":"Disclaimer"},"status":{"anyOf":[{"type":"string","enum":["registered","maturing","evaluated","withdrawn"]},{"type":"null"}],"title":"Status"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"},"hypothesis_hash":{"anyOf":[{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$"},{"type":"null"}],"title":"Hypothesis Hash"},"hypothesis":{"anyOf":[{"$ref":"#/components/schemas/SealedHypothesis"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["_meta","prereg_id","family_id","spec_hash","anchor_hash","registered_at","evaluation_start_at","maturity_bars","engine_version","ledger_cumulative_n","created","disclaimer"],"title":"RegisterOutput"},"RejectedSignalEvent":{"properties":{"decision_time":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Decision Time"},"symbol":{"anyOf":[{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$"},{"type":"null"}],"title":"Symbol"},"direction":{"anyOf":[{"type":"string","enum":["long","short"]},{"type":"null"}],"title":"Direction"},"confidence":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Confidence"}},"additionalProperties":false,"type":"object","title":"RejectedSignalEvent"},"ReproduceClaimedMetrics":{"properties":{"total_return_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Total Return Pct"},"max_drawdown_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Max Drawdown Pct"},"win_rate":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Win Rate"},"n_trades":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Trades"},"sharpe_annualized":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Sharpe Annualized"}},"additionalProperties":false,"type":"object","title":"ReproduceClaimedMetrics"},"ReproduceDivergence":{"properties":{"total_return_pct":{"anyOf":[{"$ref":"#/components/schemas/MetricDivergence"},{"type":"null"}]},"max_drawdown_pct":{"anyOf":[{"$ref":"#/components/schemas/MetricDivergence"},{"type":"null"}]},"win_rate":{"anyOf":[{"$ref":"#/components/schemas/MetricDivergence"},{"type":"null"}]},"n_trades":{"anyOf":[{"$ref":"#/components/schemas/MetricDivergence"},{"type":"null"}]},"sharpe_annualized":{"anyOf":[{"$ref":"#/components/schemas/MetricDivergence"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"ReproduceDivergence"},"ReproduceOutput":{"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"schema":{"type":"string","const":"reproduce.v1","title":"Schema"},"verdict":{"type":"string","enum":["reproduced","not_reproduced","insufficient_evidence"],"title":"Verdict"},"reproduced":{"$ref":"#/components/schemas/ReproducedMetrics"},"claimed":{"$ref":"#/components/schemas/ReproduceClaimedMetrics"},"divergence":{"$ref":"#/components/schemas/ReproduceDivergence"},"tolerances":{"$ref":"#/components/schemas/ReproduceTolerances"},"findings":{"items":{"$ref":"#/components/schemas/AuditFinding"},"type":"array","maxItems":10000,"title":"Findings"},"failure_codes":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Failure Codes"},"fill_ambiguity":{"anyOf":[{"$ref":"#/components/schemas/FillAmbiguity"},{"type":"null"}]},"implementation_uncertainty":{"anyOf":[{"$ref":"#/components/schemas/ImplementationUncertainty"},{"type":"null"}]},"n_trades":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Trades"},"fee_bps_per_side":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0.0},{"type":"number","maximum":1000000000000000.0,"minimum":0.0}],"title":"Fee Bps Per Side"},"disclaimer":{"type":"string","maxLength":2000,"title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["_meta","schema","verdict","reproduced","claimed","divergence","tolerances","findings","failure_codes","fill_ambiguity","implementation_uncertainty","n_trades","fee_bps_per_side","disclaimer"],"title":"ReproduceOutput"},"ReproduceRequest":{"properties":{"trades":{"items":{"$ref":"#/components/schemas/ReproduceTradeRow"},"type":"array","maxItems":10000,"minItems":1,"title":"Trades"},"ohlcv_by_symbol":{"additionalProperties":{"$ref":"#/components/schemas/OhlcvSeries"},"type":"object","minProperties":1,"title":"Ohlcv By Symbol"},"claimed":{"additionalProperties":{"type":"number"},"type":"object","maxProperties":16,"minProperties":1,"title":"Claimed"},"fee_bps_per_side":{"type":"number","maximum":1000.0,"minimum":0.0,"title":"Fee Bps Per Side","default":10.0}},"additionalProperties":false,"type":"object","required":["trades","ohlcv_by_symbol","claimed"],"title":"ReproduceRequest","description":"Arithmetic audit input: trades + candles + the claimed metrics.\n\nClaimed values stay a loose numeric mapping -- the engine grades\nunknown keys as not assessable instead of bouncing the request."},"ReproduceTolerances":{"properties":{"total_return_pct":{"$ref":"#/components/schemas/MetricTolerance"},"max_drawdown_pct":{"$ref":"#/components/schemas/MetricTolerance"},"win_rate":{"$ref":"#/components/schemas/MetricTolerance"},"n_trades":{"$ref":"#/components/schemas/MetricTolerance"},"sharpe_annualized":{"$ref":"#/components/schemas/MetricTolerance"}},"additionalProperties":false,"type":"object","required":["total_return_pct","max_drawdown_pct","win_rate","n_trades","sharpe_annualized"],"title":"ReproduceTolerances"},"ReproduceTradeRow":{"properties":{"symbol":{"type":"string","maxLength":32,"minLength":1,"title":"Symbol"},"side":{"type":"string","pattern":"^(long|short)$","title":"Side"},"entry_time":{"type":"string","maxLength":64,"minLength":1,"title":"Entry Time"},"exit_time":{"type":"string","maxLength":64,"minLength":1,"title":"Exit Time"},"entry_price":{"type":"number","title":"Entry Price"},"exit_price":{"type":"number","title":"Exit Price"},"exit_order":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Exit Order"}},"additionalProperties":false,"type":"object","required":["symbol","side","entry_time","exit_time","entry_price","exit_price"],"title":"ReproduceTradeRow"},"ReproducedMetrics":{"properties":{"total_return_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Total Return Pct"},"max_drawdown_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0.0},{"type":"number","maximum":1000000000000000.0,"minimum":0.0}],"title":"Max Drawdown Pct"},"win_rate":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Win Rate"},"n_trades":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Trades"},"sharpe_annualized":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Sharpe Annualized"}},"additionalProperties":false,"type":"object","required":["total_return_pct","max_drawdown_pct","win_rate","n_trades","sharpe_annualized"],"title":"ReproducedMetrics"},"ReproducibilityReadiness":{"properties":{"tier":{"type":"string","enum":["R0","R1","R2","R3"],"title":"Tier"},"label":{"type":"string","maxLength":2000,"title":"Label"},"severity":{"type":"string","const":"trust_gate","title":"Severity"},"present":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Present"},"missing":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Missing"},"cap_reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Cap Reason"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["tier","label","severity","present","missing","cap_reason","detail"],"title":"ReproducibilityReadiness"},"SealedHypothesis":{"properties":{"declared_pass_sharpe_annualized":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Declared Pass Sharpe Annualized"},"max_evaluation_bars":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Max Evaluation Bars"},"fee_bps_per_side":{"anyOf":[{"type":"integer","maximum":1000.0,"minimum":0.0},{"type":"number","maximum":1000.0,"minimum":0.0}],"title":"Fee Bps Per Side"},"trading_calendar":{"type":"string","enum":["24/7","weekdays"],"title":"Trading Calendar"},"rationale":{"type":"string","maxLength":2000,"title":"Rationale"}},"additionalProperties":false,"type":"object","required":["declared_pass_sharpe_annualized","max_evaluation_bars","fee_bps_per_side","trading_calendar","rationale"],"title":"SealedHypothesis"},"ServerCardResponse":{"properties":{"name":{"type":"string","const":"com.alphaassay/mcp","title":"Name"},"description":{"type":"string","title":"Description"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"engine_version":{"type":"string","title":"Engine Version"},"status":{"type":"string","const":"active","title":"Status"},"tool_prefix":{"type":"string","const":"assay_","title":"Tool Prefix"},"tool_count":{"type":"integer","title":"Tool Count"},"tool_names":{"items":{"type":"string"},"type":"array","title":"Tool Names"},"schema_registry_digest":{"type":"string","title":"Schema Registry Digest"},"remote":{"$ref":"#/components/schemas/ServerRemote"},"tools_list_url":{"type":"string","title":"Tools List Url"},"website_url":{"type":"string","title":"Website Url"},"pricing_url":{"type":"string","title":"Pricing Url"},"facts_url":{"type":"string","title":"Facts Url"},"docs_url":{"type":"string","title":"Docs Url"}},"additionalProperties":false,"type":"object","required":["name","description","version","engine_version","status","tool_prefix","tool_count","tool_names","schema_registry_digest","remote","tools_list_url","website_url","pricing_url","facts_url","docs_url"],"title":"ServerCardResponse"},"ServerManifestResponse":{"properties":{"$schema":{"type":"string","title":"$Schema"},"name":{"type":"string","const":"com.alphaassay/mcp","title":"Name"},"description":{"type":"string","title":"Description"},"status":{"type":"string","const":"active","title":"Status"},"version":{"type":"string","title":"Version"},"websiteUrl":{"type":"string","title":"Websiteurl"},"remotes":{"items":{"$ref":"#/components/schemas/ServerRemote"},"type":"array","title":"Remotes"},"_meta":{"$ref":"#/components/schemas/ServerMetadata"}},"additionalProperties":false,"type":"object","required":["$schema","name","description","status","version","websiteUrl","remotes","_meta"],"title":"ServerManifestResponse"},"ServerMetadata":{"properties":{"com.alphaassay/publisher":{"$ref":"#/components/schemas/ServerPublisher"}},"additionalProperties":false,"type":"object","required":["com.alphaassay/publisher"],"title":"ServerMetadata"},"ServerPublisher":{"properties":{"tool_prefix":{"type":"string","const":"assay_","title":"Tool Prefix"},"tool_count":{"type":"integer","title":"Tool Count"},"tool_names":{"items":{"type":"string"},"type":"array","title":"Tool Names"},"schema_registry_digest":{"type":"string","title":"Schema Registry Digest"},"pricing_url":{"type":"string","title":"Pricing Url"},"keywords":{"items":{"type":"string"},"type":"array","title":"Keywords"}},"additionalProperties":false,"type":"object","required":["tool_prefix","tool_count","tool_names","schema_registry_digest","pricing_url","keywords"],"title":"ServerPublisher"},"ServerRemote":{"properties":{"type":{"type":"string","const":"streamable-http","title":"Type"},"url":{"type":"string","title":"Url"}},"additionalProperties":false,"type":"object","required":["type","url"],"title":"ServerRemote"},"SessionBudget":{"properties":{"cumulative_n":{"type":"integer","title":"Cumulative N"},"note":{"type":"string","title":"Note"}},"additionalProperties":false,"type":"object","required":["cumulative_n","note"],"title":"SessionBudget"},"SessionFailureCode":{"properties":{"code":{"type":"string","title":"Code"},"count":{"type":"integer","title":"Count"}},"additionalProperties":false,"type":"object","required":["code","count"],"title":"SessionFailureCode"},"SessionLastRun":{"properties":{"verdict":{"type":"string","title":"Verdict"},"died_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Died At"},"at":{"type":"string","title":"At"}},"additionalProperties":false,"type":"object","required":["verdict","died_at","at"],"title":"SessionLastRun"},"SessionReportResponse":{"properties":{"_meta":{"$ref":"#/components/schemas/LegacyRestMeta"},"schema":{"type":"string","const":"session.v1","title":"Schema"},"family_id":{"type":"string","title":"Family Id"},"gauntlet_runs":{"type":"integer","title":"Gauntlet Runs"},"verdict_hist":{"additionalProperties":{"type":"integer"},"type":"object","title":"Verdict Hist"},"died_at_hist":{"additionalProperties":{"type":"integer"},"type":"object","title":"Died At Hist"},"top_failure_codes":{"items":{"$ref":"#/components/schemas/SessionFailureCode"},"type":"array","title":"Top Failure Codes"},"last_runs":{"items":{"$ref":"#/components/schemas/SessionLastRun"},"type":"array","title":"Last Runs"},"budget":{"$ref":"#/components/schemas/SessionBudget"},"disclaimer":{"type":"string","title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["_meta","schema","family_id","gauntlet_runs","verdict_hist","died_at_hist","top_failure_codes","last_runs","budget","disclaimer"],"title":"SessionReportResponse"},"SignRandomizationDiagnosis":{"properties":{"id":{"type":"string","const":"sign_randomization","title":"Id"},"finding":{"type":"string","maxLength":2000,"title":"Finding"},"severity":{"type":"string","enum":["medium","ok","insufficient_power"],"title":"Severity"},"evidence":{"$ref":"#/components/schemas/SignRandomizationEvidence"},"plain_language_explanation":{"type":"string","maxLength":2000,"title":"Plain Language Explanation"}},"additionalProperties":false,"type":"object","required":["id","finding","severity","evidence","plain_language_explanation"],"title":"SignRandomizationDiagnosis"},"SignRandomizationEvidence":{"properties":{"n_clusters":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Clusters"},"empirical_p_value":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Empirical P Value"},"observed_cluster_mean_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Observed Cluster Mean Pct"},"survives":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Survives"}},"additionalProperties":false,"type":"object","required":["n_clusters"],"title":"SignRandomizationEvidence"},"SignalOutput":{"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"verdict":{"$ref":"#/components/schemas/VerdictEnvelope"},"explanation":{"$ref":"#/components/schemas/Explanation"}},"additionalProperties":false,"type":"object","required":["_meta","verdict","explanation"],"title":"SignalOutput"},"SignedDocumentEnvelope_BenchmarkDocument_":{"properties":{"document":{"$ref":"#/components/schemas/BenchmarkDocument"},"signature_b64":{"type":"string","title":"Signature B64"},"public_key_id":{"type":"string","title":"Public Key Id"},"signature_alg":{"type":"string","title":"Signature Alg"},"canonicalization":{"type":"string","title":"Canonicalization"},"verify_hint":{"type":"string","title":"Verify Hint"}},"additionalProperties":false,"type":"object","required":["document","signature_b64","public_key_id","signature_alg","canonicalization","verify_hint"],"title":"SignedDocumentEnvelope[BenchmarkDocument]"},"SignedDocumentEnvelope_GraveyardDigestDocument_":{"properties":{"document":{"$ref":"#/components/schemas/GraveyardDigestDocument"},"signature_b64":{"type":"string","title":"Signature B64"},"public_key_id":{"type":"string","title":"Public Key Id"},"signature_alg":{"type":"string","title":"Signature Alg"},"canonicalization":{"type":"string","title":"Canonicalization"},"verify_hint":{"type":"string","title":"Verify Hint"}},"additionalProperties":false,"type":"object","required":["document","signature_b64","public_key_id","signature_alg","canonicalization","verify_hint"],"title":"SignedDocumentEnvelope[GraveyardDigestDocument]"},"SignedDocumentEnvelope_MetaFactsDocument_":{"properties":{"document":{"$ref":"#/components/schemas/MetaFactsDocument"},"signature_b64":{"type":"string","title":"Signature B64"},"public_key_id":{"type":"string","title":"Public Key Id"},"signature_alg":{"type":"string","title":"Signature Alg"},"canonicalization":{"type":"string","title":"Canonicalization"},"verify_hint":{"type":"string","title":"Verify Hint"}},"additionalProperties":false,"type":"object","required":["document","signature_b64","public_key_id","signature_alg","canonicalization","verify_hint"],"title":"SignedDocumentEnvelope[MetaFactsDocument]"},"SignedDocumentEnvelope_PricingTermsDocument_":{"properties":{"document":{"$ref":"#/components/schemas/PricingTermsDocument"},"signature_b64":{"type":"string","title":"Signature B64"},"public_key_id":{"type":"string","title":"Public Key Id"},"signature_alg":{"type":"string","title":"Signature Alg"},"canonicalization":{"type":"string","title":"Canonicalization"},"verify_hint":{"type":"string","title":"Verify Hint"}},"additionalProperties":false,"type":"object","required":["document","signature_b64","public_key_id","signature_alg","canonicalization","verify_hint"],"title":"SignedDocumentEnvelope[PricingTermsDocument]"},"SignedX402Receipt":{"properties":{"signed":{"type":"boolean","const":true,"title":"Signed"},"receipt":{"$ref":"#/components/schemas/X402ReceiptPayload"},"signature_b64":{"type":"string","title":"Signature B64"},"public_key_id":{"type":"string","title":"Public Key Id"},"verify_hint":{"type":"string","title":"Verify Hint"}},"additionalProperties":false,"type":"object","required":["signed","receipt","signature_b64","public_key_id","verify_hint"],"title":"SignedX402Receipt"},"SignificanceEvidence":{"properties":{"bootstrap_ci":{"anyOf":[{"$ref":"#/components/schemas/ConfidenceInterval"},{"type":"null"}]},"studentized_ci":{"anyOf":[{"$ref":"#/components/schemas/StudentizedInterval"},{"type":"null"}]},"hac":{"anyOf":[{"$ref":"#/components/schemas/HacEvidence"},{"type":"null"}]},"permutation":{"anyOf":[{"$ref":"#/components/schemas/PermutationEvidence"},{"type":"null"}]},"binomial":{"anyOf":[{"$ref":"#/components/schemas/BinomialEvidence"},{"type":"null"}]},"normality":{"anyOf":[{"$ref":"#/components/schemas/NormalityEvidence"},{"type":"null"}]},"flags":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Flags"},"advisories":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Advisories"}},"additionalProperties":false,"type":"object","required":["bootstrap_ci","studentized_ci","hac","permutation","binomial","normality","flags","advisories"],"title":"SignificanceEvidence"},"SignificanceStage":{"properties":{"stage":{"type":"string","const":"significance","title":"Stage"},"verdict":{"type":"string","enum":["pass","info","skipped"],"title":"Verdict"},"evidence":{"$ref":"#/components/schemas/SignificanceEvidence"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["stage","verdict","evidence","detail"],"title":"SignificanceStage"},"SimpleErrorResponse":{"properties":{"error":{"type":"string","maxLength":300,"minLength":1,"title":"Error"}},"additionalProperties":false,"type":"object","required":["error"],"title":"SimpleErrorResponse"},"StudentizedInterval":{"properties":{"lo":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Lo"},"hi":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Hi"},"contains_zero":{"type":"boolean","title":"Contains Zero"},"n_resamples":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Resamples"},"method":{"type":"string","maxLength":2000,"title":"Method"}},"additionalProperties":false,"type":"object","required":["lo","hi","contains_zero","n_resamples","method"],"title":"StudentizedInterval"},"SurvivorConfig":{"properties":{"index":{"type":"integer","exclusiveMaximum":10000.0,"minimum":0.0,"title":"Index"},"assessable":{"type":"boolean","title":"Assessable"},"mean_per_period":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Mean Per Period"},"t_stat":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"T Stat"},"survived_fwer":{"type":"boolean","title":"Survived Fwer"},"rejected_in_round":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Rejected In Round"}},"additionalProperties":false,"type":"object","required":["index","assessable","mean_per_period","t_stat","survived_fwer","rejected_in_round"],"title":"SurvivorConfig"},"SurvivorSet":{"properties":{"count":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"Count"},"indices":{"items":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},"type":"array","maxItems":10000,"title":"Indices"}},"additionalProperties":false,"type":"object","required":["count","indices"],"title":"SurvivorSet"},"SurvivorsOutput":{"allOf":[{"if":{"properties":{"status":{"const":"computed"}},"required":["status"]},"then":{"properties":{"per_config":{"not":{"type":"null"}},"survivors":{"not":{"type":"null"}},"killed":{"not":{"type":"null"}},"critical_values_by_round":{"not":{"type":"null"}},"n_rows":{"not":{"type":"null"}},"n_configs":{"not":{"type":"null"}},"reason":{"type":"null"}},"required":["per_config","survivors","killed","critical_values_by_round","n_rows","n_configs"]}},{"if":{"properties":{"status":{"const":"blocked"}},"required":["status"]},"then":{"properties":{"reason":{"not":{"type":"null"}},"per_config":{"type":"null"},"survivors":{"type":"null"},"killed":{"type":"null"},"critical_values_by_round":{"type":"null"},"n_rows":{"type":"null"},"n_configs":{"type":"null"}},"required":["reason"]}}],"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"method":{"type":"string","const":"romano_wolf_stepm_circular_block_bootstrap_studentized","title":"Method"},"status":{"type":"string","enum":["blocked","computed"],"title":"Status"},"verdict":{"type":"string","enum":["conditional","fail","insufficient_evidence"],"title":"Verdict"},"alpha":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Alpha"},"n_bootstrap":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Bootstrap"},"block_length":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Block Length"},"periods_per_year":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Periods Per Year"},"reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Reason"},"per_config":{"anyOf":[{"items":{"$ref":"#/components/schemas/SurvivorConfig"},"type":"array","maxItems":10000},{"type":"null"}],"title":"Per Config"},"survivors":{"anyOf":[{"$ref":"#/components/schemas/SurvivorSet"},{"type":"null"}]},"killed":{"anyOf":[{"$ref":"#/components/schemas/KilledCount"},{"type":"null"}]},"critical_values_by_round":{"anyOf":[{"items":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}]},"type":"array","maxItems":10000},{"type":"null"}],"title":"Critical Values By Round"},"framing":{"type":"string","maxLength":2000,"title":"Framing"},"disclaimer":{"type":"string","maxLength":2000,"title":"Disclaimer"},"died_at":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At"},"died_at_plain":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At Plain"},"failure_codes":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Failure Codes"},"n_rows":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Rows"},"n_configs":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N Configs"}},"additionalProperties":false,"type":"object","required":["_meta","method","status","verdict","alpha","n_bootstrap","block_length","periods_per_year","reason","per_config","survivors","killed","critical_values_by_round","framing","disclaimer","died_at","died_at_plain","failure_codes"],"title":"SurvivorsOutput","x-relations":["len(per_config) == n_configs when status == computed","per_config indices are unique and equal range(n_configs) when status == computed","survivors.count == len(survivors.indices) when status == computed","survivors.indices are unique and a subset of per_config indices when status == computed","survivors.count + killed.count == n_configs when status == computed"]},"SurvivorsRequest":{"properties":{"returns_matrix":{"items":{"items":{"type":"number"},"type":"array"},"type":"array","maxItems":5000,"minItems":1,"title":"Returns Matrix"},"alpha":{"type":"number","maximum":0.5,"minimum":0.001,"title":"Alpha","default":0.05},"n_bootstrap":{"type":"integer","maximum":1000000000.0,"minimum":1.0,"title":"N Bootstrap","default":500},"block_length":{"anyOf":[{"type":"integer","maximum":5000.0,"minimum":1.0},{"type":"null"}],"title":"Block Length"},"periods_per_year":{"type":"number","maximum":525600.0,"exclusiveMinimum":0.0,"title":"Periods Per Year","default":365.0}},"additionalProperties":false,"type":"object","required":["returns_matrix"],"title":"SurvivorsRequest","description":"Same T x N matrix as PboRequest; the engine's own guards (row floor,\nbootstrap range, compute budget) answer as blocked reports, not 422s."},"SyntheticNullAttack":{"properties":{"attack":{"type":"string","const":"synthetic_null","title":"Attack"},"dimension":{"type":"string","const":"process_placebo","title":"Dimension"},"survives":{"type":"boolean","title":"Survives"},"kill_point":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Kill Point"},"evidence":{"$ref":"#/components/schemas/SyntheticNullAttackEvidence"},"plain_language":{"type":"string","maxLength":2000,"title":"Plain Language"}},"additionalProperties":false,"type":"object","required":["attack","dimension","survives","kill_point","evidence","plain_language"],"title":"SyntheticNullAttack"},"SyntheticNullAttackEvidence":{"properties":{"n_paths":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Paths"},"n_usable_paths":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Usable Paths"},"families":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Families"},"survive_threshold_percentile":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"number","maximum":100.0,"minimum":0.0}],"title":"Survive Threshold Percentile"},"status":{"type":"string","enum":["computed","insufficient_paths"],"title":"Status"},"null_sharpe_percentile":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":0.0},{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Null Sharpe Percentile"},"null_sharpe_median":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Null Sharpe Median"},"null_sharpe_max":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Null Sharpe Max"}},"additionalProperties":false,"type":"object","required":["n_paths","n_usable_paths","families","survive_threshold_percentile","status","null_sharpe_percentile"],"title":"SyntheticNullAttackEvidence"},"SyntheticNullPreview":{"properties":{"paths":{"items":{"$ref":"#/components/schemas/SyntheticNullPreviewPath"},"type":"array","maxItems":3,"title":"Paths"},"note":{"type":"string","maxLength":2000,"title":"Note"}},"additionalProperties":false,"type":"object","required":["paths","note"],"title":"SyntheticNullPreview"},"SyntheticNullPreviewPath":{"properties":{"family":{"type":"string","enum":["heston","merton_jump","drift_burst"],"title":"Family"},"n_bars":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Bars"},"total_return_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Total Return Pct"},"realized_vol_annualized_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0.0},{"type":"number","maximum":1000000000000000.0,"minimum":0.0}],"title":"Realized Vol Annualized Pct"},"max_drawdown_pct":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":0.0},{"type":"number","maximum":1000000000000000.0,"minimum":0.0}],"title":"Max Drawdown Pct"},"ground_truth":{"type":"string","const":"no_edge","title":"Ground Truth"}},"additionalProperties":false,"type":"object","required":["family","n_bars","total_return_pct","realized_vol_annualized_pct","max_drawdown_pct","ground_truth"],"title":"SyntheticNullPreviewPath"},"TermsResponse":{"properties":{"service":{"type":"string","const":"AlphaAssay","title":"Service"},"summary":{"type":"string","title":"Summary"},"demote_only":{"type":"boolean","const":true,"title":"Demote Only"},"order_path":{"type":"boolean","const":false,"title":"Order Path"},"financial_advice":{"type":"boolean","const":false,"title":"Financial Advice"},"buy_sell_signals":{"type":"boolean","const":false,"title":"Buy Sell Signals"},"data_retention":{"type":"string","title":"Data Retention"},"pricing_url":{"type":"string","title":"Pricing Url"},"terms_url":{"type":"string","title":"Terms Url"},"disclaimer":{"type":"string","title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["service","summary","demote_only","order_path","financial_advice","buy_sell_signals","data_retention","pricing_url","terms_url","disclaimer"],"title":"TermsResponse"},"TimeJackknifeAttack":{"properties":{"attack":{"type":"string","const":"time_jackknife","title":"Attack"},"dimension":{"type":"string","const":"period_dependence","title":"Dimension"},"survives":{"type":"boolean","title":"Survives"},"kill_point":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Kill Point"},"evidence":{"$ref":"#/components/schemas/TimeJackknifeAttackEvidence"},"plain_language":{"type":"string","maxLength":2000,"title":"Plain Language"}},"additionalProperties":false,"type":"object","required":["attack","dimension","survives","kill_point","evidence","plain_language"],"title":"TimeJackknifeAttack"},"TimeJackknifeAttackEvidence":{"properties":{"sharpe_by_dropped_period":{"$ref":"#/components/schemas/NumberMap"}},"additionalProperties":false,"type":"object","required":["sharpe_by_dropped_period"],"title":"TimeJackknifeAttackEvidence"},"TrackRecordEntry":{"properties":{"prereg_id":{"type":"string","title":"Prereg Id"},"family_id":{"type":"string","title":"Family Id"},"registered_at":{"type":"string","title":"Registered At"},"evaluation_start_at":{"type":"string","title":"Evaluation Start At"},"status":{"type":"string","title":"Status"},"anchored_batch":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Anchored Batch"},"family_verdict":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family Verdict"},"dsr":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dsr"}},"additionalProperties":false,"type":"object","required":["prereg_id","family_id","registered_at","evaluation_start_at","status","anchored_batch"],"title":"TrackRecordEntry"},"TrackRecordResponse":{"properties":{"_meta":{"$ref":"#/components/schemas/LegacyRestMeta"},"schema":{"type":"string","const":"track_record.v1","title":"Schema"},"signed":{"type":"boolean","title":"Signed"},"counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Counts"},"entries":{"items":{"$ref":"#/components/schemas/TrackRecordEntry"},"type":"array","title":"Entries"},"disclaimer":{"type":"string","title":"Disclaimer"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"generated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generated At"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"signed_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signed Note"},"document":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"type":"object","maxProperties":256},{"type":"null"}],"title":"Document"},"signature":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signature"},"public_key_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Public Key Id"},"signature_alg":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signature Alg"}},"additionalProperties":false,"type":"object","required":["_meta","schema","signed","counts","entries","disclaimer"],"title":"TrackRecordResponse"},"TradeRow":{"properties":{"pnl":{"type":"number","title":"Pnl"},"return_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Return Pct"}},"additionalProperties":false,"type":"object","required":["pnl"],"title":"TradeRow"},"TradelogChecksRun":{"properties":{"timestamps":{"type":"boolean","title":"Timestamps"},"time_travel":{"type":"boolean","title":"Time Travel"},"duplicates":{"type":"boolean","title":"Duplicates"},"pnl_consistency":{"type":"boolean","title":"Pnl Consistency"},"calendar":{"type":"boolean","title":"Calendar"}},"additionalProperties":false,"type":"object","required":["timestamps","time_travel","duplicates","pnl_consistency","calendar"],"title":"TradelogChecksRun"},"TradelogDefect":{"properties":{"code":{"type":"string","enum":["tradelog_duplicate_fills","tradelog_time_travel","tradelog_pnl_inconsistent","tradelog_timestamps_invalid","tradelog_outside_calendar"],"title":"Code"},"severity":{"type":"string","const":"hard_fail","title":"Severity"},"rows":{"items":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},"type":"array","maxItems":10000,"title":"Rows"},"n_rows":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Rows"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["code","severity","rows","n_rows","detail"],"title":"TradelogDefect"},"TradelogOutput":{"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"schema":{"type":"string","const":"tradelog.v1","title":"Schema"},"verdict":{"type":"string","enum":["conditional","fail","insufficient_evidence"],"title":"Verdict"},"checks_run":{"$ref":"#/components/schemas/TradelogChecksRun"},"defects":{"items":{"$ref":"#/components/schemas/TradelogDefect"},"type":"array","maxItems":10000,"title":"Defects"},"failure_codes":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Failure Codes"},"framing":{"type":"string","maxLength":2000,"title":"Framing"},"n_trades":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Trades"},"trading_calendar":{"type":"string","enum":["24/7","weekdays"],"title":"Trading Calendar"},"disclaimer":{"type":"string","maxLength":2000,"title":"Disclaimer"},"died_at":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At"},"died_at_plain":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At Plain"},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["_meta","schema","verdict","checks_run","defects","failure_codes","framing","n_trades","trading_calendar","disclaimer","died_at","died_at_plain"],"title":"TradelogOutput"},"TradelogRequest":{"properties":{"trades":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":10000,"minItems":1,"title":"Trades"},"trading_calendar":{"type":"string","pattern":"^(24/7|weekdays)$","title":"Trading Calendar","default":"24/7"}},"additionalProperties":false,"type":"object","required":["trades"],"title":"TradelogRequest","description":"Rows stay loosely typed on purpose -- the engine enforces the hard\ncontract (strict timezones etc.) and returns named defects, so the\nboundary only guards size and shape (forensics precedent)."},"TrafficLightZone":{"properties":{"zone":{"type":"string","enum":["green","yellow","red"],"title":"Zone"},"cumulative_prob":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Cumulative Prob"},"zone_thresholds":{"$ref":"#/components/schemas/ZoneThresholds"}},"additionalProperties":false,"type":"object","required":["zone","cumulative_prob","zone_thresholds"],"title":"TrafficLightZone"},"TrialFamilySummary":{"properties":{"user_id":{"type":"string","title":"User Id"},"family_id":{"type":"string","title":"Family Id"},"cumulative_n":{"type":"integer","title":"Cumulative N"},"withdrawn":{"type":"integer","title":"Withdrawn"},"first_submitted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Submitted At"},"last_submitted_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Submitted At"}},"additionalProperties":false,"type":"object","required":["user_id","family_id","cumulative_n","withdrawn","first_submitted_at","last_submitted_at"],"title":"TrialFamilySummary"},"TrialLedgerRecord":{"properties":{"recorded":{"type":"boolean","title":"Recorded"},"cumulative_n":{"type":"integer","title":"Cumulative N"},"source":{"type":"string","title":"Source"}},"additionalProperties":false,"type":"object","required":["recorded","cumulative_n","source"],"title":"TrialLedgerRecord"},"TrialSummaryResponse":{"properties":{"_meta":{"$ref":"#/components/schemas/LegacyRestMeta"},"families":{"items":{"$ref":"#/components/schemas/TrialFamilySummary"},"type":"array","title":"Families"}},"additionalProperties":false,"type":"object","required":["_meta","families"],"title":"TrialSummaryResponse"},"TrialVerdictFailure":{"properties":{"_meta":{"$ref":"#/components/schemas/LegacyRestMeta"},"error":{"type":"string","maxLength":2000,"minLength":1,"title":"Error"}},"additionalProperties":false,"type":"object","required":["_meta","error"],"title":"TrialVerdictFailure","description":"Established paid legacy branch for a schema-valid invalid DSL."},"TrialVerdictRequest":{"properties":{"spec":{"$ref":"#/components/schemas/DslSpec"},"oos_returns":{"items":{"type":"number"},"type":"array","maxItems":100000,"minItems":1,"title":"Oos Returns"},"variants_in_call":{"type":"integer","maximum":100000.0,"minimum":1.0,"title":"Variants In Call","default":1}},"additionalProperties":false,"type":"object","required":["spec","oos_returns"],"title":"TrialVerdictRequest"},"TrialVerdictResponse":{"anyOf":[{"$ref":"#/components/schemas/TrialVerdictSuccess"},{"$ref":"#/components/schemas/TrialVerdictFailure"}],"title":"TrialVerdictResponse"},"TrialVerdictSuccess":{"properties":{"_meta":{"$ref":"#/components/schemas/LegacyRestMeta"},"spec_hash":{"type":"string","title":"Spec Hash"},"family_id":{"type":"string","title":"Family Id"},"ledger":{"$ref":"#/components/schemas/TrialLedgerRecord"},"family_deflated_verdict":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"type":"object","maxProperties":256,"title":"Family Deflated Verdict"},"effective_at":{"type":"string","title":"Effective At"},"disclaimer":{"type":"string","title":"Disclaimer"}},"additionalProperties":false,"type":"object","required":["_meta","spec_hash","family_id","ledger","family_deflated_verdict","effective_at","disclaimer"],"title":"TrialVerdictSuccess"},"UnsignedDocumentEnvelope_BenchmarkDocument_":{"properties":{"document":{"$ref":"#/components/schemas/BenchmarkDocument"},"signature_b64":{"type":"null","title":"Signature B64"},"note":{"type":"string","title":"Note"}},"additionalProperties":false,"type":"object","required":["document","signature_b64","note"],"title":"UnsignedDocumentEnvelope[BenchmarkDocument]"},"UnsignedDocumentEnvelope_GraveyardDigestDocument_":{"properties":{"document":{"$ref":"#/components/schemas/GraveyardDigestDocument"},"signature_b64":{"type":"null","title":"Signature B64"},"note":{"type":"string","title":"Note"}},"additionalProperties":false,"type":"object","required":["document","signature_b64","note"],"title":"UnsignedDocumentEnvelope[GraveyardDigestDocument]"},"UnsignedDocumentEnvelope_MetaFactsDocument_":{"properties":{"document":{"$ref":"#/components/schemas/MetaFactsDocument"},"signature_b64":{"type":"null","title":"Signature B64"},"note":{"type":"string","title":"Note"}},"additionalProperties":false,"type":"object","required":["document","signature_b64","note"],"title":"UnsignedDocumentEnvelope[MetaFactsDocument]"},"UnsignedDocumentEnvelope_PricingTermsDocument_":{"properties":{"document":{"$ref":"#/components/schemas/PricingTermsDocument"},"signature_b64":{"type":"null","title":"Signature B64"},"note":{"type":"string","title":"Note"}},"additionalProperties":false,"type":"object","required":["document","signature_b64","note"],"title":"UnsignedDocumentEnvelope[PricingTermsDocument]"},"UnsignedX402Receipt":{"properties":{"signed":{"type":"boolean","const":false,"title":"Signed"},"receipt":{"$ref":"#/components/schemas/X402ReceiptPayload"},"note":{"type":"string","title":"Note"}},"additionalProperties":false,"type":"object","required":["signed","receipt","note"],"title":"UnsignedX402Receipt"},"ValidateSignalRequest":{"properties":{"trades":{"items":{"$ref":"#/components/schemas/TradeRow"},"type":"array","maxItems":10000,"minItems":1,"title":"Trades"},"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label","default":"user_strategy"},"fee_bps_per_side":{"type":"number","maximum":1000.0,"minimum":0.0,"title":"Fee Bps Per Side","default":10.0},"n_trials":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":1.0},{"type":"null"}],"title":"N Trials"},"variants_tested":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":1.0},{"type":"null"}],"title":"Variants Tested"},"selected_from_variants":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":1.0},{"type":"null"}],"title":"Selected From Variants"},"out_of_sample":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Out Of Sample"},"pit_evidence":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Pit Evidence"},"source_rights":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Source Rights"}},"additionalProperties":false,"type":"object","required":["trades"],"title":"ValidateSignalRequest"},"VarEsOutput":{"allOf":[{"if":{"properties":{"status":{"const":"computed"}},"required":["status"]},"then":{"properties":{"n":{"not":{"type":"null"}},"breaches":{"not":{"type":"null"}},"kupiec":{"not":{"type":"null"}},"independence":{"not":{"type":"null"}},"es":{"not":{"type":"null"}},"basel":{"not":{"type":"null"}},"epa":{"not":{"type":"null"}},"interpretation":{"not":{"type":"null"}},"reason":{"type":"null"}},"required":["n","breaches","kupiec","independence","es","basel","epa","interpretation"]}},{"if":{"properties":{"status":{"const":"blocked"}},"required":["status"]},"then":{"properties":{"reason":{"not":{"type":"null"}},"breaches":{"type":"null"},"kupiec":{"type":"null"},"independence":{"type":"null"},"es":{"type":"null"},"basel":{"type":"null"},"epa":{"type":"null"},"interpretation":{"type":"null"}},"required":["reason"]}},{"if":{"properties":{"status":{"const":"computed"}},"required":["status"]},"then":{"properties":{"n":{"minimum":1.0}}}}],"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"schema":{"type":"string","const":"var_es.v1","title":"Schema"},"method":{"type":"string","const":"var_es_exceedance_backtest","title":"Method"},"status":{"type":"string","enum":["blocked","computed"],"title":"Status"},"verdict":{"type":"string","enum":["pass","fail","insufficient_evidence"],"title":"Verdict"},"n":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"N"},"alpha":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Alpha"},"died_at":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At"},"died_at_plain":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At Plain"},"failure_codes":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Failure Codes"},"advisories":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Advisories"},"reason":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Reason"},"breaches":{"anyOf":[{"$ref":"#/components/schemas/BreachCounts"},{"type":"null"}]},"kupiec":{"anyOf":[{"$ref":"#/components/schemas/KupiecResult"},{"type":"null"}]},"independence":{"anyOf":[{"$ref":"#/components/schemas/IndependenceResult"},{"type":"null"}]},"es":{"anyOf":[{"$ref":"#/components/schemas/EsBacktestResult"},{"type":"null"}]},"basel":{"anyOf":[{"$ref":"#/components/schemas/TrafficLightZone"},{"type":"null"}]},"epa":{"anyOf":[{"$ref":"#/components/schemas/EqualPredictiveAbility"},{"type":"null"}]},"interpretation":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Interpretation"}},"additionalProperties":false,"type":"object","required":["_meta","schema","method","status","verdict","n","alpha","died_at","died_at_plain","failure_codes","advisories"],"title":"VarEsOutput","x-relations":["breaches.observed <= n when status == computed","breaches.rate_observed ~= breaches.observed / n when status == computed","independence.n00 + independence.n01 + independence.n10 + independence.n11 == n - 1 when status == computed"]},"VarEsRequest":{"properties":{"returns":{"items":{"type":"number"},"type":"array","maxItems":100000,"minItems":1,"title":"Returns"},"var_forecasts":{"items":{"type":"number"},"type":"array","maxItems":100000,"minItems":1,"title":"Var Forecasts"},"es_forecasts":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":100000,"minItems":1},{"type":"null"}],"title":"Es Forecasts"},"alpha":{"type":"number","maximum":0.25,"minimum":0.001,"title":"Alpha","default":0.05},"benchmark_var_forecasts":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":100000,"minItems":1},{"type":"null"}],"title":"Benchmark Var Forecasts"},"benchmark_es_forecasts":{"anyOf":[{"items":{"type":"number"},"type":"array","maxItems":100000,"minItems":1},{"type":"null"}],"title":"Benchmark Es Forecasts"}},"additionalProperties":false,"type":"object","required":["returns","var_forecasts"],"title":"VarEsRequest","description":"Realised returns plus VaR (and optional ES) forecasts, one value per\nperiod. The engine's own guards (length match, positivity, ES > VaR,\npower floor, size cap) answer as blocked reports, not 422s."},"VerdictEnvelope":{"properties":{"schema_version":{"type":"string","const":"0","title":"Schema Version"},"verdict":{"type":"string","enum":["pass","conditional","fail","insufficient_evidence"],"title":"Verdict"},"agent_action":{"type":"string","enum":["continue_due_diligence","require_additional_validation","gather_more_evidence","reject_current_evidence","owner_data_decision_required"],"title":"Agent Action"},"findings":{"items":{"$ref":"#/components/schemas/VerdictFinding"},"type":"array","maxItems":10000,"title":"Findings"},"benchmark_overlap":{"anyOf":[{"$ref":"#/components/schemas/BenchmarkUnavailable"},{"$ref":"#/components/schemas/BenchmarkComputed"},{"type":"null"}],"title":"Benchmark Overlap"},"reproducible":{"type":"boolean","title":"Reproducible"},"reproducibility_readiness":{"anyOf":[{"$ref":"#/components/schemas/ReproducibilityReadiness"},{"type":"null"}]},"leakage_taxonomy":{"$ref":"#/components/schemas/LeakageTaxonomy"},"leakage_attribution":{"anyOf":[{"$ref":"#/components/schemas/LeakageAttribution"},{"type":"null"}]},"provenance":{"$ref":"#/components/schemas/VerdictProvenance"}},"additionalProperties":false,"type":"object","required":["schema_version","verdict","agent_action","findings","reproducible","leakage_taxonomy","provenance"],"title":"VerdictEnvelope"},"VerdictFinding":{"properties":{"failure_class":{"type":"string","enum":["data_rights","pit_lookahead","survivorship","selection_multiple_testing","effective_n","oos_walk_forward","cpcv","costs_slippage_capacity","pbo_dsr_overfit","null_placebo","regime","execution","reproducibility","benchmark_overlap"],"title":"Failure Class"},"severity":{"type":"string","enum":["hard_fail","cap_verdict","major_penalty","minor_penalty","trust_gate"],"title":"Severity"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["failure_class","severity","detail"],"title":"VerdictFinding"},"VerdictOutput":{"oneOf":[{"not":{"anyOf":[{"required":["detail"]},{"required":["covered_bars"]},{"required":["maturity_bars"]},{"required":["gap_bars"]},{"required":["gap_tolerance_bars"]},{"required":["expected_bars"]}]},"properties":{"status":{"const":"evaluated"},"verdict":{"$ref":"#/components/schemas/EvaluatedVerdict"}},"required":["status","verdict"]},{"not":{"anyOf":[{"required":["verdict"]},{"required":["detail"]},{"required":["gap_bars"]},{"required":["gap_tolerance_bars"]},{"required":["expected_bars"]}]},"properties":{"status":{"const":"maturing"},"covered_bars":{"type":"integer"},"maturity_bars":{"not":{"type":"null"}}},"required":["status","covered_bars","maturity_bars"]},{"not":{"anyOf":[{"required":["gap_bars"]},{"required":["gap_tolerance_bars"]},{"required":["covered_bars"]},{"required":["expected_bars"]},{"required":["maturity_bars"]}]},"properties":{"status":{"enum":["registered","maturing"]},"verdict":{"const":"inconclusive_data_gap"},"detail":{"not":{"type":"null"}}},"required":["status","verdict","detail"]},{"not":{"anyOf":[{"required":["detail"]},{"required":["maturity_bars"]}]},"properties":{"status":{"enum":["registered","maturing"]},"verdict":{"const":"inconclusive_data_gap"},"covered_bars":{"$ref":"#/components/schemas/IntegerMap"},"gap_bars":{"not":{"type":"null"}},"gap_tolerance_bars":{"not":{"type":"null"}},"expected_bars":{"not":{"type":"null"}}},"required":["status","verdict","gap_bars","gap_tolerance_bars","covered_bars","expected_bars"]}],"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"prereg_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Prereg Id"},"status":{"type":"string","enum":["registered","maturing","evaluated"],"title":"Status"},"verdict":{"anyOf":[{"type":"string","const":"inconclusive_data_gap"},{"$ref":"#/components/schemas/EvaluatedVerdict"},{"type":"null"}],"title":"Verdict"},"detail":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Detail"},"covered_bars":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"$ref":"#/components/schemas/IntegerMap"},{"type":"null"}],"title":"Covered Bars"},"maturity_bars":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Maturity Bars"},"gap_bars":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Gap Bars"},"gap_tolerance_bars":{"anyOf":[{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0},{"type":"null"}],"title":"Gap Tolerance Bars"},"expected_bars":{"anyOf":[{"$ref":"#/components/schemas/IntegerMap"},{"type":"null"}]},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["_meta","prereg_id","status"],"title":"VerdictOutput"},"VerdictProvenance":{"properties":{"tool":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Tool"},"tool_version":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Tool Version"},"schema_ref":{"type":"string","maxLength":2000,"title":"Schema Ref"},"schema_version":{"type":"string","const":"0","title":"Schema Version"},"inputs_hash":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Inputs Hash"},"request_hash":{"anyOf":[{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$"},{"type":"null"}],"title":"Request Hash"},"generated_at":{"type":"string","maxLength":64,"minLength":1,"title":"Generated At"},"evidence_refs":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Evidence Refs"},"check_refs":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Check Refs"}},"additionalProperties":false,"type":"object","required":["tool","tool_version","schema_ref","schema_version","inputs_hash","generated_at","evidence_refs","check_refs"],"title":"VerdictProvenance"},"WalkForwardEvidence":{"properties":{"n_folds":{"type":"integer","maximum":9.223372036854776e+18,"minimum":0.0,"title":"N Folds"},"oos_share_positive":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Oos Share Positive"},"oos_median_sharpe_per_obs":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Oos Median Sharpe Per Obs"},"oos_sum":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0}],"title":"Oos Sum"},"generalization_ratio":{"anyOf":[{"type":"integer","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"number","maximum":1000000000000000.0,"minimum":-1000000000000000.0},{"type":"null"}],"title":"Generalization Ratio"},"is_oos_correlation":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":-1.0},{"type":"number","maximum":1.0,"minimum":-1.0},{"type":"null"}],"title":"Is Oos Correlation"},"weak_generalization":{"type":"boolean","title":"Weak Generalization"}},"additionalProperties":false,"type":"object","required":["n_folds","oos_share_positive","oos_median_sharpe_per_obs","oos_sum","generalization_ratio","is_oos_correlation","weak_generalization"],"title":"WalkForwardEvidence"},"WalkForwardStage":{"properties":{"stage":{"type":"string","const":"walk_forward","title":"Stage"},"verdict":{"type":"string","enum":["pass","fail","info","skipped"],"title":"Verdict"},"evidence":{"anyOf":[{"$ref":"#/components/schemas/WalkForwardEvidence"},{"$ref":"#/components/schemas/InsufficientStageEvidence"}],"title":"Evidence"},"detail":{"type":"string","maxLength":2000,"title":"Detail"}},"additionalProperties":false,"type":"object","required":["stage","verdict","evidence","detail"],"title":"WalkForwardStage"},"X402GauntletResponse":{"anyOf":[{"$ref":"#/components/schemas/X402GauntletSuccess"},{"$ref":"#/components/schemas/X402SettledGauntletError"}],"title":"X402GauntletResponse"},"X402GauntletSuccess":{"properties":{"_meta":{"$ref":"#/components/schemas/PublicMeta"},"schema":{"type":"string","const":"gauntlet.v1","title":"Schema"},"verdict":{"type":"string","enum":["pass","conditional","fail"],"title":"Verdict"},"budget":{"$ref":"#/components/schemas/GauntletBudget"},"stages":{"items":{"oneOf":[{"$ref":"#/components/schemas/NetEdgeStage"},{"$ref":"#/components/schemas/FundingEdgeStage"},{"$ref":"#/components/schemas/FamilyDeflationStage"},{"$ref":"#/components/schemas/PowerHonestyStage"},{"$ref":"#/components/schemas/SignificanceStage"},{"$ref":"#/components/schemas/CpcvStage"},{"$ref":"#/components/schemas/WalkForwardStage"},{"$ref":"#/components/schemas/ConcentrationStage"},{"$ref":"#/components/schemas/PlaceboStage"},{"$ref":"#/components/schemas/CapacityStage"},{"$ref":"#/components/schemas/GraveyardPriorStage"}],"discriminator":{"propertyName":"stage","mapping":{"capacity":"#/components/schemas/CapacityStage","concentration":"#/components/schemas/ConcentrationStage","cpcv":"#/components/schemas/CpcvStage","family_deflation":"#/components/schemas/FamilyDeflationStage","funding_edge":"#/components/schemas/FundingEdgeStage","graveyard_prior":"#/components/schemas/GraveyardPriorStage","net_edge":"#/components/schemas/NetEdgeStage","placebo":"#/components/schemas/PlaceboStage","power_honesty":"#/components/schemas/PowerHonestyStage","significance":"#/components/schemas/SignificanceStage","walk_forward":"#/components/schemas/WalkForwardStage"}}},"type":"array","maxItems":11,"minItems":1,"title":"Stages"},"failure_codes":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":10000,"title":"Failure Codes"},"family_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Family Id"},"spec_hash":{"type":"string","maxLength":256,"minLength":1,"pattern":"^\\S+$","title":"Spec Hash"},"data_note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Data Note"},"disclaimer":{"type":"string","maxLength":2000,"title":"Disclaimer"},"died_at":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At"},"died_at_plain":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Died At Plain"},"wallet_trust":{"$ref":"#/components/schemas/X402WalletTrust"},"receipt":{"anyOf":[{"$ref":"#/components/schemas/SignedX402Receipt"},{"$ref":"#/components/schemas/UnsignedX402Receipt"}],"title":"Receipt"},"replayed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Replayed"}},"additionalProperties":false,"type":"object","required":["_meta","schema","verdict","budget","stages","failure_codes","family_id","spec_hash","disclaimer","died_at","died_at_plain","wallet_trust","receipt"],"title":"X402GauntletSuccess"},"X402OfferResponse":{"properties":{"x402Version":{"type":"integer","const":1,"title":"X402Version"},"error":{"type":"string","maxLength":1000,"minLength":1,"title":"Error"},"accepts":{"items":{"$ref":"#/components/schemas/X402Requirement"},"type":"array","maxItems":4,"minItems":1,"title":"Accepts"}},"additionalProperties":false,"type":"object","required":["x402Version","error","accepts"],"title":"X402OfferResponse"},"X402PaymentReceipt":{"properties":{"nonce":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nonce"},"transaction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction"},"network":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Network"},"payer":{"type":"string","title":"Payer"}},"additionalProperties":false,"type":"object","required":["nonce","transaction","network","payer"],"title":"X402PaymentReceipt"},"X402ReceiptPayload":{"properties":{"schema":{"type":"string","const":"x402_receipt.v1","title":"Schema"},"payment":{"$ref":"#/components/schemas/X402PaymentReceipt"},"input_digest":{"type":"string","title":"Input Digest"},"verdict_digest":{"type":"string","title":"Verdict Digest"},"engine_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Engine Version"},"issued_at":{"type":"string","title":"Issued At"}},"additionalProperties":false,"type":"object","required":["schema","payment","input_digest","verdict_digest","engine_version","issued_at"],"title":"X402ReceiptPayload"},"X402Requirement":{"properties":{"scheme":{"type":"string","const":"exact","title":"Scheme"},"network":{"type":"string","maxLength":64,"title":"Network"},"maxAmountRequired":{"type":"string","maxLength":80,"minLength":1,"title":"Maxamountrequired"},"resource":{"type":"string","maxLength":2048,"minLength":1,"title":"Resource"},"description":{"type":"string","maxLength":1000,"minLength":1,"title":"Description"},"mimeType":{"type":"string","const":"application/json","title":"Mimetype"},"payTo":{"type":"string","maxLength":128,"minLength":1,"title":"Payto"},"maxTimeoutSeconds":{"type":"integer","maximum":3600.0,"minimum":1.0,"title":"Maxtimeoutseconds"},"asset":{"type":"string","maxLength":128,"minLength":1,"title":"Asset"},"extra":{"additionalProperties":{"type":"string"},"type":"object","title":"Extra"}},"additionalProperties":false,"type":"object","required":["scheme","network","maxAmountRequired","resource","description","mimeType","payTo","maxTimeoutSeconds","asset","extra"],"title":"X402Requirement"},"X402SettledGauntletError":{"properties":{"error":{"type":"string","maxLength":2000,"minLength":1,"title":"Error"},"code":{"type":"string","const":"invalid_input","title":"Code"},"_meta":{"$ref":"#/components/schemas/PublicMeta"},"wallet_trust":{"$ref":"#/components/schemas/X402WalletTrust"},"receipt":{"anyOf":[{"$ref":"#/components/schemas/SignedX402Receipt"},{"$ref":"#/components/schemas/UnsignedX402Receipt"}],"title":"Receipt"},"replayed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Replayed"}},"additionalProperties":false,"type":"object","required":["error","code","_meta","wallet_trust","receipt"],"title":"X402SettledGauntletError","description":"Commit-priced semantic rejection returned with its paid receipt."},"X402WalletTrust":{"properties":{"settles_seen":{"type":"integer","title":"Settles Seen"},"sybil_prior_trials":{"type":"integer","title":"Sybil Prior Trials"},"tenant_scope_version":{"type":"string","title":"Tenant Scope Version"},"source_identity_digest":{"type":"string","title":"Source Identity Digest"},"note":{"type":"string","title":"Note"}},"additionalProperties":false,"type":"object","required":["settles_seen","sybil_prior_trials","tenant_scope_version","source_identity_digest","note"],"title":"X402WalletTrust"},"ZoneThresholds":{"properties":{"yellow_at_cumulative_prob":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Yellow At Cumulative Prob"},"red_at_cumulative_prob":{"anyOf":[{"type":"integer","maximum":1.0,"minimum":0.0},{"type":"number","maximum":1.0,"minimum":0.0}],"title":"Red At Cumulative Prob"}},"additionalProperties":false,"type":"object","required":["yellow_at_cumulative_prob","red_at_cumulative_prob"],"title":"ZoneThresholds"},"CertificateVerifyRestRequest":{"additionalProperties":false,"description":"Documentation envelope; the endpoint still validates the raw bytes.","properties":{"certificate":{"additionalProperties":{"$ref":"#/components/schemas/JsonValue"},"maxProperties":256,"propertyNames":{"maxLength":256,"x-maxUtf8Bytes":256},"title":"Certificate","type":"object"},"signature_b64":{"maxLength":512,"minLength":1,"title":"Signature B64","type":"string"},"public_key_pem":{"anyOf":[{"maxLength":16384,"type":"string"},{"type":"null"}],"default":null,"title":"Public Key Pem"}},"required":["certificate","signature_b64"],"title":"CertificateVerifyRestRequest","type":"object","x-rejectDuplicateKeys":true,"x-normalization":"NFC keys","x-transportParserMaxNesting":66}},"securitySchemes":{"bearerApiKey":{"type":"http","scheme":"bearer","description":"AlphaAssay API key; see https://api.alphaassay.com/account"}}},"externalDocs":{"description":"AlphaAssay tool documentation","url":"https://alphaassay.com/docs/tools"}}