{"openapi":"3.1.0","info":{"title":"Reasoning Studio API","version":"0.1.0"},"paths":{"/api/auth/login":{"post":{"tags":["auth"],"summary":"Login","operationId":"login_api_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/logout":{"post":{"tags":["auth"],"summary":"Logout","operationId":"logout_api_auth_logout_post","responses":{"204":{"description":"Successful Response"}}}},"/api/auth/me":{"get":{"tags":["auth"],"summary":"Me","operationId":"me_api_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOut"}}}}}}},"/api/auth/email-link":{"post":{"tags":["auth"],"summary":"Request Link","operationId":"request_link_api_auth_email_link_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkIn"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Request Link Api Auth Email Link Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/email-link/redeem":{"post":{"tags":["auth"],"summary":"Redeem Link","operationId":"redeem_link_api_auth_email_link_redeem_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignedIn"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/auth/email-code/redeem":{"post":{"tags":["auth"],"summary":"Redeem Code","operationId":"redeem_code_api_auth_email_code_redeem_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignedIn"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/oauth/requests/{request_id}":{"get":{"tags":["oauth"],"summary":"Get Request","operationId":"get_request_api_oauth_requests__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectRequestOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/oauth/requests/{request_id}/approve":{"post":{"tags":["oauth"],"summary":"Approve Request","operationId":"approve_request_api_oauth_requests__request_id__approve_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/oauth/requests/{request_id}/deny":{"post":{"tags":["oauth"],"summary":"Deny Request","operationId":"deny_request_api_oauth_requests__request_id__deny_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/oauth/connections":{"get":{"tags":["oauth"],"summary":"List Connections","operationId":"list_connections_api_oauth_connections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/app__auth__oauth_api__ConnectionOut"},"type":"array","title":"Response List Connections Api Oauth Connections Get"}}}}}}},"/api/oauth/connections/{client_id}":{"delete":{"tags":["oauth"],"summary":"Disconnect","operationId":"disconnect_api_oauth_connections__client_id__delete","parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string","title":"Client Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenarios":{"get":{"tags":["scenarios"],"summary":"List Scenarios","operationId":"list_scenarios_api_scenarios_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ScenarioListItem"},"type":"array","title":"Response List Scenarios Api Scenarios Get"}}}}}},"post":{"tags":["scenarios"],"summary":"Create Scenario","operationId":"create_scenario_api_scenarios_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenarios/{scenario_id}":{"get":{"tags":["scenarios"],"summary":"Get Scenario","operationId":"get_scenario_api_scenarios__scenario_id__get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenarios/{scenario_id}/kind":{"put":{"tags":["scenarios"],"summary":"Set Case Kind","description":"Change what a case is made as, on its draft only. To a presentation viva: the\nviva's settings are merged into the draft's, and its one action is added unless the\ndraft already has an action that ends the attempt. To a case: only case_kind goes;\nthe actions and the other settings stay. The Studio shows the viva's own sections,\nor the ordinary ones, from case_kind. Says what changed.","operationId":"set_case_kind_api_scenarios__scenario_id__kind_put","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseKindIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseKindOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assets":{"get":{"tags":["assets"],"summary":"List Assets","operationId":"list_assets_api_assets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssetOut"},"type":"array","title":"Response List Assets Api Assets Get"}}}}}},"post":{"tags":["assets"],"summary":"Upload Asset","operationId":"upload_asset_api_assets_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_asset_api_assets_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assets/{asset_id}/thumbnail":{"get":{"tags":["assets"],"summary":"Asset Thumbnail","description":"Page render for the evidence preview panel (?page=N, 1-based).","operationId":"asset_thumbnail_api_assets__asset_id__thumbnail_get","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Asset Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assets/{asset_id}":{"delete":{"tags":["assets"],"summary":"Delete Asset","operationId":"delete_asset_api_assets__asset_id__delete","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Asset Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}":{"patch":{"tags":["docs"],"summary":"Update Version","operationId":"update_version_api_scenario_versions__version_id__patch","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionUpdate"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/docs":{"post":{"tags":["docs"],"summary":"Upload Doc","description":"Upload inside a scenario: creates the library asset AND casts it in.\nA prof-provided description sticks — the AI draft only fills NULLs.","operationId":"upload_doc_api_scenario_versions__version_id__docs_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_doc_api_scenario_versions__version_id__docs_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["docs"],"summary":"List Docs","operationId":"list_docs_api_scenario_versions__version_id__docs_get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DocOut"},"title":"Response List Docs Api Scenario Versions  Version Id  Docs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/docs/attach":{"post":{"tags":["docs"],"summary":"Attach Doc","description":"Cast an existing library asset into this scenario. No reprocessing.","operationId":"attach_doc_api_scenario_versions__version_id__docs_attach_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocAttach"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/docs/{doc_id}":{"patch":{"tags":["docs"],"summary":"Update Doc","operationId":"update_doc_api_scenario_versions_docs__doc_id__patch","parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Doc Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["docs"],"summary":"Detach Doc","description":"Detach from the scenario. The asset stays in the library.","operationId":"detach_doc_api_scenario_versions_docs__doc_id__delete","parameters":[{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Doc Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/personas":{"get":{"tags":["personas"],"summary":"List Personas","operationId":"list_personas_api_personas_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PersonaOut"},"type":"array","title":"Response List Personas Api Personas Get"}}}}}},"post":{"tags":["personas"],"summary":"Create Persona","operationId":"create_persona_api_personas_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonaCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonaOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/personas/{persona_id}":{"patch":{"tags":["personas"],"summary":"Update Persona","operationId":"update_persona_api_personas__persona_id__patch","parameters":[{"name":"persona_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Persona Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonaUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonaOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["personas"],"summary":"Delete Persona","operationId":"delete_persona_api_personas__persona_id__delete","parameters":[{"name":"persona_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Persona Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/castings":{"post":{"tags":["castings"],"summary":"Cast Persona","description":"Seat a persona in this version, on the panel unless the body says\notherwise. New castings see every doc by default.","operationId":"cast_persona_api_scenario_versions__version_id__castings_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CastingCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CastingOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["castings"],"summary":"List Castings","operationId":"list_castings_api_scenario_versions__version_id__castings_get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CastingOut"},"title":"Response List Castings Api Scenario Versions  Version Id  Castings Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/castings/{casting_id}":{"patch":{"tags":["castings"],"summary":"Update Casting","operationId":"update_casting_api_scenario_versions_castings__casting_id__patch","parameters":[{"name":"casting_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Casting Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CastingUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CastingOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["castings"],"summary":"Remove Casting","description":"Unseat the actor. The persona stays in the library. Refused while a\ncondition elsewhere in the draft names one of their facts.","operationId":"remove_casting_api_scenario_versions_castings__casting_id__delete","parameters":[{"name":"casting_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Casting Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/castings/{casting_id}/facts":{"post":{"tags":["castings"],"summary":"Create Fact","operationId":"create_fact_api_scenario_versions_castings__casting_id__facts_post","parameters":[{"name":"casting_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Casting Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/facts/{fact_id}":{"patch":{"tags":["castings"],"summary":"Update Fact","operationId":"update_fact_api_scenario_versions_facts__fact_id__patch","parameters":[{"name":"fact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["castings"],"summary":"Delete Fact","operationId":"delete_fact_api_scenario_versions_facts__fact_id__delete","parameters":[{"name":"fact_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fact Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/castings/{casting_id}/source-search":{"post":{"tags":["castings"],"summary":"Source Search","description":"Top 5 passages for a typed fact — deduped to one hit per (doc, page),\nscoped to the actor's document access.","operationId":"source_search_api_scenario_versions_castings__casting_id__source_search_post","parameters":[{"name":"casting_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Casting Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceSearch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SourceHit"},"title":"Response Source Search Api Scenario Versions Castings  Casting Id  Source Search Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/castings/{casting_id}/docs/{doc_id}/chunks":{"get":{"tags":["castings"],"summary":"Browse Doc Chunks","description":"Manual source picking: the doc's chunks grouped by page.","operationId":"browse_doc_chunks_api_scenario_versions_castings__casting_id__docs__doc_id__chunks_get","parameters":[{"name":"casting_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Casting Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Doc Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PageChunks"},"title":"Response Browse Doc Chunks Api Scenario Versions Castings  Casting Id  Docs  Doc Id  Chunks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/actions":{"post":{"tags":["studio"],"summary":"Create Action","operationId":"create_action_api_scenario_versions__version_id__actions_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__studio__ActionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["studio"],"summary":"List Actions","operationId":"list_actions_api_scenario_versions__version_id__actions_get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/app__schemas__studio__ActionOut"},"title":"Response List Actions Api Scenario Versions  Version Id  Actions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/actions/{action_id}":{"patch":{"tags":["studio"],"summary":"Update Action","operationId":"update_action_api_scenario_versions_actions__action_id__patch","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Action Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__studio__ActionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["studio"],"summary":"Delete Action","operationId":"delete_action_api_scenario_versions_actions__action_id__delete","parameters":[{"name":"action_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Action Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/injects":{"post":{"tags":["studio"],"summary":"Create Inject","operationId":"create_inject_api_scenario_versions__version_id__injects_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["studio"],"summary":"List Injects","operationId":"list_injects_api_scenario_versions__version_id__injects_get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InjectOut"},"title":"Response List Injects Api Scenario Versions  Version Id  Injects Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/injects/{inject_id}":{"patch":{"tags":["studio"],"summary":"Update Inject","operationId":"update_inject_api_scenario_versions_injects__inject_id__patch","parameters":[{"name":"inject_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Inject Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InjectOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["studio"],"summary":"Delete Inject","operationId":"delete_inject_api_scenario_versions_injects__inject_id__delete","parameters":[{"name":"inject_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Inject Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/exemplars":{"post":{"tags":["studio"],"summary":"Create Exemplar","operationId":"create_exemplar_api_scenario_versions__version_id__exemplars_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExemplarCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExemplarOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["studio"],"summary":"List Exemplars","operationId":"list_exemplars_api_scenario_versions__version_id__exemplars_get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExemplarOut"},"title":"Response List Exemplars Api Scenario Versions  Version Id  Exemplars Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/exemplars/{exemplar_id}":{"patch":{"tags":["studio"],"summary":"Update Exemplar","operationId":"update_exemplar_api_scenario_versions_exemplars__exemplar_id__patch","parameters":[{"name":"exemplar_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Exemplar Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExemplarUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExemplarOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["studio"],"summary":"Delete Exemplar","operationId":"delete_exemplar_api_scenario_versions_exemplars__exemplar_id__delete","parameters":[{"name":"exemplar_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Exemplar Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/rubric":{"put":{"tags":["studio"],"summary":"Attach Rubric","operationId":"attach_rubric_api_scenario_versions__version_id__rubric_put","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricAttach"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["studio"],"summary":"Detach Rubric","operationId":"detach_rubric_api_scenario_versions__version_id__rubric_delete","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/grading-notes":{"get":{"tags":["studio"],"summary":"Get Grading Notes","operationId":"get_grading_notes_api_scenario_versions__version_id__grading_notes_get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradingNotes"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["studio"],"summary":"Put Grading Notes","description":"Replace the case's notes to the grader. On the version, never on the shared rubric.","operationId":"put_grading_notes_api_scenario_versions__version_id__grading_notes_put","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradingNotes"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradingNotes"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenarios/{scenario_id}/publish":{"post":{"tags":["publish"],"summary":"Publish Scenario","description":"Freeze the draft and start its research — or, with reuse_research, carry\nthe last published version's research over instead (compile/carry_research.py):\nno model call, and the version goes straight to the professor's review.","operationId":"publish_scenario_api_scenarios__scenario_id__publish_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"reuse_research","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Reuse Research"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__publish__PublishOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenarios/{scenario_id}/new-draft":{"post":{"tags":["publish"],"summary":"New Draft","operationId":"new_draft_api_scenarios__scenario_id__new_draft_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewDraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/compile-check":{"get":{"tags":["publish"],"summary":"Compile Check","operationId":"compile_check_api_scenario_versions__version_id__compile_check_get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompileCheck"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/re-prep":{"post":{"tags":["publish"],"summary":"Re Prep","description":"Regenerate the published version's prep assets (case map, playbooks)\nwithout a republish — e.g. after a degraded prep or a model upgrade.","operationId":"re_prep_api_scenario_versions__version_id__re_prep_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Re Prep Api Scenario Versions  Version Id  Re Prep Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/research":{"get":{"tags":["research"],"summary":"Get Research","operationId":"get_research_api_scenario_versions__version_id__research_get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["research"],"summary":"Put Research","operationId":"put_research_api_scenario_versions__version_id__research_put","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchCorrectionsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/research/approve":{"post":{"tags":["research"],"summary":"Approve Research","operationId":"approve_research_api_scenario_versions__version_id__research_approve_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/research/apply":{"post":{"tags":["research"],"summary":"Apply Research","description":"Put the stored corrections in front of students.\n\nIf nobody has started on the research as it stands, this simply rewrites\nthe case. If someone has, their attempt reads that research every turn and\nevery replay, so it is kept: the outgoing case is archived as a revision\nand the corrected one becomes the next. New attempts get the correction;\nthe ones under way finish on the case they heard.","operationId":"apply_research_api_scenario_versions__version_id__research_apply_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/calc-key":{"get":{"tags":["research"],"summary":"Get Calc Key","operationId":"get_calc_key_api_scenario_versions__version_id__calc_key_get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Calc Key Api Scenario Versions  Version Id  Calc Key Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/calc-key/preview":{"post":{"tags":["research"],"summary":"Preview Calc Key","description":"What the actions would do to every line, saving nothing.","operationId":"preview_calc_key_api_scenario_versions__version_id__calc_key_preview_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalcKeyActionsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Preview Calc Key Api Scenario Versions  Version Id  Calc Key Preview Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/calc-key/review":{"post":{"tags":["research"],"summary":"Review Calc Key","description":"The actions, checked together and saved; refused whole, with every problem in\nplain words, when the key they leave has a line that cannot be worked out.","operationId":"review_calc_key_api_scenario_versions__version_id__calc_key_review_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalcKeyActionsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Review Calc Key Api Scenario Versions  Version Id  Calc Key Review Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenario-versions/{version_id}/calc-key/regenerate":{"post":{"tags":["research"],"summary":"Regenerate Calc Key","description":"Ask for the key to be written again by the model, with the professor's note.\nAnswers at once; the worker writes it (`calc_key/rewrite.py`) and the view says so\nuntil it is stored. The old key stays in use until then.","operationId":"regenerate_calc_key_api_scenario_versions__version_id__calc_key_regenerate_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalcKeyRegenerateIn"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Regenerate Calc Key Api Scenario Versions  Version Id  Calc Key Regenerate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rubrics":{"get":{"tags":["rubrics"],"summary":"List Rubrics","operationId":"list_rubrics_api_rubrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RubricOut"},"type":"array","title":"Response List Rubrics Api Rubrics Get"}}}}}},"post":{"tags":["rubrics"],"summary":"Create Rubric","operationId":"create_rubric_api_rubrics_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rubrics/competencies":{"get":{"tags":["rubrics"],"summary":"List Competencies","description":"Distinct competency tags across the institution's rubrics — the tag is\nthe cross-scenario analytics key, so reuse beats retyping.\n(Registered before /{rubric_id} so the literal path wins.)","operationId":"list_competencies_api_rubrics_competencies_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array","title":"Response List Competencies Api Rubrics Competencies Get"}}}}}}},"/api/rubrics/{rubric_id}":{"get":{"tags":["rubrics"],"summary":"Get Rubric","operationId":"get_rubric_api_rubrics__rubric_id__get","parameters":[{"name":"rubric_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rubric Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["rubrics"],"summary":"Update Rubric","operationId":"update_rubric_api_rubrics__rubric_id__patch","parameters":[{"name":"rubric_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["rubrics"],"summary":"Delete Rubric","operationId":"delete_rubric_api_rubrics__rubric_id__delete","parameters":[{"name":"rubric_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rubric Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rubrics/{rubric_id}/copy":{"post":{"tags":["rubrics"],"summary":"Copy Rubric","description":"Fork-on-edit-if-shared: a copy scoped to one case, criteria included.","operationId":"copy_rubric_api_rubrics__rubric_id__copy_post","parameters":[{"name":"rubric_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricCopy"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RubricDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rubrics/{rubric_id}/criteria":{"post":{"tags":["rubrics"],"summary":"Create Criterion","operationId":"create_criterion_api_rubrics__rubric_id__criteria_post","parameters":[{"name":"rubric_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rubric Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioCriterionCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CriterionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rubrics/criteria/{criterion_id}":{"patch":{"tags":["rubrics"],"summary":"Update Criterion","operationId":"update_criterion_api_rubrics_criteria__criterion_id__patch","parameters":[{"name":"criterion_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Criterion Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CriterionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CriterionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["rubrics"],"summary":"Delete Criterion","operationId":"delete_criterion_api_rubrics_criteria__criterion_id__delete","parameters":[{"name":"criterion_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Criterion Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/editor-images":{"post":{"tags":["uploads"],"summary":"Upload Editor Image","operationId":"upload_editor_image_api_editor_images_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_editor_image_api_editor_images_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Upload Editor Image Api Editor Images Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/editor-images/{image_id}":{"get":{"tags":["uploads"],"summary":"Get Editor Image","operationId":"get_editor_image_api_editor_images__image_id__get","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Image Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/uploads/{token}":{"get":{"tags":["uploads"],"summary":"Describe Upload","operationId":"describe_upload_api_uploads__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadLinkOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["uploads"],"summary":"Put Upload","description":"The file's bytes as the request body; its type is read from the bytes.","operationId":"put_upload_api_uploads__token__put","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assignments":{"get":{"tags":["engine"],"summary":"My Assignments","operationId":"my_assignments_api_assignments_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssignmentOut"},"type":"array","title":"Response My Assignments Api Assignments Get"}}}}}},"post":{"tags":["engine"],"summary":"Create Assignment","operationId":"create_assignment_api_assignments_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignmentCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignmentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/assignments/{assignment_id}":{"patch":{"tags":["engine"],"summary":"Set In Groups","description":"Alone or in groups, until a student starts the case. A TA sets it for\nthe classes they assist; any other class's case is not found for them.","operationId":"set_in_groups_api_assignments__assignment_id__patch","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Assignment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignmentInGroups"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassAssignment"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts":{"post":{"tags":["engine"],"summary":"Start Attempt","operationId":"start_attempt_api_attempts_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartAttempt"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttemptState"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["engine"],"summary":"List Attempts","operationId":"list_attempts_api_attempts_get","parameters":[{"name":"scenario_id","in":"query","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AttemptListItem"},"title":"Response List Attempts Api Attempts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/turn":{"post":{"tags":["engine"],"summary":"Student Turn","operationId":"student_turn_api_attempts__attempt_id__turn_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TurnIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TurnOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/artifacts":{"post":{"tags":["engine"],"summary":"Share Artifact","description":"The student brings their own material into the room mid-attempt. Ingest\nit synchronously (so it's ready to argue on THIS turn), record a\nstudent_artifact event, and hand back the doc id. The v3 panel sees its\npublic summary but does not silently promote student material into the\nimmutable case evidence catalog; legacy runtimes retain their search path.","operationId":"share_artifact_api_attempts__attempt_id__artifacts_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_share_artifact_api_attempts__attempt_id__artifacts_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArtifactOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/turn/stream":{"post":{"tags":["engine"],"summary":"Student Turn Stream","description":"Two-phase turn: emits `responding {actor_name}` the instant the router\npicks the speaker (~1s), then `done {events, clock}` when the actor lands\n(~7s). On a calculator case, `number_check {state: started|finished}` comes\nfirst, while the panel checks the student's numbers; it says only that the\ncheck runs, never what it found. While the check or the speaker works, each\nstep it takes comes as `activity {who, actor_name, step_id, kind, label,\ndone_label, state: started|finished, at_ms}`: \"Reading Report C, page 4\" while\nit runs, \"Read Report C, page 4\" once done. The steps are held in memory for\nthe turn and never written to the attempt. Frames go out in the order they\nhappened. The processing runs on its OWN session, so\na client refresh mid-turn cannot abort it. A retry with the same\nclient_msg_id joins the original result; another backend worker waits on\nthe attempt row until the complete turn commits. A comment frame every\nhalf second keeps proxies from closing the stream while the panel works.","operationId":"student_turn_stream_api_attempts__attempt_id__turn_stream_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TurnIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/action":{"post":{"tags":["engine"],"summary":"Press Action","operationId":"press_action_api_attempts__attempt_id__action_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TurnOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/answer-timeout":{"post":{"tags":["engine"],"summary":"Answer Timeout","description":"A presentation viva's countdown on the answer to the panel line `question_seq`\nreached zero with nothing typed (a typed draft is sent as a turn instead). The\nserver checks the time really ran out, records \"no answer in time\", and the panel\nasks its next question, or the viva closes when its Q&A time is spent.\n\n400 answer_not_due: the deadline, moved on by any watching pause, has not passed.\n409 question_moved_on: the question was answered, already moved on from, or is not\nthe one waiting. An answer and a timeout racing for the same question take the\nattempt's lock in turn: the first to commit wins and the other gets a 409. A\ntimeout the sweep already recorded for this question replays.","operationId":"answer_timeout_api_attempts__attempt_id__answer_timeout_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerTimeoutIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TurnOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/watching":{"post":{"tags":["engine"],"summary":"Watching","description":"The student started (`playing` true) or stopped playing their recording or a\nclip, in a presentation viva. The minute counts answering only, so while they\nwatch, the countdown and the Q&A clock stand still, for up to the viva's pause per\nquestion (2 minutes). The server keeps the cap from its own times, even if \"stopped\"\nnever comes; each new question starts a fresh pause. Watching while no question\nwaits, or after the answer's time ran out, changes nothing. If the video is still\nplaying when a new question arrives, send playing true again.","operationId":"watching_api_attempts__attempt_id__watching_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchingIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchingOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/telemetry":{"post":{"tags":["engine"],"summary":"Student Telemetry","description":"Record client-side interaction traces (doc opens, focus shifts). Batched\nby the room; only telemetry-class types are honoured so a client can never\ninject dialogue this way. Silent no-op once the attempt is over.","operationId":"student_telemetry_api_attempts__attempt_id__telemetry_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelemetryIn"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/events":{"get":{"tags":["engine"],"summary":"Attempt Events","operationId":"attempt_events_api_attempts__attempt_id__events_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"after_seq","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"After Seq"}},{"name":"include_activity","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Activity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EventOut"},"title":"Response Attempt Events Api Attempts  Attempt Id  Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/follow":{"get":{"tags":["engine"],"summary":"Follow Attempt","description":"A group member following the attempt: what happened since `after_seq`.\n\nA plain read — it never waits on a turn in flight and never closes an\nexpired attempt (the driver's reads and the expiry worker do that). The\ncase is loaded only when there are rows to show, and `last_seq` moves the\nreader past rows they cannot see, so nothing is read twice.","operationId":"follow_attempt_api_attempts__attempt_id__follow_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"after_seq","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"After Seq"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}":{"get":{"tags":["engine"],"summary":"Attempt State","operationId":"attempt_state_api_attempts__attempt_id__get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttemptState"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/docs/{doc_id}":{"get":{"tags":["engine"],"summary":"Attempt Doc","operationId":"attempt_doc_api_attempts__attempt_id__docs__doc_id__get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","title":"Doc Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocContent"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/docs/{doc_id}/file":{"get":{"tags":["engine"],"summary":"Attempt Doc File","operationId":"attempt_doc_file_api_attempts__attempt_id__docs__doc_id__file_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"doc_id","in":"path","required":true,"schema":{"type":"string","title":"Doc Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/pad":{"get":{"tags":["engine"],"summary":"Get Pad","description":"The saved pad, each line worked out.","operationId":"get_pad_api_attempts__attempt_id__pad_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PadOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/pad/evaluate":{"post":{"tags":["engine"],"summary":"Evaluate Pad Lines","description":"Lines as the student has them now, worked out; nothing is saved.","operationId":"evaluate_pad_lines_api_attempts__attempt_id__pad_evaluate_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PadEvaluateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PadResultOut"},"title":"Response Evaluate Pad Lines Api Attempts  Attempt Id  Pad Evaluate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/pad/lines/{line_id}":{"put":{"tags":["engine"],"summary":"Save Pad Line","description":"Save one line (a new id goes last; a saved line keeps its place). Each case\nfigure takes the approved sheet's value. Returns the whole pad worked out.","operationId":"save_pad_line_api_attempts__attempt_id__pad_lines__line_id__put","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"line_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","title":"Line Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PadLineContentV3"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PadOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["engine"],"summary":"Remove Pad Line","description":"Remove one line. Returns the whole pad worked out.","operationId":"remove_pad_line_api_attempts__attempt_id__pad_lines__line_id__delete","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"line_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","title":"Line Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PadOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/pad/figures":{"get":{"tags":["engine"],"summary":"Pad Figures For Attempt","description":"Approved case figures of the documents the student can see now; `q` narrows them\nby words of the label, symbol, value, unit or document.","operationId":"pad_figures_for_attempt_api_attempts__attempt_id__pad_figures_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PadFigureOut"},"title":"Response Pad Figures For Attempt Api Attempts  Attempt Id  Pad Figures Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/notes":{"get":{"tags":["notes"],"summary":"Read Notes","description":"Everyone's updates after `after`, in order, a page at a time.","operationId":"read_notes_api_attempts__attempt_id__notes_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotesOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["notes"],"summary":"Save Note","description":"Keep one update and give it the attempt's next number.","operationId":"save_note_api_attempts__attempt_id__notes_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__engine__NoteIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteSaved"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/chats":{"get":{"tags":["chats"],"summary":"Read Chats","description":"Every chat message after `after`, in order, a page at a time: for the\nstudent and the group sitting with them.","operationId":"read_chats_api_attempts__attempt_id__chats_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/chats/{contact_id}":{"post":{"tags":["chats"],"summary":"Send Chat","description":"Send one message to a person and return it with their reply. Only the\nstudent driving the attempt sends; the group reads along.","operationId":"send_chat_api_attempts__attempt_id__chats__contact_id__post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"contact_id","in":"path","required":true,"schema":{"type":"string","title":"Contact Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatSent"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/queue":{"get":{"tags":["review"],"summary":"Queue","description":"The attempts assigned to me, and what each one is waiting for.","operationId":"queue_api_review_queue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/QueueItem"},"type":"array","title":"Response Queue Api Review Queue Get"}}}}}}},"/api/review/reviewable":{"get":{"tags":["review"],"summary":"Reviewable","description":"Every finished attempt in this institution, and who is reviewing it.\n\nSynthetic runs are listed beside human ones on purpose — what the desk\nreviews is a recorded trajectory, and a model played one just as a student\ndid. `/api/attempts` cannot answer this: it wants a scenario id and only\never returns `kind = student`.\n\nEvery lookup here is batched. This is an institution's whole reviewable\nhistory, so a query per row would grow with the archive.","operationId":"reviewable_api_review_reviewable_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ReviewableAttempt"},"type":"array","title":"Response Reviewable Api Review Reviewable Get"}}}}}}},"/api/review/reviewers":{"get":{"tags":["review"],"summary":"Reviewers","description":"Who may be given a slot, and which attempts they authored the case for.\n\nAuthorship travels with the person so the picker can say \"wrote this case\"\nwhere it matters, rather than letting the administrator find out by being\nrefused.","operationId":"reviewers_api_review_reviewers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ReviewerOption"},"type":"array","title":"Response Reviewers Api Review Reviewers Get"}}}}}}},"/api/review/assignments":{"post":{"tags":["review"],"summary":"Create Assignment","description":"Grant one expert one slot on one finished attempt.","operationId":"create_assignment_api_review_assignments_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewAssignmentCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewAssignmentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["review"],"summary":"List Assignments","operationId":"list_assignments_api_review_assignments_get","parameters":[{"name":"attempt_id","in":"query","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReviewAssignmentOut"},"title":"Response List Assignments Api Review Assignments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/assignments/{attempt_id}/{slot}":{"delete":{"tags":["review"],"summary":"Delete Assignment","description":"Take back a slot that was given to the wrong person.\n\nOnly while it is still empty: a locked review is immutable, and a started\none holds judgment that deleting the grant would cascade away.","operationId":"delete_assignment_api_review_assignments__attempt_id___slot__delete","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"slot","in":"path","required":true,"schema":{"type":"string","title":"Slot"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/profile":{"put":{"tags":["review"],"summary":"Put Profile","description":"Who I am, for the export envelope. Mine only.","operationId":"put_profile_api_review_profile_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewerProfileIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewerProfileOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}":{"get":{"tags":["review"],"summary":"Get Bundle","operationId":"get_bundle_api_review_attempts__attempt_id__get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewBundle"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/export":{"get":{"tags":["review"],"summary":"Get Export","description":"The dataset package, computed here rather than in a browser.\n\nOnly whole once both reviews are locked: a package holding one reading is\nnot a smaller version of this artifact, it is a different claim.","operationId":"get_export_api_review_attempts__attempt_id__export_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Export Api Review Attempts  Attempt Id  Export Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/v3":{"get":{"tags":["review"],"summary":"Get V3 Bundle","operationId":"get_v3_bundle_api_review_attempts__attempt_id__v3_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V3ReviewBundleOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/image":{"get":{"tags":["review"],"summary":"Get Case Image","description":"Render the case page a model inspected, for an assigned reviewer.\n\nAuthorized exactly like the bundle it belongs to: being assigned to this\nattempt is what grants access. Resolves the document to its backing asset\nserver-side so asset ids never reach the client.","operationId":"get_case_image_api_review_attempts__attempt_id__image_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"doc","in":"query","required":true,"schema":{"type":"string","title":"Doc"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/v3/export":{"get":{"tags":["review"],"summary":"Get V3 Export","description":"Return the terminal, content-addressed V3 research package.","operationId":"get_v3_export_api_review_attempts__attempt_id__v3_export_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get V3 Export Api Review Attempts  Attempt Id  V3 Export Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/v3/export/download":{"get":{"tags":["review"],"summary":"Download V3 Export","description":"Download the exact canonical artifact bytes covered by artifact_hash.","operationId":"download_v3_export_api_review_attempts__attempt_id__v3_export_download_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/v3/phases/{phase}/submit":{"post":{"tags":["review"],"summary":"Submit V3 Phase","operationId":"submit_v3_phase_api_review_attempts__attempt_id__v3_phases__phase__submit_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"phase","in":"path","required":true,"schema":{"enum":["blind","peer","final"],"type":"string","title":"Phase"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V3PhaseSubmissionOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/v3/peer-authorship/close":{"post":{"tags":["review"],"summary":"Close V3 Peer Authorship","operationId":"close_v3_peer_authorship_api_review_attempts__attempt_id__v3_peer_authorship_close_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V3PeerAuthorshipClosureOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/v3/annotation-objects":{"post":{"tags":["review"],"summary":"Create V3 Annotation Object","operationId":"create_v3_annotation_object_api_review_attempts__attempt_id__v3_annotation_objects_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationObjectCreateIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationObjectDraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/v3/annotations":{"put":{"tags":["review"],"summary":"Put V3 Annotation Draft","operationId":"put_v3_annotation_draft_api_review_attempts__attempt_id__v3_annotations_put","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnnotationDraftIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExpertAnnotationDraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/v3/annotations/{annotation_id}":{"delete":{"tags":["review"],"summary":"Delete V3 Annotation Draft","operationId":"delete_v3_annotation_draft_api_review_attempts__attempt_id__v3_annotations__annotation_id__delete","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"annotation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Annotation Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/v3/notes":{"post":{"tags":["review"],"summary":"Create V3 Note Draft","operationId":"create_v3_note_draft_api_review_attempts__attempt_id__v3_notes_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteCreateIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteDraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/v3/notes/{note_id}":{"put":{"tags":["review"],"summary":"Update V3 Note Draft","operationId":"update_v3_note_draft_api_review_attempts__attempt_id__v3_notes__note_id__put","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"note_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Note Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteUpdateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteDraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/v3/coverage":{"put":{"tags":["review"],"summary":"Put V3 Coverage Draft","operationId":"put_v3_coverage_draft_api_review_attempts__attempt_id__v3_coverage_put","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoverageDraftIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoverageDraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/v3/candidates":{"post":{"tags":["review"],"summary":"Create V3 Candidate","operationId":"create_v3_candidate_api_review_attempts__attempt_id__v3_candidates_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateDraftIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateDraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/v3/candidates/{candidate_id}":{"put":{"tags":["review"],"summary":"Update V3 Candidate","operationId":"update_v3_candidate_api_review_attempts__attempt_id__v3_candidates__candidate_id__put","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Candidate Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateUpdateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateDraftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["review"],"summary":"Delete V3 Candidate","operationId":"delete_v3_candidate_api_review_attempts__attempt_id__v3_candidates__candidate_id__delete","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Candidate Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/marks":{"put":{"tags":["review"],"summary":"Put Mark","operationId":"put_mark_api_review_attempts__attempt_id__marks_put","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mark"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/marks/{mark_id}":{"delete":{"tags":["review"],"summary":"Delete Mark","operationId":"delete_mark_api_review_attempts__attempt_id__marks__mark_id__delete","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"mark_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mark Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/scores/{criterion_key}":{"put":{"tags":["review"],"summary":"Put Score","operationId":"put_score_api_review_attempts__attempt_id__scores__criterion_key__put","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"criterion_key","in":"path","required":true,"schema":{"type":"string","title":"Criterion Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScoreDraft"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/judgment":{"put":{"tags":["review"],"summary":"Put Judgment","operationId":"put_judgment_api_review_attempts__attempt_id__judgment_put","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttemptJudgment"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/verdict":{"put":{"tags":["review"],"summary":"Put Verdict","operationId":"put_verdict_api_review_attempts__attempt_id__verdict_put","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerdictIn"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/lock":{"post":{"tags":["review"],"summary":"Lock Review","operationId":"lock_review_api_review_attempts__attempt_id__lock_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewAssignmentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/answers/{cluster_id}":{"post":{"tags":["review"],"summary":"Post Answer","operationId":"post_answer_api_review_attempts__attempt_id__answers__cluster_id__post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"cluster_id","in":"path","required":true,"schema":{"type":"string","title":"Cluster Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Answer"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/endorsements":{"post":{"tags":["review"],"summary":"Post Endorsement","operationId":"post_endorsement_api_review_attempts__attempt_id__endorsements_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndorsementIn"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/additions":{"post":{"tags":["review"],"summary":"Post Addition","operationId":"post_addition_api_review_attempts__attempt_id__additions_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdditionIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Post Addition Api Review Attempts  Attempt Id  Additions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/additions/{addition_id}/stance":{"put":{"tags":["review"],"summary":"Put Addition Stance","operationId":"put_addition_stance_api_review_attempts__attempt_id__additions__addition_id__stance_put","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"addition_id","in":"path","required":true,"schema":{"type":"string","title":"Addition Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdditionStanceIn"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/additions/{addition_id}":{"delete":{"tags":["review"],"summary":"Remove Addition","operationId":"remove_addition_api_review_attempts__attempt_id__additions__addition_id__delete","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"addition_id","in":"path","required":true,"schema":{"type":"string","title":"Addition Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/review/attempts/{attempt_id}/joint/{cluster_id}":{"post":{"tags":["review"],"summary":"Post Joint","operationId":"post_joint_api_review_attempts__attempt_id__joint__cluster_id__post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"cluster_id","in":"path","required":true,"schema":{"type":"string","title":"Cluster Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JointDecision"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/grading":{"get":{"tags":["grading"],"summary":"Get Grading","operationId":"get_grading_api_attempts__attempt_id__grading_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradingBundleOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/grading/{criterion_id}":{"put":{"tags":["grading"],"summary":"Correct Criterion","operationId":"correct_criterion_api_attempts__attempt_id__grading__criterion_id__put","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"criterion_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Criterion Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__grading__CorrectionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CriterionGradingOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/grading/{criterion_id}/debrief":{"put":{"tags":["grading"],"summary":"Rewrite Debrief Lines","description":"The author's own version of what the student reads for this criterion.\n\nKept beside the council's draft, never over it: the page shows the author's\nlines where they exist, the audit keeps both, and the signature covers what\nis published.","operationId":"rewrite_debrief_lines_api_attempts__attempt_id__grading__criterion_id__debrief_put","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"criterion_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Criterion Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DebriefLinesIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CriterionGradingOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["grading"],"summary":"Reset Debrief Lines","description":"Put the council's lines back: the draft, or the words of the grader whose score\nthe author chose.","operationId":"reset_debrief_lines_api_attempts__attempt_id__grading__criterion_id__debrief_delete","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"criterion_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Criterion Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/grading/{criterion_id}/include":{"post":{"tags":["grading"],"summary":"Include Cite","description":"Bring one line the council heard but did not publish into what the student reads.\n\nThe minority seat is often right about a turn without being right about the\nscore. This takes its cite, and nothing else: the author's lines start from\nthe published draft and gain one entry.\n\nWhen the council published nothing — both seats abstained, or the chair did\n— the source seat's own words start them instead. The student must never be\nhanded a page with no `why` on it, and the author can edit what they see.","operationId":"include_cite_api_attempts__attempt_id__grading__criterion_id__include_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}},{"name":"criterion_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Criterion Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncludeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CriterionGradingOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/grading/signoff":{"post":{"tags":["grading"],"summary":"Sign Off","operationId":"sign_off_api_attempts__attempt_id__grading_signoff_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignoffIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradingBundleOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/grading/preview":{"get":{"tags":["grading"],"summary":"Preview Debrief","description":"The student's page, exactly as they will read it. You cannot sign a page you have not seen.","operationId":"preview_debrief_api_attempts__attempt_id__grading_preview_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DebriefOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/grading/regrade":{"post":{"tags":["grading"],"summary":"Regrade","description":"Send an unsigned draft back to the council. Corrections already made survive.","operationId":"regrade_api_attempts__attempt_id__grading_regrade_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Regrade Api Attempts  Attempt Id  Grading Regrade Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/grading/grade":{"post":{"tags":["grading"],"summary":"Grade Now","description":"Ask the council to grade an ended attempt that has no grade: a model's\nattempt (never graded on close), or a student's whose run failed for good.","operationId":"grade_now_api_attempts__attempt_id__grading_grade_post","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradingJobOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/attempts/{attempt_id}/debrief":{"get":{"tags":["grading"],"summary":"Student Debrief","description":"The signed page. 404 unless the caller sat this attempt — their own, or\ntheir group's — and it is released: never 403, so an unsigned draft does\nnot even announce that it exists.","operationId":"student_debrief_api_attempts__attempt_id__debrief_get","parameters":[{"name":"attempt_id","in":"path","required":true,"schema":{"type":"integer","title":"Attempt Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DebriefOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/grading/mine":{"get":{"tags":["grading"],"summary":"My Attempts","description":"The attempts the student sat — their own and their group's — and where\neach stands, newest first.","operationId":"my_attempts_api_grading_mine_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MyAttemptOut"},"type":"array","title":"Response My Attempts Api Grading Mine Get"}}}}}}},"/api/grading/queue":{"get":{"tags":["grading"],"summary":"Queue","description":"Attempts awaiting a signature, the ones that need a human first.","operationId":"queue_api_grading_queue_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/QueueItemOut"},"type":"array","title":"Response Queue Api Grading Queue Get"}}}}}}},"/api/grading/pending":{"get":{"tags":["grading"],"summary":"Pending","description":"Ended attempts the council has not finished with, and where each run stands.","operationId":"pending_api_grading_pending_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PendingItemOut"},"type":"array","title":"Response Pending Api Grading Pending Get"}}}}}}},"/api/grading/jobs":{"get":{"tags":["grading"],"summary":"Jobs","description":"The institution's grading runs, newest first.","operationId":"jobs_api_grading_jobs_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/JobListItemOut"},"title":"Response Jobs Api Grading Jobs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/grading/jobs/{job_id}/retry":{"post":{"tags":["grading"],"summary":"Retry Job","description":"Queue a fresh run for a failed job's attempt.","operationId":"retry_job_api_grading_jobs__job_id__retry_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradingJobOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/scenarios/{scenario_id}/cohort":{"get":{"tags":["grading"],"summary":"Cohort","operationId":"cohort_api_scenarios__scenario_id__cohort_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__grading__CohortOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/cohorts":{"get":{"tags":["groups"],"summary":"List Cohorts","operationId":"list_cohorts_api_cohorts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/app__schemas__groups__CohortOut"},"type":"array","title":"Response List Cohorts Api Cohorts Get"}}}}}}},"/api/cohorts/{cohort_id}":{"get":{"tags":["groups"],"summary":"Cohort Groups","operationId":"cohort_groups_api_cohorts__cohort_id__get","parameters":[{"name":"cohort_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Cohort Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CohortGroupsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/cohorts/{cohort_id}/assignments":{"get":{"tags":["groups"],"summary":"Cohort Assignments","description":"The cases assigned to a class, and how each is sat.","operationId":"cohort_assignments_api_cohorts__cohort_id__assignments_get","parameters":[{"name":"cohort_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Cohort Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ClassAssignment"},"title":"Response Cohort Assignments Api Cohorts  Cohort Id  Assignments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/cohorts/{cohort_id}/groups":{"post":{"tags":["groups"],"summary":"Create Group","operationId":"create_group_api_cohorts__cohort_id__groups_post","parameters":[{"name":"cohort_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Cohort Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupNameIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__groups__GroupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/classes":{"get":{"tags":["classes"],"summary":"List Classes","operationId":"list_classes_api_classes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ClassItem"},"type":"array","title":"Response List Classes Api Classes Get"}}}}}},"post":{"tags":["classes"],"summary":"Create Class","operationId":"create_class_api_classes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/classes/sign-in-email":{"get":{"tags":["classes"],"summary":"Sign In Email","operationId":"sign_in_email_api_classes_sign_in_email_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInEmail"}}}}}}},"/api/classes/roster-template.csv":{"get":{"tags":["classes"],"summary":"Roster Template","operationId":"roster_template_api_classes_roster_template_csv_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/classes/{class_id}":{"get":{"tags":["classes"],"summary":"Read Class","operationId":"read_class_api_classes__class_id__get","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["classes"],"summary":"Update Class","operationId":"update_class_api_classes__class_id__patch","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/classes/{class_id}/roster":{"post":{"tags":["classes"],"summary":"Add Students","operationId":"add_students_api_classes__class_id__roster_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RosterIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RosterReport"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/classes/{class_id}/roster/csv":{"post":{"tags":["classes"],"summary":"Add Students Csv","operationId":"add_students_csv_api_classes__class_id__roster_csv_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}},{"name":"preview","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Preview"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_add_students_csv_api_classes__class_id__roster_csv_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RosterReport"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/classes/{class_id}/roster/{roster_id}":{"delete":{"tags":["classes"],"summary":"Remove Student","operationId":"remove_student_api_classes__class_id__roster__roster_id__delete","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}},{"name":"roster_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Roster Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packs":{"get":{"tags":["classes"],"summary":"List Packs","operationId":"list_packs_api_packs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PackItem"},"type":"array","title":"Response List Packs Api Packs Get"}}}}}},"post":{"tags":["classes"],"summary":"Create Pack","operationId":"create_pack_api_packs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packs/cases":{"get":{"tags":["classes"],"summary":"Pickable Cases","description":"The published cases that can go in a pack: the professor's own first.","operationId":"pickable_cases_api_packs_cases_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PickableCase"},"type":"array","title":"Response Pickable Cases Api Packs Cases Get"}}}}}}},"/api/packs/give-case":{"post":{"tags":["classes"],"summary":"Give Case To Class","description":"Give one case to a class: it goes as a pack of one, named after the case.","operationId":"give_case_to_class_api_packs_give_case_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiveCaseIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packs/{pack_id}":{"get":{"tags":["classes"],"summary":"Read Pack","operationId":"read_pack_api_packs__pack_id__get","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pack Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["classes"],"summary":"Update Pack","operationId":"update_pack_api_packs__pack_id__patch","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pack Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["classes"],"summary":"Delete Pack","operationId":"delete_pack_api_packs__pack_id__delete","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pack Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packs/{pack_id}/cases":{"post":{"tags":["classes"],"summary":"Add Cases","description":"Put cases at the end of the pack. Every class that has the pack gets\nthem too, with its dates and its attempts for each case.","operationId":"add_cases_api_packs__pack_id__cases_post","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pack Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CasesIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packs/{pack_id}/cases/{case_id}":{"delete":{"tags":["classes"],"summary":"Remove Case","description":"Take a case out of the pack, and out of every class that has the pack,\nwhere no one has started it yet; with remove_from_canvas, out of those\nclasses' Canvas courses too.","operationId":"remove_case_api_packs__pack_id__cases__case_id__delete","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pack Id"}},{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}},{"name":"remove_from_canvas","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Remove From Canvas"}},{"name":"dry_run","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Dry Run"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakenOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packs/{pack_id}/order":{"put":{"tags":["classes"],"summary":"Order Cases","operationId":"order_cases_api_packs__pack_id__order_put","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pack Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packs/{pack_id}/classes":{"post":{"tags":["classes"],"summary":"Give To Class","description":"Give the pack to one of the professor's classes: one assignment per case.","operationId":"give_to_class_api_packs__pack_id__classes_post","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pack Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GiveIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packs/{pack_id}/classes/{given_id}":{"delete":{"tags":["classes"],"summary":"Take Back From Class","description":"Take the pack back from a class. A case someone has started stays with\nthe class as a single case.","operationId":"take_back_from_class_api_packs__pack_id__classes__given_id__delete","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pack Id"}},{"name":"given_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Given Id"}},{"name":"remove_from_canvas","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Remove From Canvas"}},{"name":"dry_run","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Dry Run"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TakenOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/packs/{pack_id}/classes/{given_id}/cases/{case_id}":{"patch":{"tags":["classes"],"summary":"Set Case Attempts","description":"Change how many attempts each student of that class has at one case.","operationId":"set_case_attempts_api_packs__pack_id__classes__given_id__cases__case_id__patch","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pack Id"}},{"name":"given_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Given Id"}},{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AttemptsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/canvas/connection":{"get":{"tags":["classes"],"summary":"Read Connection","operationId":"read_connection_api_canvas_connection_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__canvas__api__ConnectionOut"}}}}}},"post":{"tags":["classes"],"summary":"Connect Canvas","description":"Read by hand, not by a request model: a refused model echoes what was\nsent, and what was sent is a token. Grades that waited for a reconnect go\nright after.","operationId":"connect_canvas_api_canvas_connection_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__canvas__api__ConnectionOut"}}}}}},"delete":{"tags":["classes"],"summary":"Disconnect Canvas","operationId":"disconnect_canvas_api_canvas_connection_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Disconnected"}}}}}}},"/api/canvas/courses":{"get":{"tags":["classes"],"summary":"List Courses","description":"The Canvas courses the professor teaches.","operationId":"list_courses_api_canvas_courses_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CourseOut"},"type":"array","title":"Response List Courses Api Canvas Courses Get"}}}}}}},"/api/canvas/classes":{"post":{"tags":["classes"],"summary":"Create Class From Course","description":"A class named after a Canvas course the professor teaches, its list filled\nfrom the course.","operationId":"create_class_from_course_api_canvas_classes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FromCourseIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FromCourse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/canvas/classes/{class_id}/sync":{"post":{"tags":["classes"],"summary":"Sync Roster","description":"Update the class list from its Canvas course.","operationId":"sync_roster_api_canvas_classes__class_id__sync_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncReport"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/canvas/classes/{class_id}/students/{canvas_user_id}/email":{"put":{"tags":["classes"],"summary":"Set Student Email","description":"Type in the email of a Canvas student who came with none: they go on the list.","operationId":"set_student_email_api_canvas_classes__class_id__students__canvas_user_id__email_put","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}},{"name":"canvas_user_id","in":"path","required":true,"schema":{"type":"string","title":"Canvas User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/canvas/classes/{class_id}/students/{canvas_user_id}/confirm":{"post":{"tags":["classes"],"summary":"Confirm Student Match","description":"Confirm that a Canvas student in \"check this match\" is the listed student\nwith the same email, who has signed in already: they are matched.","operationId":"confirm_student_match_api_canvas_classes__class_id__students__canvas_user_id__confirm_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}},{"name":"canvas_user_id","in":"path","required":true,"schema":{"type":"string","title":"Canvas User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/canvas/classes/{class_id}/outcomes":{"get":{"tags":["classes"],"summary":"List Outcomes","description":"The outcomes of the class's Canvas course, then its school's (school: true),\nwhich publishing links into the course.","operationId":"list_outcomes_api_canvas_classes__class_id__outcomes_get","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutcomesOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/canvas/packs/{pack_id}/classes/{class_id}":{"get":{"tags":["classes"],"summary":"Publish Status","description":"Each case of the pack as it stands in the class's Canvas course: not there\nyet, there, or its rubric changed since. Asks Canvas nothing.","operationId":"publish_status_api_canvas_packs__pack_id__classes__class_id__get","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pack Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__canvas__api__PublishOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["classes"],"summary":"Publish Pack","description":"Put the pack's cases in the class's Canvas course, or with dry_run say\nexactly what would go there. The class list is updated from Canvas first.","operationId":"publish_pack_api_canvas_packs__pack_id__classes__class_id__post","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pack Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__canvas__api__PublishIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__canvas__api__PublishOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/canvas/packs/{pack_id}/classes/{class_id}/grades":{"get":{"tags":["classes"],"summary":"Read Grades","description":"Per case of the pack: how many signed-off grades are in Canvas, waiting,\nor failed, and each student with a plain reason.","operationId":"read_grades_api_canvas_packs__pack_id__classes__class_id__grades_get","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pack Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradesOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/canvas/classes/{class_id}/grades":{"get":{"tags":["classes"],"summary":"Read Class Grades","description":"As per pack, for the class's cases taken back from a pack after students\nhad started them, which are still in Canvas.","operationId":"read_class_grades_api_canvas_classes__class_id__grades_get","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradesOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/canvas/packs/{pack_id}/classes/{class_id}/grades/retry":{"post":{"tags":["classes"],"summary":"Retry Failed Grades","description":"Try again to send the grades Canvas refused. Only failed ones: the rest\ngo by themselves.","operationId":"retry_failed_grades_api_canvas_packs__pack_id__classes__class_id__grades_retry_post","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pack Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetryIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetryOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/canvas/classes/{class_id}/grades/retry":{"post":{"tags":["classes"],"summary":"Retry Failed Class Grades","description":"As per pack, for the class's cases taken back from a pack.","operationId":"retry_failed_class_grades_api_canvas_classes__class_id__grades_retry_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetryIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetryOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/canvas/classes/{class_id}/left":{"get":{"tags":["classes"],"summary":"Read Left In Canvas","description":"Cases taken out of the class's packs whose Canvas assignment is still\nthere. Asks Canvas nothing.","operationId":"read_left_in_canvas_api_canvas_classes__class_id__left_get","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeftOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/canvas/classes/{class_id}/left/{link_id}/remove":{"post":{"tags":["classes"],"summary":"Remove Left In Canvas","description":"Remove one of them from Canvas: deleted when it has no grades, else hidden\nfrom students with its grades kept. Asking again changes nothing.","operationId":"remove_left_in_canvas_api_canvas_classes__class_id__left__link_id__remove_post","parameters":[{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}},{"name":"link_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Link Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemovedOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/canvas/packs/{pack_id}/classes/{class_id}/gradebook.csv":{"get":{"tags":["classes"],"summary":"Gradebook Csv","description":"The pack's best signed-off scores as a file Canvas imports in its\nGradebook (Import), for a school that doesn't allow Canvas tokens. Any class,\nlinked to Canvas or not. Scores only: no rubric rows, no outcomes.","operationId":"gradebook_csv_api_canvas_packs__pack_id__classes__class_id__gradebook_csv_get","parameters":[{"name":"pack_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pack Id"}},{"name":"class_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Class Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/groups/{group_id}":{"patch":{"tags":["groups"],"summary":"Rename Group","operationId":"rename_group_api_groups__group_id__patch","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupNameIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__groups__GroupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["groups"],"summary":"Delete Group","operationId":"delete_group_api_groups__group_id__delete","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/groups/{group_id}/members/{user_id}":{"put":{"tags":["groups"],"summary":"Add Member","operationId":"add_member_api_groups__group_id__members__user_id__put","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["groups"],"summary":"Remove Member","operationId":"remove_member_api_groups__group_id__members__user_id__delete","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/assignments/{assignment_id}/me":{"get":{"tags":["presentation"],"summary":"Read Mine","operationId":"read_mine_api_presentation_assignments__assignment_id__me_get","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Assignment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/assignments/{assignment_id}/me/group":{"post":{"tags":["presentation"],"summary":"Create My Group","operationId":"create_my_group_api_presentation_assignments__assignment_id__me_group_post","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Assignment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewGroupIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["presentation"],"summary":"Change My Group","operationId":"change_my_group_api_presentation_assignments__assignment_id__me_group_patch","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Assignment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MyGroupIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/cases/{scenario_id}/vivas":{"get":{"tags":["presentation"],"summary":"Read Case Vivas","operationId":"read_case_vivas_api_presentation_cases__scenario_id__vivas_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CaseVivaOut"},"title":"Response Read Case Vivas Api Presentation Cases  Scenario Id  Vivas Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/assignments/{assignment_id}":{"get":{"tags":["presentation"],"summary":"Read Groups","operationId":"read_groups_api_presentation_assignments__assignment_id__get","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Assignment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfessorView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/assignments/{assignment_id}/lock":{"post":{"tags":["presentation"],"summary":"Lock Groups","operationId":"lock_groups_api_presentation_assignments__assignment_id__lock_post","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Assignment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfessorView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/assignments/{assignment_id}/settings":{"patch":{"tags":["presentation"],"summary":"Change Settings","operationId":"change_settings_api_presentation_assignments__assignment_id__settings_patch","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Assignment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__presentation__groups__SettingsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfessorView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/assignments/{assignment_id}/groups":{"post":{"tags":["presentation"],"summary":"Add Group","operationId":"add_group_api_presentation_assignments__assignment_id__groups_post","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Assignment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewGroupIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfessorView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/groups/{group_id}":{"patch":{"tags":["presentation"],"summary":"Rename Group","operationId":"rename_group_api_presentation_groups__group_id__patch","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenameIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfessorView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["presentation"],"summary":"Delete Group","operationId":"delete_group_api_presentation_groups__group_id__delete","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfessorView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/groups/{group_id}/members/{user_id}":{"put":{"tags":["presentation"],"summary":"Place Student","operationId":"place_student_api_presentation_groups__group_id__members__user_id__put","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfessorView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["presentation"],"summary":"Remove Student","operationId":"remove_student_api_presentation_groups__group_id__members__user_id__delete","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfessorView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/groups/{group_id}/upload":{"post":{"tags":["presentation"],"summary":"Start Upload","description":"The recording goes in parts, straight from the browser to storage.","operationId":"start_upload_api_presentation_groups__group_id__upload_post","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__presentation__groups__UploadIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["presentation"],"summary":"Cancel Upload","operationId":"cancel_upload_api_presentation_groups__group_id__upload_delete","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/groups/{group_id}/upload/finish":{"post":{"tags":["presentation"],"summary":"Finish Upload","operationId":"finish_upload_api_presentation_groups__group_id__upload_finish_post","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FinishIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__presentation__groups__GroupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/groups/{group_id}/submit":{"post":{"tags":["presentation"],"summary":"Submit Group","operationId":"submit_group_api_presentation_groups__group_id__submit_post","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__presentation__groups__GroupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/groups/{group_id}/reopen":{"post":{"tags":["presentation"],"summary":"Reopen Group","operationId":"reopen_group_api_presentation_groups__group_id__reopen_post","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__presentation__groups__GroupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/groups/{group_id}/media":{"get":{"tags":["presentation"],"summary":"Group Media","operationId":"group_media_api_presentation_groups__group_id__media_get","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/groups/{group_id}/sources":{"get":{"tags":["presentation"],"summary":"Group Sources","description":"The professor's sources of the group's viva, and the group's own papers,\npage by page, for the viva room.","operationId":"group_sources_api_presentation_groups__group_id__sources_get","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VivaSourcesOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/groups/{group_id}/papers":{"get":{"tags":["presentation"],"summary":"List Papers","operationId":"list_papers_api_presentation_groups__group_id__papers_get","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PapersOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["presentation"],"summary":"Start Paper","operationId":"start_paper_api_presentation_groups__group_id__papers_post","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceFileIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaperUploadOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/groups/{group_id}/papers/{paper_id}/finish":{"post":{"tags":["presentation"],"summary":"Finish Paper","operationId":"finish_paper_api_presentation_groups__group_id__papers__paper_id__finish_post","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}},{"name":"paper_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Paper Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PapersOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/groups/{group_id}/papers/{paper_id}":{"delete":{"tags":["presentation"],"summary":"Remove Paper","operationId":"remove_paper_api_presentation_groups__group_id__papers__paper_id__delete","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}},{"name":"paper_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Paper Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PapersOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/assignments/{assignment_id}/sources":{"get":{"tags":["presentation"],"summary":"List Sources","operationId":"list_sources_api_presentation_assignments__assignment_id__sources_get","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Assignment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourcesOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["presentation"],"summary":"Start Source","operationId":"start_source_api_presentation_assignments__assignment_id__sources_post","parameters":[{"name":"assignment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Assignment Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceFileIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceUploadOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/sources/{source_id}/finish":{"post":{"tags":["presentation"],"summary":"Finish Source","operationId":"finish_source_api_presentation_sources__source_id__finish_post","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/sources/{source_id}/retry":{"post":{"tags":["presentation"],"summary":"Retry Source","operationId":"retry_source_api_presentation_sources__source_id__retry_post","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation/sources/{source_id}":{"delete":{"tags":["presentation"],"summary":"Remove Source","operationId":"remove_source_api_presentation_sources__source_id__delete","parameters":[{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourcesOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/storage/local/{token}":{"get":{"tags":["uploads"],"summary":"Get","description":"The file, with byte ranges (FileResponse answers a Range header with 206).","operationId":"get_api_storage_local__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["uploads"],"summary":"Put","description":"The file's (or the part's) bytes as the body.","operationId":"put_api_storage_local__token__put","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation-groups/{group_id}":{"get":{"tags":["presentation"],"summary":"Read Group","description":"The group, its recording, transcript and brief, and where processing stands.","operationId":"read_group_api_presentation_groups__group_id__get","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresentationGroupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation-groups/{group_id}/retry":{"post":{"tags":["presentation"],"summary":"Retry Processing","description":"Queue the step that failed again (reason retry). Only for failed processing.","operationId":"retry_processing_api_presentation_groups__group_id__retry_post","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresentationGroupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/trials":{"get":{"tags":["trials"],"summary":"List Trials","operationId":"list_trials_api_admin_trials_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TrialOut"},"type":"array","title":"Response List Trials Api Admin Trials Get"}}}}}},"post":{"tags":["trials"],"summary":"Create Trial","operationId":"create_trial_api_admin_trials_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialCreatedOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/trials/{trial_id}/extend":{"post":{"tags":["trials"],"summary":"Extend Trial","operationId":"extend_trial_api_admin_trials__trial_id__extend_post","parameters":[{"name":"trial_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Trial Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialExtend"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialEndsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/admin/trials/{trial_id}/end":{"post":{"tags":["trials"],"summary":"End Trial","operationId":"end_trial_api_admin_trials__trial_id__end_post","parameters":[{"name":"trial_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Trial Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialEndsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sample-requests":{"post":{"tags":["public"],"summary":"Request Sample","operationId":"request_sample_api_sample_requests_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SampleRequestIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/commissions":{"post":{"tags":["public"],"summary":"Store Commission","operationId":"store_commission_api_commissions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommissionIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/contact":{"post":{"tags":["public"],"summary":"Store Response","operationId":"store_response_api_contact_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/cases/{case_id}/files":{"get":{"tags":["bench"],"summary":"List Files","description":"The draft's file tree. Someone who reads this case only as the parent of\ntheir own variant sees its agent-visible files and nothing else.","operationId":"list_files_api_bench_cases__case_id__files_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Files Api Bench Cases  Case Id  Files Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/cases/{case_id}/files/uploads":{"post":{"tags":["bench"],"summary":"Start Upload","operationId":"start_upload_api_bench_cases__case_id__files_uploads_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__bench__schemas__UploadIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Start Upload Api Bench Cases  Case Id  Files Uploads Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/files/{file_id}/parts/{n}":{"put":{"tags":["bench"],"summary":"Put Part","description":"One part of an upload, on the local backend only (S3 takes parts itself).","operationId":"put_part_api_bench_files__file_id__parts__n__put","parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"File Id"}},{"name":"n","in":"path","required":true,"schema":{"type":"integer","title":"N"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/files/{file_id}/complete":{"post":{"tags":["bench"],"summary":"Complete Upload","operationId":"complete_upload_api_bench_files__file_id__complete_post","parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"File Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompleteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Complete Upload Api Bench Files  File Id  Complete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/files/{file_id}/content":{"put":{"tags":["bench"],"summary":"Save Text","description":"The code editor's save: the whole text as the body, at most 2 MB.","operationId":"save_text_api_bench_files__file_id__content_put","parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"File Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Save Text Api Bench Files  File Id  Content Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/files/{file_id}":{"patch":{"tags":["bench"],"summary":"Move File","description":"Rename or move a draft file. Its role and visibility follow its folder.","operationId":"move_file_api_bench_files__file_id__patch","parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"File Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FilePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Move File Api Bench Files  File Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["bench"],"summary":"Delete File","operationId":"delete_file_api_bench_files__file_id__delete","parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"File Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/files/{file_id}/download":{"get":{"tags":["bench"],"summary":"Download","operationId":"download_api_bench_files__file_id__download_get","parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"File Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Download Api Bench Files  File Id  Download Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/files/{file_id}/raw":{"get":{"tags":["bench"],"summary":"Raw","description":"The bytes, on the local backend only (S3 serves its own signed URL).","operationId":"raw_api_bench_files__file_id__raw_get","parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"File Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/files/{file_id}/preview":{"get":{"tags":["bench"],"summary":"Preview","description":"The file's converted preview: ready (with a URL), queued, failed, or none\nfor a type that has no preview. Asking for a missing one queues it. While it is\nqueued and no runner machine is up, `runner` says whether one is starting or\nfailed to start (machines.waiting_on).","operationId":"preview_api_bench_files__file_id__preview_get","parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"File Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Preview Api Bench Files  File Id  Preview Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/files/{file_id}/preview/raw":{"get":{"tags":["bench"],"summary":"Preview Raw","operationId":"preview_raw_api_bench_files__file_id__preview_raw_get","parameters":[{"name":"file_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"File Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/uploads/{token}":{"put":{"tags":["bench"],"summary":"Put By Link","description":"The file's bytes as the body. No login: the signed link is the permission,\nchecked again against the case as it is now.","operationId":"put_by_link_api_bench_uploads__token__put","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Put By Link Api Bench Uploads  Token  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/projects/{project_id}/machines":{"get":{"tags":["bench"],"summary":"List Machines","description":"Recent runner machines and what happened to each. Project admins only.","operationId":"list_machines_api_bench_projects__project_id__machines_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Machines Api Bench Projects  Project Id  Machines Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/zip-uploads/{token}":{"put":{"tags":["bench"],"summary":"Put Zip By Link","description":"The zip's bytes as the body. No login: the signed link is the permission,\nchecked again against the case as it is now.","operationId":"put_zip_by_link_api_bench_zip_uploads__token__put","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Put Zip By Link Api Bench Zip Uploads  Token  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/kit/{name}":{"get":{"tags":["bench"],"summary":"Download","operationId":"download_api_bench_kit__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"enum":["starter-kit.zip","engineering-task-author-skill.zip"],"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/cases/{case_id}/fixtures":{"get":{"tags":["bench"],"summary":"List Fixtures","description":"The draft's sample answers: what each says, its latest try of the checks, and\nwhether the author has agreed it for its files as they are now.","operationId":"list_fixtures_api_bench_cases__case_id__fixtures_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Fixtures Api Bench Cases  Case Id  Fixtures Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/cases/{case_id}/fixtures/agree":{"post":{"tags":["bench"],"summary":"Agree Fixture","description":"The author agrees one sample answer for its files as they are now. The person\ncomes from the website's session cookie, read here: no AI-app tool can pass one in.","operationId":"agree_fixture_api_bench_cases__case_id__fixtures_agree_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreeIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Agree Fixture Api Bench Cases  Case Id  Fixtures Agree Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/cases/{case_id}/checklist":{"get":{"tags":["bench"],"summary":"Get Checklist","description":"Every checklist item for the draft: the bench's own items evaluated now, Claude's and\nthe expert's as recorded, each with its evidence and the step that fixes it.","operationId":"get_checklist_api_bench_cases__case_id__checklist_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Checklist Api Bench Cases  Case Id  Checklist Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["bench"],"summary":"Record On Website","description":"The author confirms, fails or waives items on the website. The person comes from\nthe website's session cookie, read here: no AI-app tool can pass one in.","operationId":"record_on_website_api_bench_cases__case_id__checklist_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecordIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Record On Website Api Bench Cases  Case Id  Checklist Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/cases/{case_id}/grade":{"post":{"tags":["bench"],"summary":"Grade On Website","description":"The same grading run as bench_grade_all (or bench_grade_fixture with one\nsubmission), started from the website's \"Grade all sample answers\" button.","operationId":"grade_on_website_api_bench_cases__case_id__grade_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GradeIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Grade On Website Api Bench Cases  Case Id  Grade Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/script-runs/{run_id}":{"get":{"tags":["bench"],"summary":"Get Run On Website","description":"A grading or script run read back, as bench_get_script_run gives it, without\nthe pictures (the website shows a run's progress and per-answer results).","operationId":"get_run_on_website_api_bench_script_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Run On Website Api Bench Script Runs  Run Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/cases/{case_id}/model-runs":{"get":{"tags":["bench"],"summary":"List Model Runs","operationId":"list_model_runs_api_bench_cases__case_id__model_runs_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Model Runs Api Bench Cases  Case Id  Model Runs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["bench"],"summary":"Start Model Run","operationId":"start_model_run_api_bench_cases__case_id__model_runs_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelRunIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Start Model Run Api Bench Cases  Case Id  Model Runs Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/projects/{project_id}/model-runs":{"get":{"tags":["bench"],"summary":"List Project Model Runs","description":"Every task's model runs in the project, newest first (contracts §16.2).","operationId":"list_project_model_runs_api_bench_projects__project_id__model_runs_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Project Model Runs Api Bench Projects  Project Id  Model Runs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/cases/{case_id}/model-runs/models":{"get":{"tags":["bench"],"summary":"List Models","description":"OpenRouter's models for the start form's picker (contracts §16.5).","operationId":"list_models_api_bench_cases__case_id__model_runs_models_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}},{"name":"include_batch","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Batch"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Models Api Bench Cases  Case Id  Model Runs Models Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/cases/{case_id}/model-runs/estimate":{"get":{"tags":["bench"],"summary":"Estimate Model Run","operationId":"estimate_model_run_api_bench_cases__case_id__model_runs_estimate_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}},{"name":"model","in":"query","required":true,"schema":{"type":"string","title":"Model"}},{"name":"attempts","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Attempts"}},{"name":"max_turns","in":"query","required":false,"schema":{"type":"integer","default":150,"title":"Max Turns"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Estimate Model Run Api Bench Cases  Case Id  Model Runs Estimate Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/model-runs/{run_id}/rerun":{"post":{"tags":["bench"],"summary":"Rerun Model Attempts","description":"Run again the attempts that failed for a reason that was not the model's (contracts\n§19.5): a new run with the same settings, k = their number, checked against the\ntask's minimums and the project's budget like any start. Never automatic.","operationId":"rerun_model_attempts_api_bench_model_runs__run_id__rerun_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RerunIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Rerun Model Attempts Api Bench Model Runs  Run Id  Rerun Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/model-runs/{run_id}":{"get":{"tags":["bench"],"summary":"Get Model Run","operationId":"get_model_run_api_bench_model_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Model Run Api Bench Model Runs  Run Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/model-runs/{run_id}/attempts/{number}":{"get":{"tags":["bench"],"summary":"Get Model Attempt","description":"One attempt: its latest try, or the one `?try=` names (an earlier try was cut off\nwhen the machine running it was lost, contracts §20).","operationId":"get_model_attempt_api_bench_model_runs__run_id__attempts__number__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"number","in":"path","required":true,"schema":{"type":"integer","title":"Number"}},{"name":"try","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Try"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Model Attempt Api Bench Model Runs  Run Id  Attempts  Number  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/model-runs/{run_id}/file":{"get":{"tags":["bench"],"summary":"Get Model Run File","description":"Where to read one file of a run (its trajectory, a log, a submitted file).","operationId":"get_model_run_file_api_bench_model_runs__run_id__file_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Model Run File Api Bench Model Runs  Run Id  File Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/model-runs/{run_id}/file/raw":{"get":{"tags":["bench"],"summary":"Get Model Run File Raw","description":"The file itself, on the local backend only.","operationId":"get_model_run_file_raw_api_bench_model_runs__run_id__file_raw_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/model-runs/{run_id}/cancel":{"post":{"tags":["bench"],"summary":"Cancel Model Run","description":"Stop a queued or running run. The runner stops its attempts at its next check-in\n(lease/3); attempts that had finished are kept.","operationId":"cancel_model_run_api_bench_model_runs__run_id__cancel_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Cancel Model Run Api Bench Model Runs  Run Id  Cancel Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/me":{"get":{"tags":["bench"],"summary":"Me","operationId":"me_api_bench_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Me Api Bench Me Get"}}}}}}},"/api/bench/projects":{"get":{"tags":["bench"],"summary":"List Projects","operationId":"list_projects_api_bench_projects_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response List Projects Api Bench Projects Get"}}}}}},"post":{"tags":["bench"],"summary":"Create Project","operationId":"create_project_api_bench_projects_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Project Api Bench Projects Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/projects/{project_id}":{"get":{"tags":["bench"],"summary":"Get Project","operationId":"get_project_api_bench_projects__project_id__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Project Api Bench Projects  Project Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/projects/{project_id}/members":{"get":{"tags":["bench"],"summary":"List Members","description":"Members, and invites not yet accepted (without their links).","operationId":"list_members_api_bench_projects__project_id__members_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Members Api Bench Projects  Project Id  Members Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/projects/{project_id}/invites":{"post":{"tags":["bench"],"summary":"Create Invite","description":"A link for one person, shown once. Only its hash is kept.","operationId":"create_invite_api_bench_projects__project_id__invites_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Invite Api Bench Projects  Project Id  Invites Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/members/{member_id}":{"patch":{"tags":["bench"],"summary":"Change Member","operationId":"change_member_api_bench_members__member_id__patch","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Member Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Change Member Api Bench Members  Member Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["bench"],"summary":"Remove Member","operationId":"remove_member_api_bench_members__member_id__delete","parameters":[{"name":"member_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Member Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/invites/{token}":{"get":{"tags":["bench"],"summary":"Read Invite","description":"What the invite page shows before sign-in. No login needed.\n`account_exists` tells the page to offer sign-in, or making an account.","operationId":"read_invite_api_bench_invites__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Read Invite Api Bench Invites  Token  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/invites/{token}/accept":{"post":{"tags":["bench"],"summary":"Accept Invite","description":"Join the project as the invited role (contracts §11.2).\n\nSigned in: the account's email must be the invited one; send no body.\nNot signed in, and no account has the invited email: send {name, password};\nthe account is made with that email (role `expert`) and signed in, as the\nlogin does. Not signed in, but an account exists: 401, sign in first.","operationId":"accept_invite_api_bench_invites__token__accept_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AcceptIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Accept Invite Api Bench Invites  Token  Accept Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/projects/{project_id}/families":{"get":{"tags":["bench"],"summary":"List Families","operationId":"list_families_api_bench_projects__project_id__families_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Families Api Bench Projects  Project Id  Families Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["bench"],"summary":"Create Family","operationId":"create_family_api_bench_projects__project_id__families_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Family Api Bench Projects  Project Id  Families Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/families/{family_id}":{"get":{"tags":["bench"],"summary":"Get Family","operationId":"get_family_api_bench_families__family_id__get","parameters":[{"name":"family_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Family Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Family Api Bench Families  Family Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["bench"],"summary":"Change Family","operationId":"change_family_api_bench_families__family_id__patch","parameters":[{"name":"family_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Family Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FamilyPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Change Family Api Bench Families  Family Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["bench"],"summary":"Delete Family","description":"Only a family with no cases (contracts §11.3).","operationId":"delete_family_api_bench_families__family_id__delete","parameters":[{"name":"family_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Family Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/families/{family_id}/cases":{"get":{"tags":["bench"],"summary":"List Cases","description":"Reviewers and admins see every case; a contributor sees their own.","operationId":"list_cases_api_bench_families__family_id__cases_get","parameters":[{"name":"family_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Family Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Cases Api Bench Families  Family Id  Cases Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["bench"],"summary":"Create Case","description":"A new case with its draft. An original starts blank: the family's brief\ntemplate is an example to look at, never copied in. A variant starts as a\ncopy of its parent's draft: all of it when the same person wrote the parent,\notherwise only the brief, the requirements and the files the AI agent sees.\nThe task type (`format`) is the case's own, kept in its details.","operationId":"create_case_api_bench_families__family_id__cases_post","parameters":[{"name":"family_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Family Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Case Api Bench Families  Family Id  Cases Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/cases/{case_id}":{"get":{"tags":["bench"],"summary":"Get Case","operationId":"get_case_api_bench_cases__case_id__get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Case Api Bench Cases  Case Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["bench"],"summary":"Change Case","operationId":"change_case_api_bench_cases__case_id__patch","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CasePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Change Case Api Bench Cases  Case Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["bench"],"summary":"Delete Case","description":"Only a case never submitted, by its author or an admin (contracts §11.3).\nIts draft and draft files go with it; stored content is kept.","operationId":"delete_case_api_bench_cases__case_id__delete","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/cases/{case_id}/draft":{"get":{"tags":["bench"],"summary":"Get Draft","operationId":"get_draft_api_bench_cases__case_id__draft_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Draft Api Bench Cases  Case Id  Draft Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["bench"],"summary":"Save Draft","description":"Autosave. bench_meta is bench.json minus its files list (files live in\nthe file tree), so a `files` key sent here is dropped. The expert's \"These are my\nwords\" is recorded as agreed on the website (§11.55).","operationId":"save_draft_api_bench_cases__case_id__draft_put","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Save Draft Api Bench Cases  Case Id  Draft Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/cases/{case_id}/submit":{"post":{"tags":["bench"],"summary":"Submit","description":"Freeze the draft as the next version, with its files' hashes, and queue\nthe checker on it. Refused while a sample answer is not agreed by the task's\nauthor (§11.50), while the catch is not theirs (§11.52), and while an item of the\ntask checklist fails or is still to do (§18). The draft stays editable.","operationId":"submit_api_bench_cases__case_id__submit_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Submit Api Bench Cases  Case Id  Submit Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/cases/{case_id}/originality":{"post":{"tags":["bench"],"summary":"Check Originality","description":"Compare the draft's core (title, problem lines, brief, requirements, check\ntitles) with published engineering benchmark tasks, the bench's other tasks and\nthe worked example, and save the result with the draft. With `text`, compare that\ninstead and save nothing.","operationId":"check_originality_api_bench_cases__case_id__originality_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OriginalityIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Check Originality Api Bench Cases  Case Id  Originality Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/cases/{case_id}/versions":{"get":{"tags":["bench"],"summary":"List Versions","operationId":"list_versions_api_bench_cases__case_id__versions_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Versions Api Bench Cases  Case Id  Versions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/versions/{version_id}":{"get":{"tags":["bench"],"summary":"Get Version","operationId":"get_version_api_bench_versions__version_id__get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Version Api Bench Versions  Version Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/versions/{version_id}/checks":{"get":{"tags":["bench"],"summary":"List Checks","operationId":"list_checks_api_bench_versions__version_id__checks_get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Checks Api Bench Versions  Version Id  Checks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["bench"],"summary":"Rerun Checks","operationId":"rerun_checks_api_bench_versions__version_id__checks_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Rerun Checks Api Bench Versions  Version Id  Checks Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/check-runs/{run_id}":{"get":{"tags":["bench"],"summary":"Get Check Run","operationId":"get_check_run_api_bench_check_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Check Run Api Bench Check Runs  Run Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/check-runs/{run_id}/log":{"get":{"tags":["bench"],"summary":"Get Log","description":"Where to read one log of a run, by its `log_key` (contracts §11.8).","operationId":"get_log_api_bench_check_runs__run_id__log_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Log Api Bench Check Runs  Run Id  Log Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/check-runs/{run_id}/log/raw":{"get":{"tags":["bench"],"summary":"Get Log Raw","description":"The log's text, on the local backend only.","operationId":"get_log_raw_api_bench_check_runs__run_id__log_raw_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","title":"Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/versions/{version_id}/reviews":{"post":{"tags":["bench"],"summary":"Review","operationId":"review_api_bench_versions__version_id__reviews_post","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Review Api Bench Versions  Version Id  Reviews Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["bench"],"summary":"List Reviews","operationId":"list_reviews_api_bench_versions__version_id__reviews_get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Reviews Api Bench Versions  Version Id  Reviews Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/versions/{version_id}/export":{"get":{"tags":["bench"],"summary":"Export","description":"The version as a Harbor task zip, private files included (internal use).","operationId":"export_api_bench_versions__version_id__export_get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Export Api Bench Versions  Version Id  Export Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/bench/versions/{version_id}/export/file":{"get":{"tags":["bench"],"summary":"Export File","description":"The zip's bytes, on the local backend only.","operationId":"export_file_api_bench_versions__version_id__export_file_get","parameters":[{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation-groups/{group_id}/marks":{"get":{"tags":["presentation"],"summary":"Get Marks","operationId":"get_marks_api_presentation_groups__group_id__marks_get","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresentationMarksOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation-groups/{group_id}/marks/{criterion_id}":{"put":{"tags":["presentation"],"summary":"Correct Mark","operationId":"correct_mark_api_presentation_groups__group_id__marks__criterion_id__put","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}},{"name":"criterion_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Criterion Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__presentation__marks__CorrectionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CriterionMarkOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation-groups/{group_id}/marks/signoff":{"post":{"tags":["presentation"],"summary":"Sign Off","operationId":"sign_off_api_presentation_groups__group_id__marks_signoff_post","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignoffIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PresentationMarksOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/presentation-groups/{group_id}/my-marks":{"get":{"tags":["presentation"],"summary":"My Marks","operationId":"my_marks_api_presentation_groups__group_id__my_marks_get","parameters":[{"name":"group_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudentMarksOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/worlds":{"get":{"tags":["studio: worlds"],"summary":"List Worlds","operationId":"list_worlds_api_studio_worlds_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WorldSummary"},"type":"array","title":"Response List Worlds Api Studio Worlds Get"}}}}}},"post":{"tags":["studio: worlds"],"summary":"Create World","operationId":"create_world_api_studio_worlds_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorldCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorldDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/worlds/{world_id}":{"get":{"tags":["studio: worlds"],"summary":"Get World","operationId":"get_world_api_studio_worlds__world_id__get","parameters":[{"name":"world_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"World Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorldDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/worlds/{world_id}/draft":{"put":{"tags":["studio: worlds"],"summary":"Save Draft","operationId":"save_draft_api_studio_worlds__world_id__draft_put","parameters":[{"name":"world_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"World Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftSave"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftSaved"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/worlds/{world_id}/versions":{"post":{"tags":["studio: worlds"],"summary":"Save Version","operationId":"save_version_api_studio_worlds__world_id__versions_post","parameters":[{"name":"world_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"World Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedVersion"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/worlds/{world_id}/versions/{version_id}":{"get":{"tags":["studio: worlds"],"summary":"Get Version","operationId":"get_version_api_studio_worlds__world_id__versions__version_id__get","parameters":[{"name":"world_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"World Id"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/worlds/{world_id}/versions/{version_id}/export":{"get":{"tags":["studio: worlds"],"summary":"Export Version","operationId":"export_version_api_studio_worlds__world_id__versions__version_id__export_get","parameters":[{"name":"world_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"World Id"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}},{"name":"format","in":"query","required":false,"schema":{"enum":["yaml","json"],"type":"string","default":"yaml","title":"Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/worlds/validate":{"post":{"tags":["studio: worlds"],"summary":"Validate World","operationId":"validate_world_api_studio_worlds_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorldInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Checked"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/worlds/explain":{"post":{"tags":["studio: worlds"],"summary":"Explain World","operationId":"explain_world_api_studio_worlds_explain_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorldInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Explained"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/worlds/dryrun":{"post":{"tags":["studio: worlds"],"summary":"Rehearse World","operationId":"rehearse_world_api_studio_worlds_dryrun_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rehearsal"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Rehearsed"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/schema":{"get":{"tags":["studio: worlds"],"summary":"World Schema","operationId":"world_schema_api_studio_schema_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response World Schema Api Studio Schema Get"}}}}}}},"/api/studio/blocks":{"get":{"tags":["studio: worlds"],"summary":"List Blocks","operationId":"list_blocks_api_studio_blocks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BlockCard"},"type":"array","title":"Response List Blocks Api Studio Blocks Get"}}}}}}},"/api/studio/examples":{"get":{"tags":["studio: worlds"],"summary":"List Examples","operationId":"list_examples_api_studio_examples_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ExampleCard"},"type":"array","title":"Response List Examples Api Studio Examples Get"}}}}}}},"/api/studio/worlds/from-example":{"post":{"tags":["studio: worlds"],"summary":"World From Example","operationId":"world_from_example_api_studio_worlds_from_example_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExampleCopy"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorldDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/models":{"get":{"tags":["studio: runs"],"summary":"List Models","operationId":"list_models_api_studio_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ModelPrice"},"type":"array","title":"Response List Models Api Studio Models Get"}}}}}}},"/api/studio/runs":{"get":{"tags":["studio: runs"],"summary":"List Runs","operationId":"list_runs_api_studio_runs_get","parameters":[{"name":"world_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"World Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["queued","running","stopping","stopped","completed","failed","died"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RunSummary"},"title":"Response List Runs Api Studio Runs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["studio: runs"],"summary":"Start Run","description":"Queue a run for a worker to play. The same ``start_key`` again answers 200 with the\nrun it started, so a double click starts one run.","operationId":"start_run_api_studio_runs_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunStart"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/preflight":{"post":{"tags":["studio: runs"],"summary":"Preflight Run","description":"What a start would check, without starting.","operationId":"preflight_run_api_studio_runs_preflight_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunPlan"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Preflight"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}":{"get":{"tags":["studio: runs"],"summary":"Get Run","operationId":"get_run_api_studio_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/live":{"get":{"tags":["studio: runs"],"summary":"Run Live","operationId":"run_live_api_studio_runs__run_id__live_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Live"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/stop":{"post":{"tags":["studio: runs"],"summary":"Stop Run","description":"Stop after the round in play, or now; a run still waiting stops at once.","operationId":"stop_run_api_studio_runs__run_id__stop_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/rows":{"get":{"tags":["studio: record"],"summary":"Run Rows","operationId":"run_rows_api_studio_runs__run_id__rows_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"After"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"default":500,"title":"Limit"}},{"name":"layers","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma separated, e.g. public,backroom","title":"Layers"},"description":"Comma separated, e.g. public,backroom"},{"name":"member","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Only the rows this character saw","title":"Member"},"description":"Only the rows this character saw"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/rounds":{"get":{"tags":["studio: record"],"summary":"Run Rounds","operationId":"run_rounds_api_studio_runs__run_id__rounds_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RoundTick"},"title":"Response Run Rounds Api Studio Runs  Run Id  Rounds Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/state":{"get":{"tags":["studio: record"],"summary":"Run State","operationId":"run_state_api_studio_runs__run_id__state_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"at","in":"query","required":true,"schema":{"type":"integer","minimum":0,"title":"At"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StateAt"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/calls/{call_id}":{"get":{"tags":["studio: record"],"summary":"Run Call","operationId":"run_call_api_studio_runs__run_id__calls__call_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"call_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Call Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/stream-links":{"get":{"tags":["studio: stream links"],"summary":"List Stream Links","operationId":"list_stream_links_api_studio_runs__run_id__stream_links_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StreamLink"},"title":"Response List Stream Links Api Studio Runs  Run Id  Stream Links Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["studio: stream links"],"summary":"Create Stream Link","operationId":"create_stream_link_api_studio_runs__run_id__stream_links_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamLinkCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamLink"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/stream-links/{token}":{"put":{"tags":["studio: stream links"],"summary":"Update Stream Link","description":"Change what a link shows; the page picks it up on its next poll.","operationId":"update_stream_link_api_studio_stream_links__token__put","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamLinkUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamLink"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/stream-links/{token}/revoke":{"post":{"tags":["studio: stream links"],"summary":"Revoke Stream Link","operationId":"revoke_stream_link_api_studio_stream_links__token__revoke_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamLink"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/tree":{"get":{"tags":["studio: branches"],"summary":"Run Tree","operationId":"run_tree_api_studio_runs__run_id__tree_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tree"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/fork/preview":{"post":{"tags":["studio: branches"],"summary":"Preview Fork","operationId":"preview_fork_api_studio_runs__run_id__fork_preview_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForkPlan"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForkPreview"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/fork":{"post":{"tags":["studio: branches"],"summary":"Fork Run","operationId":"fork_run_api_studio_runs__run_id__fork_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForkStart"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/resume":{"post":{"tags":["studio: branches"],"summary":"Resume Run","operationId":"resume_run_api_studio_runs__run_id__resume_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResumeStart"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/storyboard":{"post":{"tags":["studio: storyboard"],"summary":"Make Storyboard","operationId":"make_storyboard_api_studio_runs__run_id__storyboard_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryboardMake"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Storyboard"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["studio: storyboard"],"summary":"Get Storyboard","operationId":"get_storyboard_api_studio_runs__run_id__storyboard_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Storyboard"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/storyboard/export":{"get":{"tags":["studio: storyboard"],"summary":"Export Storyboard","operationId":"export_storyboard_api_studio_runs__run_id__storyboard_export_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"format","in":"query","required":false,"schema":{"const":"json","type":"string","default":"json","title":"Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/scenes":{"get":{"tags":["studio: scenes and scripts"],"summary":"Run Scenes","operationId":"run_scenes_api_studio_runs__run_id__scenes_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"since","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SceneList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/screenplay":{"get":{"tags":["studio: scenes and scripts"],"summary":"Run Screenplay","operationId":"run_screenplay_api_studio_runs__run_id__screenplay_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"first_day","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"First Day"}},{"name":"last_day","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Last Day"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Screenplay"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/screenplay/export":{"get":{"tags":["studio: scenes and scripts"],"summary":"Export Screenplay","operationId":"export_screenplay_api_studio_runs__run_id__screenplay_export_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"first_day","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"First Day"}},{"name":"last_day","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Last Day"}},{"name":"format","in":"query","required":false,"schema":{"const":"fountain","type":"string","default":"fountain","title":"Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/scripts/preview":{"post":{"tags":["studio: scenes and scripts"],"summary":"Preview Script","description":"What cutting this episode could cost at most, and every reason it cannot be cut\nnow, before anyone pays.","operationId":"preview_script_api_studio_runs__run_id__scripts_preview_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScriptPlan"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScriptPreview"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/scripts":{"post":{"tags":["studio: scenes and scripts"],"summary":"Make Script","operationId":"make_script_api_studio_runs__run_id__scripts_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScriptMake"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Script"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["studio: scenes and scripts"],"summary":"List Scripts","operationId":"list_scripts_api_studio_runs__run_id__scripts_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Script"},"title":"Response List Scripts Api Studio Runs  Run Id  Scripts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/scripts/{script_id}":{"get":{"tags":["studio: scenes and scripts"],"summary":"Get Script","operationId":"get_script_api_studio_runs__run_id__scripts__script_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"script_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Script Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Script"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/scripts/{script_id}/export":{"get":{"tags":["studio: scenes and scripts"],"summary":"Export Script","operationId":"export_script_api_studio_runs__run_id__scripts__script_id__export_get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"script_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Script Id"}},{"name":"format","in":"query","required":false,"schema":{"const":"fountain","type":"string","default":"fountain","title":"Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/next-episode/preview":{"post":{"tags":["studio: episodes"],"summary":"Preview Episode","operationId":"preview_episode_api_studio_runs__run_id__next_episode_preview_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodePlan"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodePreview"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/runs/{run_id}/next-episode":{"post":{"tags":["studio: episodes"],"summary":"Next Episode","operationId":"next_episode_api_studio_runs__run_id__next_episode_post","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodeStart"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpisodeRun"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/series/{series_id}":{"get":{"tags":["studio: episodes"],"summary":"Get Series","operationId":"get_series_api_studio_series__series_id__get","parameters":[{"name":"series_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Series Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Series"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/stream/{token}":{"get":{"tags":["studio: stream page"],"summary":"Stream Header","description":"The page's header: the run's title, take, status and clock, its cast, its layers.","operationId":"stream_header_api_studio_stream__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamHeader"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/stream/{token}/rows":{"get":{"tags":["studio: stream page"],"summary":"Stream Rows","description":"The rows the link's policy releases that the page has not had, oldest first. Send\nback the ``cursor`` of the last answer (empty at first).","operationId":"stream_rows_api_studio_stream__token__rows_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","default":"","title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":1,"default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamRows"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/studio/stream/{token}/scenes":{"get":{"tags":["studio: stream page"],"summary":"Stream Scenes","description":"The scenes a stream link shows: only those whose rows its layers all show, each row\nreleased by its hold-back; asides it does not show are left out.","operationId":"stream_scenes_api_studio_stream__token__scenes_get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}},{"name":"since","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SceneList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/schemas":{"get":{"tags":["pitch"],"summary":"Schemas","description":"The shapes the editors edit, with each field's limit: the deck's from pitchgen's template.","operationId":"schemas_api_pitch_admin_schemas_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Schemas Api Pitch Admin Schemas Get"}}}}}}},"/api/pitch-admin/me":{"get":{"tags":["pitch"],"summary":"Me","operationId":"me_api_pitch_admin_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Me Api Pitch Admin Me Get"}}}}}}},"/api/pitch-admin/settings":{"get":{"tags":["pitch"],"summary":"Get Settings ","operationId":"get_settings__api_pitch_admin_settings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Settings  Api Pitch Admin Settings Get"}}}}}},"put":{"tags":["pitch"],"summary":"Put Settings","operationId":"put_settings_api_pitch_admin_settings_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__pitch__api__SettingsIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Put Settings Api Pitch Admin Settings Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/keys/{provider}":{"put":{"tags":["pitch"],"summary":"Put Key","operationId":"put_key_api_pitch_admin_keys__provider__put","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Put Key Api Pitch Admin Keys  Provider  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["pitch"],"summary":"Delete Key","operationId":"delete_key_api_pitch_admin_keys__provider__delete","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Key Api Pitch Admin Keys  Provider  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/keys/{provider}/test":{"post":{"tags":["pitch"],"summary":"Test Stored Key","operationId":"test_stored_key_api_pitch_admin_keys__provider__test_post","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Test Stored Key Api Pitch Admin Keys  Provider  Test Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/models/{provider}":{"get":{"tags":["pitch"],"summary":"Models","operationId":"models_api_pitch_admin_models__provider__get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Models Api Pitch Admin Models  Provider  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches":{"get":{"tags":["pitch"],"summary":"List Pitches","operationId":"list_pitches_api_pitch_admin_pitches_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Pitches Api Pitch Admin Pitches Get"}}}}}},"post":{"tags":["pitch"],"summary":"Create Pitch","operationId":"create_pitch_api_pitch_admin_pitches_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewPitch"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Pitch Api Pitch Admin Pitches Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}":{"get":{"tags":["pitch"],"summary":"Get Pitch","operationId":"get_pitch_api_pitch_admin_pitches__pitch_id__get","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Pitch Api Pitch Admin Pitches  Pitch Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["pitch"],"summary":"Patch Pitch","operationId":"patch_pitch_api_pitch_admin_pitches__pitch_id__patch","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PitchPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Patch Pitch Api Pitch Admin Pitches  Pitch Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["pitch"],"summary":"Delete Pitch","operationId":"delete_pitch_api_pitch_admin_pitches__pitch_id__delete","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/notes":{"post":{"tags":["pitch"],"summary":"Add Note","operationId":"add_note_api_pitch_admin_pitches__pitch_id__notes_post","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__pitch__api__NoteIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Add Note Api Pitch Admin Pitches  Pitch Id  Notes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/logo/pick":{"post":{"tags":["pitch"],"summary":"Pick Logo","operationId":"pick_logo_api_pitch_admin_pitches__pitch_id__logo_pick_post","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoPick"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Pick Logo Api Pitch Admin Pitches  Pitch Id  Logo Pick Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/logo/upload":{"post":{"tags":["pitch"],"summary":"Upload Logo","operationId":"upload_logo_api_pitch_admin_pitches__pitch_id__logo_upload_post","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_logo_api_pitch_admin_pitches__pitch_id__logo_upload_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Upload Logo Api Pitch Admin Pitches  Pitch Id  Logo Upload Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/research":{"post":{"tags":["pitch"],"summary":"Run Research","operationId":"run_research_api_pitch_admin_pitches__pitch_id__research_post","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Regenerate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Run Research Api Pitch Admin Pitches  Pitch Id  Research Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["pitch"],"summary":"Edit Research","operationId":"edit_research_api_pitch_admin_pitches__pitch_id__research_put","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Edit Research Api Pitch Admin Pitches  Pitch Id  Research Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/approve/{kind}":{"post":{"tags":["pitch"],"summary":"Approve","operationId":"approve_api_pitch_admin_pitches__pitch_id__approve__kind__post","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Approve Api Pitch Admin Pitches  Pitch Id  Approve  Kind  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/deck":{"post":{"tags":["pitch"],"summary":"Run Deck","operationId":"run_deck_api_pitch_admin_pitches__pitch_id__deck_post","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Regenerate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Run Deck Api Pitch Admin Pitches  Pitch Id  Deck Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["pitch"],"summary":"Edit Deck","operationId":"edit_deck_api_pitch_admin_pitches__pitch_id__deck_put","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Edit Deck Api Pitch Admin Pitches  Pitch Id  Deck Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/deck/slides/{n}":{"post":{"tags":["pitch"],"summary":"Run Slide","operationId":"run_slide_api_pitch_admin_pitches__pitch_id__deck_slides__n__post","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}},{"name":"n","in":"path","required":true,"schema":{"type":"integer","title":"N"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Regenerate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Run Slide Api Pitch Admin Pitches  Pitch Id  Deck Slides  N  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/deck/upload":{"post":{"tags":["pitch"],"summary":"Upload Deck","description":"A deck made outside the engine, as a PDF: a new version of the deck. Its pages are the slides\nthe page and the film show, and their words are what the film script reads.","operationId":"upload_deck_api_pitch_admin_pitches__pitch_id__deck_upload_post","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_deck_api_pitch_admin_pitches__pitch_id__deck_upload_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Upload Deck Api Pitch Admin Pitches  Pitch Id  Deck Upload Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/script":{"post":{"tags":["pitch"],"summary":"Run Script","operationId":"run_script_api_pitch_admin_pitches__pitch_id__script_post","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Regenerate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Run Script Api Pitch Admin Pitches  Pitch Id  Script Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["pitch"],"summary":"Edit Script","operationId":"edit_script_api_pitch_admin_pitches__pitch_id__script_put","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Edit Script Api Pitch Admin Pitches  Pitch Id  Script Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/video":{"post":{"tags":["pitch"],"summary":"Upload Video","operationId":"upload_video_api_pitch_admin_pitches__pitch_id__video_post","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_video_api_pitch_admin_pitches__pitch_id__video_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Upload Video Api Pitch Admin Pitches  Pitch Id  Video Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/restore/{kind}/{version}":{"post":{"tags":["pitch"],"summary":"Restore","operationId":"restore_api_pitch_admin_pitches__pitch_id__restore__kind___version__post","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}},{"name":"kind","in":"path","required":true,"schema":{"type":"string","title":"Kind"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Restore Api Pitch Admin Pitches  Pitch Id  Restore  Kind   Version  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/publish":{"post":{"tags":["pitch"],"summary":"Publish","operationId":"publish_api_pitch_admin_pitches__pitch_id__publish_post","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__pitch__api__PublishIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Publish Api Pitch Admin Pitches  Pitch Id  Publish Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/unpublish":{"post":{"tags":["pitch"],"summary":"Unpublish","operationId":"unpublish_api_pitch_admin_pitches__pitch_id__unpublish_post","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Unpublish Api Pitch Admin Pitches  Pitch Id  Unpublish Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/jobs/{job_id}/retry":{"post":{"tags":["pitch"],"summary":"Retry Job","operationId":"retry_job_api_pitch_admin_jobs__job_id__retry_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"integer","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Retry Job Api Pitch Admin Jobs  Job Id  Retry Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/usage":{"get":{"tags":["pitch"],"summary":"Usage","operationId":"usage_api_pitch_admin_pitches__pitch_id__usage_get","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Usage Api Pitch Admin Pitches  Pitch Id  Usage Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/files/{path}":{"get":{"tags":["pitch"],"summary":"Admin File","operationId":"admin_file_api_pitch_admin_pitches__pitch_id__files__path__get","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/pitches/{pitch_id}/lessons":{"get":{"tags":["pitch"],"summary":"Get Lessons","description":"A preview of the lessons the next generation gets, with the exclusions, and the fit warning.","operationId":"get_lessons_api_pitch_admin_pitches__pitch_id__lessons_get","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Lessons Api Pitch Admin Pitches  Pitch Id  Lessons Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["pitch"],"summary":"Put Lessons","description":"The lessons to leave out (kept per pitch); the next regeneration goes without them.","operationId":"put_lessons_api_pitch_admin_pitches__pitch_id__lessons_put","parameters":[{"name":"pitch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Pitch Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LessonsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Put Lessons Api Pitch Admin Pitches  Pitch Id  Lessons Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-public/health":{"get":{"tags":["pitch"],"summary":"Public Health","description":"The engine is deployed: the admin tells \"not for you\" from \"not here yet\" by this.","operationId":"public_health_api_pitch_public_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Public Health Api Pitch Public Health Get"}}}}}}},"/api/pitch-public/pages/{slug}":{"get":{"tags":["pitch"],"summary":"Public Page","operationId":"public_page_api_pitch_public_pages__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-public/files/{slug}/{path}":{"get":{"tags":["pitch"],"summary":"Public File","operationId":"public_file_api_pitch_public_files__slug___path__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/lists":{"get":{"tags":["pitch"],"summary":"Get Lists","operationId":"get_lists_api_pitch_admin_lists_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Lists Api Pitch Admin Lists Get"}}}}}}},"/api/pitch-admin/companies":{"get":{"tags":["pitch"],"summary":"List Companies","operationId":"list_companies_api_pitch_admin_companies_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Companies Api Pitch Admin Companies Get"}}}}}},"post":{"tags":["pitch"],"summary":"Create Company","operationId":"create_company_api_pitch_admin_companies_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewCompany"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Company Api Pitch Admin Companies Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/companies/{company_id}":{"get":{"tags":["pitch"],"summary":"Get Company","operationId":"get_company_api_pitch_admin_companies__company_id__get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Company Api Pitch Admin Companies  Company Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["pitch"],"summary":"Patch Company","description":"A person's change to the record or the profile: a profile value changed by hand is the person's call.","operationId":"patch_company_api_pitch_admin_companies__company_id__patch","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Patch Company Api Pitch Admin Companies  Company Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/companies/{company_id}/reactions":{"post":{"tags":["pitch"],"summary":"Add Reaction","description":"Saves the reaction exactly as pasted. It runs nothing.","operationId":"add_reaction_api_pitch_admin_companies__company_id__reactions_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Add Reaction Api Pitch Admin Companies  Company Id  Reactions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/reactions/{reaction_id}":{"patch":{"tags":["pitch"],"summary":"Patch Reaction","description":"An edit. New words make the reaction's analyses stale, and the pattern notes built on them.","operationId":"patch_reaction_api_pitch_admin_reactions__reaction_id__patch","parameters":[{"name":"reaction_id","in":"path","required":true,"schema":{"type":"integer","title":"Reaction Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Patch Reaction Api Pitch Admin Reactions  Reaction Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["pitch"],"summary":"Delete Reaction","description":"Deletes the reaction and its analyses, takes it out of every count, and marks the pattern notes\nbuilt on it stale. Answers with the notes that went stale.","operationId":"delete_reaction_api_pitch_admin_reactions__reaction_id__delete","parameters":[{"name":"reaction_id","in":"path","required":true,"schema":{"type":"integer","title":"Reaction Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Reaction Api Pitch Admin Reactions  Reaction Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/reactions/{reaction_id}/analyse":{"post":{"tags":["pitch"],"summary":"Analyse Reaction","description":"Queues the analysis on the analysis model in Settings (no web search).","operationId":"analyse_reaction_api_pitch_admin_reactions__reaction_id__analyse_post","parameters":[{"name":"reaction_id","in":"path","required":true,"schema":{"type":"integer","title":"Reaction Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyseIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Analyse Reaction Api Pitch Admin Reactions  Reaction Id  Analyse Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/reactions/{reaction_id}/analysis":{"put":{"tags":["pitch"],"summary":"Edit Analysis","description":"An edit by hand: a new version, checked like a generated one.","operationId":"edit_analysis_api_pitch_admin_reactions__reaction_id__analysis_put","parameters":[{"name":"reaction_id","in":"path","required":true,"schema":{"type":"integer","title":"Reaction Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalysisEdit"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Edit Analysis Api Pitch Admin Reactions  Reaction Id  Analysis Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/reactions/{reaction_id}/analysis/approve":{"post":{"tags":["pitch"],"summary":"Approve Analysis","description":"Approval: blocked while any check fails (a quote not found in the words among them).","operationId":"approve_analysis_api_pitch_admin_reactions__reaction_id__analysis_approve_post","parameters":[{"name":"reaction_id","in":"path","required":true,"schema":{"type":"integer","title":"Reaction Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Approve Analysis Api Pitch Admin Reactions  Reaction Id  Analysis Approve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/reactions/{reaction_id}/analysis/restore/{version}":{"post":{"tags":["pitch"],"summary":"Restore Analysis","description":"An earlier version back, as a new version to review.","operationId":"restore_analysis_api_pitch_admin_reactions__reaction_id__analysis_restore__version__post","parameters":[{"name":"reaction_id","in":"path","required":true,"schema":{"type":"integer","title":"Reaction Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Restore Analysis Api Pitch Admin Reactions  Reaction Id  Analysis Restore  Version  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/companies/{company_id}/classify":{"post":{"tags":["pitch"],"summary":"Classify Company","description":"Files the company: from its approved research if a pitch has one, else from the web (at most 6 searches).","operationId":"classify_company_api_pitch_admin_companies__company_id__classify_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClassifyIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Classify Company Api Pitch Admin Companies  Company Id  Classify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/companies/{company_id}/approve":{"post":{"tags":["pitch"],"summary":"Approve Profile","operationId":"approve_profile_api_pitch_admin_companies__company_id__approve_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Approve Profile Api Pitch Admin Companies  Company Id  Approve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/companies/{company_id}/signals/check":{"post":{"tags":["pitch"],"summary":"Check Signals","description":"A sweep (no body), or one approved analysis check (reactionId and checkId).","operationId":"check_signals_api_pitch_admin_companies__company_id__signals_check_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignalCheckIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Check Signals Api Pitch Admin Companies  Company Id  Signals Check Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/companies/{company_id}/signals":{"post":{"tags":["pitch"],"summary":"Add Signal","description":"A signal Vinay pastes himself (text and URL). A person's own signal counts as reviewed by them.","operationId":"add_signal_api_pitch_admin_companies__company_id__signals_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignalIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Add Signal Api Pitch Admin Companies  Company Id  Signals Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/signals/{signal_id}":{"patch":{"tags":["pitch"],"summary":"Patch Signal","description":"Approve, reject, or edit the summary or fit. A signal leaving 'approved' (or changed while approved)\nmakes the pattern notes built on it stale.","operationId":"patch_signal_api_pitch_admin_signals__signal_id__patch","parameters":[{"name":"signal_id","in":"path","required":true,"schema":{"type":"integer","title":"Signal Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignalPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Patch Signal Api Pitch Admin Signals  Signal Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/insights":{"get":{"tags":["pitch"],"summary":"Get Insights","operationId":"get_insights_api_pitch_admin_insights_get","parameters":[{"name":"scope","in":"query","required":false,"schema":{"type":"string","default":"sub_industry","title":"Scope"}},{"name":"sector","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"}},{"name":"sub_industry","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sub Industry"}},{"name":"product_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Type"}},{"name":"stage","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Insights Api Pitch Admin Insights Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/insights/reactions":{"get":{"tags":["pitch"],"summary":"Get Insight Reactions","description":"The reactions (or pitches, for an outcome) behind a count.","operationId":"get_insight_reactions_api_pitch_admin_insights_reactions_get","parameters":[{"name":"scope","in":"query","required":true,"schema":{"type":"string","title":"Scope"}},{"name":"value","in":"query","required":true,"schema":{"type":"string","title":"Value"}},{"name":"facet","in":"query","required":false,"schema":{"type":"string","default":"reactions","title":"Facet"}},{"name":"item","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Item"}},{"name":"sector","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"}},{"name":"sub_industry","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sub Industry"}},{"name":"product_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Type"}},{"name":"stage","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"}},{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Insight Reactions Api Pitch Admin Insights Reactions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/patterns":{"post":{"tags":["pitch"],"summary":"Write Pattern","description":"Queues a pattern note for one segment, on the patterns model (no web search).","operationId":"write_pattern_api_pitch_admin_patterns_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatternIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Write Pattern Api Pitch Admin Patterns Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/patterns/{pattern_id}/approve":{"post":{"tags":["pitch"],"summary":"Approve Pattern","operationId":"approve_pattern_api_pitch_admin_patterns__pattern_id__approve_post","parameters":[{"name":"pattern_id","in":"path","required":true,"schema":{"type":"integer","title":"Pattern Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Approve Pattern Api Pitch Admin Patterns  Pattern Id  Approve Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/patterns/{pattern_id}/restore":{"post":{"tags":["pitch"],"summary":"Restore Pattern","description":"An earlier version back, as a new version checked against the segment as it is now.","operationId":"restore_pattern_api_pitch_admin_patterns__pattern_id__restore_post","parameters":[{"name":"pattern_id","in":"path","required":true,"schema":{"type":"integer","title":"Pattern Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Restore Pattern Api Pitch Admin Patterns  Pattern Id  Restore Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/pitch-admin/lists/{name}":{"put":{"tags":["pitch"],"summary":"Put List","description":"The industry or product type list. A rename (old: new) renames the value on every company and on\nthe segment's pattern notes; a value still in use can't be dropped without one.","operationId":"put_list_api_pitch_admin_lists__name__put","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Put List Api Pitch Admin Lists  Name  Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/health":{"get":{"summary":"Health","operationId":"health_api_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Health Api Health Get"}}}}}}}},"components":{"schemas":{"AcceptIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"password":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Password"}},"additionalProperties":false,"type":"object","title":"AcceptIn","description":"Only for someone with no account yet: the account to make (contracts §11.2)."},"ActionCard":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"is_terminal":{"type":"boolean","title":"Is Terminal"},"requires_student_note":{"type":"boolean","title":"Requires Student Note"},"available":{"type":"boolean","title":"Available","default":true},"closed_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closed Reason"},"costs":{"items":{"$ref":"#/components/schemas/app__schemas__engine__ActionCost"},"type":"array","title":"Costs","default":[]}},"type":"object","required":["id","name","is_terminal","requires_student_note"],"title":"ActionCard","description":"An action the student is shown. A locked action is never listed. One\nthat cannot be taken now is listed with `available` False and\n`closed_reason`, the plain sentence the room shows (\"Closed after: Run ride\ntest A\"); \"closed\" covers every reason, a budget that cannot pay included.\nWhether it was already taken is read from the log, so a done action stays\navailable and re-opens its outcome."},"ActionCost-Input":{"properties":{"counter_id":{"type":"string","minLength":1,"title":"Counter Id"},"amount":{"type":"integer","maximum":1000000000000.0,"minimum":1.0,"title":"Amount"}},"additionalProperties":false,"type":"object","required":["counter_id","amount"],"title":"ActionCost","description":"What taking an action spends from one running total, by its counter_id."},"ActionCreate":{"properties":{"name":{"type":"string","minLength":1,"title":"Name"},"output_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Text"},"is_terminal":{"type":"boolean","title":"Is Terminal","default":false},"result":{"anyOf":[{"$ref":"#/components/schemas/ActionResult"},{"type":"null"}]},"requires_student_note":{"type":"boolean","title":"Requires Student Note","default":false},"opens":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]},"costs":{"items":{"$ref":"#/components/schemas/ActionCost-Input"},"type":"array","title":"Costs","default":[]}},"type":"object","required":["name"],"title":"ActionCreate"},"ActionIn":{"properties":{"action_id":{"type":"string","format":"uuid","title":"Action Id"},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Note"},"note_seen":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Note Seen"}},"type":"object","required":["action_id"],"title":"ActionIn"},"ActionResult":{"properties":{"time_skip":{"type":"string","title":"Time Skip","default":""},"note":{"type":"string","title":"Note","default":""},"reveal_doc_ids":{"items":{"type":"string"},"type":"array","title":"Reveal Doc Ids","default":[]}},"type":"object","title":"ActionResult","description":"The time-travel payload: what the student sees after the action —\na narrative time skip, a prof-authored note, and/or revealed evidence."},"ActionUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"output_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Text"},"is_terminal":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Terminal"},"result":{"anyOf":[{"$ref":"#/components/schemas/ActionResult"},{"type":"null"}]},"requires_student_note":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Requires Student Note"},"opens":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]},"costs":{"anyOf":[{"items":{"$ref":"#/components/schemas/ActionCost-Input"},"type":"array"},{"type":"null"}],"title":"Costs"}},"type":"object","title":"ActionUpdate"},"ActorCall":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"label":{"type":"string","title":"Label"},"query":{"type":"string","title":"Query"},"status":{"type":"string","title":"Status"},"results":{"items":{"type":"string"},"type":"array","title":"Results"},"used":{"type":"string","title":"Used"},"unused":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unused"},"verdict_hint":{"type":"string","title":"Verdict Hint"}},"additionalProperties":false,"type":"object","required":["id","name","label","query","status","results","used","verdict_hint"],"title":"ActorCall"},"ActorGrade":{"properties":{"brief":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Brief"},"talk":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Talk"}},"additionalProperties":false,"type":"object","title":"ActorGrade"},"ActorResearch":{"properties":{"actor_id":{"type":"string","title":"Actor Id"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"personality":{"type":"string","title":"Personality","default":""},"stance":{"type":"string","title":"Stance","default":""},"agenda":{"items":{"type":"string"},"type":"array","title":"Agenda","default":[]},"guidance":{"anyOf":[{"$ref":"#/components/schemas/ResearchEntry"},{"type":"null"}]},"guidance_addons":{"items":{"$ref":"#/components/schemas/ResearchEntry"},"type":"array","title":"Guidance Addons","default":[]},"dossier":{"items":{"$ref":"#/components/schemas/ResearchEntry"},"type":"array","title":"Dossier","default":[]},"open_questions":{"items":{"$ref":"#/components/schemas/ResearchEntry"},"type":"array","title":"Open Questions","default":[]},"challenge_categories":{"items":{"$ref":"#/components/schemas/ResearchEntry"},"type":"array","title":"Challenge Categories","default":[]},"claims":{"items":{"$ref":"#/components/schemas/ResearchEntry"},"type":"array","title":"Claims","default":[]}},"type":"object","required":["actor_id","name","role"],"title":"ActorResearch"},"AdditionBody":{"properties":{"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"arg":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arg"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"args":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Args"},"tier":{"type":"string","enum":["best","acceptable","wrong"],"title":"Tier","default":"acceptable"},"steps":{"anyOf":[{"items":{"$ref":"#/components/schemas/RecoveryStep"},"type":"array"},{"type":"null"}],"title":"Steps"}},"additionalProperties":false,"type":"object","title":"AdditionBody","description":"One consolidation contribution: a ranked item, or an ordered sequence."},"AdditionIn":{"properties":{"target":{"type":"string","title":"Target"},"body":{"$ref":"#/components/schemas/AdditionBody"}},"additionalProperties":false,"type":"object","required":["target","body"],"title":"AdditionIn","description":"A line item authored in consolidation — after seeing both reviews."},"AdditionOut":{"properties":{"id":{"type":"string","title":"Id"},"rev":{"type":"string","enum":["A","B"],"title":"Rev"},"target":{"type":"string","title":"Target"},"body":{"$ref":"#/components/schemas/AdditionBody"},"stance":{"anyOf":[{"type":"string","enum":["endorse","acceptable","reject"]},{"type":"null"}],"title":"Stance"},"stance_note":{"type":"string","title":"Stance Note","default":""}},"additionalProperties":false,"type":"object","required":["id","rev","target","body"],"title":"AdditionOut"},"AdditionStanceIn":{"properties":{"stance":{"type":"string","enum":["endorse","acceptable","reject"],"title":"Stance"},"note":{"type":"string","title":"Note","default":""}},"additionalProperties":false,"type":"object","required":["stance"],"title":"AdditionStanceIn"},"AgendaItem":{"properties":{"id":{"type":"string","title":"Id","description":"An id for the item, unique across the whole panel, e.g. a1. The panel tracks the item by it, so keep it the same from save to save."},"goal":{"type":"string","title":"Goal","description":"The one thing this actor will ask or check, in their words; one ask per item. The actor presses it and the grader reads it.","default":""},"depth":{"type":"string","enum":["check","press","drill"],"title":"Depth","description":"How hard the actor pursues it: check (one question, move on), press (test the evidence and one implication) or drill (test until settled). An item is set aside after two questions without progress.","default":"press"},"resolved_when":{"type":"string","title":"Resolved When","description":"When the item is settled: what the student must have said, e.g. a number, a named source, a commitment. Required; the reader of each turn tests it and the grader reads it.","default":""},"opens":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]}},"type":"object","required":["id"],"title":"AgendaItem","description":"One thing this actor must get settled before the session ends. `depth`\nis how hard to dig: check = confirm and move on · press = follow up and\ndemand evidence · drill = full stress-test, don't release until settled.\n`id` is client-generated, opaque to the server (React key)."},"AgreeIn":{"properties":{"path":{"type":"string","maxLength":300,"title":"Path"},"files_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Files Sha256"}},"type":"object","required":["path","files_sha256"],"title":"AgreeIn"},"AnalyseIn":{"properties":{"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Note"}},"type":"object","title":"AnalyseIn"},"AnalysisEdit":{"properties":{"json":{"additionalProperties":true,"type":"object","title":"Json"},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Note"}},"type":"object","required":["json"],"title":"AnalysisEdit"},"AnchorSnapshot":{"properties":{"snapshot_version":{"type":"string","const":"review-anchor-snapshot.1","title":"Snapshot Version"},"tool_contract_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Contract Version"},"tool_contract_status":{"type":"string","enum":["known","unknown"],"title":"Tool Contract Status"},"anchor_id":{"type":"string","title":"Anchor Id"},"display_turn_no":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Turn No"},"state_hash":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"State Hash"},"available_action_ids":{"items":{"type":"string"},"type":"array","title":"Available Action Ids"},"available_tools":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Available Tools"},"visible_document_ids":{"items":{"type":"string"},"type":"array","title":"Visible Document Ids"},"event_state":{"additionalProperties":true,"type":"object","title":"Event State"}},"additionalProperties":false,"type":"object","required":["snapshot_version","tool_contract_status","anchor_id","state_hash","available_action_ids","available_tools","visible_document_ids","event_state"],"title":"AnchorSnapshot","description":"Recorded state against which an expert judges one immutable anchor."},"AnnotationDraftIn":{"properties":{"canonical_value":{"additionalProperties":true,"type":"object","title":"Canonical Value"},"rationale":{"type":"string","maxLength":20000,"title":"Rationale","default":""},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":200,"title":"Evidence Refs"},"confidence":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Confidence"},"contestability":{"anyOf":[{"type":"string","enum":["expected_consensus","reasonable_disagreement","cannot_determine"]},{"type":"null"}],"title":"Contestability"},"causal_anchor_id":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Causal Anchor Id"},"failure_families":{"items":{"type":"string","enum":["factual_grounding","reasoning_judgment","instruction_adherence","relevance","completeness","epistemic_calibration","tool_use","sequencing_planning","efficiency","communication","safety_compliance","environment_fidelity"]},"type":"array","maxItems":12,"title":"Failure Families"},"responds_to_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Responds To Revision Id"},"response_stance":{"anyOf":[{"type":"string","enum":["agree","disagree"]},{"type":"null"}],"title":"Response Stance"},"annotation_object_id":{"type":"string","format":"uuid","title":"Annotation Object Id"},"phase":{"type":"string","enum":["blind","peer","final"],"title":"Phase"}},"additionalProperties":false,"type":"object","required":["annotation_object_id","phase"],"title":"AnnotationDraftIn"},"AnnotationObjectCreateIn":{"properties":{"anchor_id":{"type":"string","maxLength":500,"minLength":1,"title":"Anchor Id"},"target_kind":{"type":"string","enum":["recorded_event","trajectory","attempt","rubric_criterion","candidate","candidate_pair"],"title":"Target Kind"},"target_id":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Target Id"},"subject_type":{"type":"string","enum":["participant","actor","environment","trajectory","attempt"],"title":"Subject Type"},"subject_id":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Subject Id"},"object_type":{"type":"string","enum":["utterance","tool_call","tool_result","action","action_sequence","trajectory_boundary","decision_space","rubric_criterion","actor_summary","conversation_summary","validity","attempt_outcome","reported_reasoning"],"title":"Object Type"},"dimension":{"type":"string","maxLength":160,"minLength":1,"title":"Dimension"}},"additionalProperties":false,"type":"object","required":["anchor_id","target_kind","subject_type","object_type","dimension"],"title":"AnnotationObjectCreateIn","description":"Semantic address; lifecycle and immutable anchor context are server-owned."},"AnnotationObjectDraftOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"attempt_id":{"type":"integer","title":"Attempt Id"},"anchor_id":{"type":"string","title":"Anchor Id"},"display_turn_no":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Turn No"},"target_kind":{"type":"string","enum":["recorded_event","trajectory","attempt","rubric_criterion","candidate","candidate_pair"],"title":"Target Kind"},"target_id":{"type":"string","title":"Target Id"},"subject_type":{"type":"string","enum":["participant","actor","environment","trajectory","attempt"],"title":"Subject Type"},"subject_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Id"},"object_type":{"type":"string","enum":["utterance","tool_call","tool_result","action","action_sequence","trajectory_boundary","decision_space","rubric_criterion","actor_summary","conversation_summary","validity","attempt_outcome","reported_reasoning"],"title":"Object Type"},"dimension":{"type":"string","title":"Dimension"},"ontology_version":{"type":"string","title":"Ontology Version"}},"additionalProperties":false,"type":"object","required":["id","attempt_id","anchor_id","display_turn_no","target_kind","target_id","subject_type","subject_id","object_type","dimension","ontology_version"],"title":"AnnotationObjectDraftOut"},"AnnotationPositionDraftIn":{"properties":{"canonical_value":{"additionalProperties":true,"type":"object","title":"Canonical Value"},"rationale":{"type":"string","maxLength":20000,"title":"Rationale","default":""},"evidence_refs":{"items":{"type":"string"},"type":"array","maxItems":200,"title":"Evidence Refs"},"confidence":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Confidence"},"contestability":{"anyOf":[{"type":"string","enum":["expected_consensus","reasonable_disagreement","cannot_determine"]},{"type":"null"}],"title":"Contestability"},"causal_anchor_id":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Causal Anchor Id"},"failure_families":{"items":{"type":"string","enum":["factual_grounding","reasoning_judgment","instruction_adherence","relevance","completeness","epistemic_calibration","tool_use","sequencing_planning","efficiency","communication","safety_compliance","environment_fidelity"]},"type":"array","maxItems":12,"title":"Failure Families"},"responds_to_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Responds To Revision Id"},"response_stance":{"anyOf":[{"type":"string","enum":["agree","disagree"]},{"type":"null"}],"title":"Response Stance"}},"additionalProperties":false,"type":"object","title":"AnnotationPositionDraftIn","description":"Editable expert position; empty canonical value is a valid incomplete draft."},"Answer":{"properties":{"choice":{"type":"string","enum":["confirm","agree","both","keep","disagree","merge","withdraw","dominant","several","cant","yes","no"],"title":"Choice"},"comment":{"type":"string","title":"Comment","default":""},"conf":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Conf","default":4}},"additionalProperties":false,"type":"object","required":["choice"],"title":"Answer"},"AnswerClock":{"properties":{"question_seq":{"type":"integer","title":"Question Seq"},"deadline":{"type":"string","format":"date-time","title":"Deadline"},"paused":{"type":"boolean","title":"Paused"},"pause_seconds_left":{"type":"integer","title":"Pause Seconds Left"}},"type":"object","required":["question_seq","deadline","paused","pause_seconds_left"],"title":"AnswerClock","description":"A presentation viva's countdown on the answer the student is typing.\n\nThe room counts down to `deadline`. While `paused` (the student is watching their\nrecording or a clip) the countdown and the Q&A clock stand still, for up to\n`pause_seconds_left` more seconds; after that they run even if the video plays on.\nSend `question_seq` back as the turn's `answers_seq`, or to the answer-timeout."},"AnswerOut":{"properties":{"choice":{"type":"string","enum":["confirm","agree","both","keep","disagree","merge","withdraw","dominant","several","cant","yes","no"],"title":"Choice"},"comment":{"type":"string","title":"Comment","default":""},"conf":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Conf","default":4},"edit_count":{"type":"integer","title":"Edit Count","default":1}},"additionalProperties":false,"type":"object","required":["choice"],"title":"AnswerOut","description":"An answer as the bundle reports it. ``edit_count`` is server-owned — a\nreviewer states a position, they do not state how many times they stated\nit — so it lives here and not on the request body."},"AnswerTimeoutIn":{"properties":{"question_seq":{"type":"integer","minimum":1.0,"title":"Question Seq"}},"type":"object","required":["question_seq"],"title":"AnswerTimeoutIn","description":"The countdown on the answer to the panel line `question_seq` reached zero with\nnothing typed."},"ArtifactOut":{"properties":{"doc_id":{"type":"string","format":"uuid","title":"Doc Id"},"seq":{"type":"integer","title":"Seq"},"name":{"type":"string","title":"Name"},"summary":{"type":"string","title":"Summary","default":""}},"type":"object","required":["doc_id","seq","name"],"title":"ArtifactOut","description":"A file the student shared into the room — now a citable exhibit."},"AskWorkingOut":{"properties":{"said":{"type":"string","title":"Said"},"about":{"type":"string","title":"About","default":""}},"type":"object","required":["said"],"title":"AskWorkingOut","description":"A number the panel asked the participant to show the working for: the number\nas they said it, and what it is."},"AssetOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"mime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mime"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"page_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Count"},"status":{"type":"string","title":"Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","name","mime","size_bytes","page_count","status","error","created_at"],"title":"AssetOut"},"AssignmentClass":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"name":{"type":"string","title":"Name"},"source":{"type":"string","title":"Source"},"professor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Professor"}},"type":"object","required":["id","label","name","source"],"title":"AssignmentClass","description":"The class a case was given to, for the student's home page."},"AssignmentCreate":{"properties":{"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"cohort_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cohort Id"},"attempts_allowed":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Attempts Allowed","default":1},"in_groups":{"type":"boolean","title":"In Groups","default":false}},"type":"object","required":["scenario_id"],"title":"AssignmentCreate"},"AssignmentGroup":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"members":{"items":{"$ref":"#/components/schemas/GroupPerson"},"type":"array","title":"Members"}},"type":"object","required":["id","name","members"],"title":"AssignmentGroup","description":"The caller's group in the assignment's class, as it stands now."},"AssignmentInGroups":{"properties":{"in_groups":{"type":"boolean","title":"In Groups"}},"type":"object","required":["in_groups"],"title":"AssignmentInGroups"},"AssignmentOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"scenario_title":{"type":"string","title":"Scenario Title"},"version":{"type":"integer","title":"Version"},"opens_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Opens At"},"closes_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closes At"},"attempts_allowed":{"type":"integer","title":"Attempts Allowed"},"attempts_used":{"type":"integer","title":"Attempts Used","default":0},"ready":{"type":"boolean","title":"Ready","default":true},"in_groups":{"type":"boolean","title":"In Groups","default":false},"group":{"anyOf":[{"$ref":"#/components/schemas/AssignmentGroup"},{"type":"null"}]},"live_attempt":{"anyOf":[{"$ref":"#/components/schemas/LiveAttempt"},{"type":"null"}]},"live_attempt_ids":{"items":{"type":"integer"},"type":"array","title":"Live Attempt Ids"},"pack":{"anyOf":[{"$ref":"#/components/schemas/AssignmentPack"},{"type":"null"}]},"cohort":{"anyOf":[{"$ref":"#/components/schemas/AssignmentClass"},{"type":"null"}]},"mode":{"type":"string","title":"Mode","default":"standard"},"upload_deadline":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Upload Deadline"},"viva_settings":{"additionalProperties":true,"type":"object","title":"Viva Settings"}},"type":"object","required":["id","scenario_id","scenario_title","version","opens_at","closes_at","attempts_allowed"],"title":"AssignmentOut"},"AssignmentPack":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"position":{"type":"integer","title":"Position"}},"type":"object","required":["id","title","position"],"title":"AssignmentPack","description":"The case pack a case came in, and its place in the pack (0 first)."},"AttemptGroup":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"driver":{"$ref":"#/components/schemas/GroupPerson"},"members":{"items":{"$ref":"#/components/schemas/GroupPerson"},"type":"array","title":"Members"},"you_drive":{"type":"boolean","title":"You Drive"}},"type":"object","required":["id","name","driver","members","you_drive"],"title":"AttemptGroup","description":"The group sitting an attempt: who drives, who sat it, and whether the\nreader is the one driving."},"AttemptJudgment":{"properties":{"fair_test":{"anyOf":[{"type":"string","enum":["yes","no"]},{"type":"null"}],"title":"Fair Test"},"attribution":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Attribution"},"fair_test_note":{"type":"string","title":"Fair Test Note","default":""},"actors":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/ActorGrade"},"type":"object"},{"type":"null"}],"title":"Actors"},"conversation":{"anyOf":[{"type":"integer","maximum":10.0,"minimum":1.0},{"type":"null"}],"title":"Conversation"},"pivot_call":{"anyOf":[{"type":"string","enum":["none","indeterminate"]},{"type":"null"}],"title":"Pivot Call"}},"additionalProperties":false,"type":"object","title":"AttemptJudgment"},"AttemptListItem":{"properties":{"attempt_id":{"type":"integer","title":"Attempt Id"},"user_email":{"type":"string","title":"User Email"},"status":{"type":"string","title":"Status"},"student_ms":{"type":"integer","title":"Student Ms"},"started":{"type":"boolean","title":"Started","default":true}},"type":"object","required":["attempt_id","user_email","status","student_ms"],"title":"AttemptListItem"},"AttemptRef":{"properties":{"id":{"type":"string","title":"Id"},"case_id":{"type":"string","title":"Case Id"},"env_version":{"type":"string","title":"Env Version"},"outcome":{"type":"string","title":"Outcome"},"closed_by":{"type":"string","title":"Closed By"},"summary_line":{"type":"string","title":"Summary Line"},"steps":{"type":"integer","title":"Steps"}},"additionalProperties":false,"type":"object","required":["id","case_id","env_version","outcome","closed_by","summary_line","steps"],"title":"AttemptRef"},"AttemptState":{"properties":{"attempt_id":{"type":"integer","title":"Attempt Id"},"status":{"type":"string","title":"Status"},"brief_html":{"type":"string","title":"Brief Html"},"panel":{"items":{"$ref":"#/components/schemas/PanelMember"},"type":"array","title":"Panel"},"docs":{"items":{"$ref":"#/components/schemas/DocCard"},"type":"array","title":"Docs"},"actions":{"items":{"$ref":"#/components/schemas/ActionCard"},"type":"array","title":"Actions"},"counters":{"items":{"$ref":"#/components/schemas/CounterBalance"},"type":"array","title":"Counters","default":[]},"time_cap_ms":{"type":"integer","title":"Time Cap Ms"},"student_ms":{"type":"integer","title":"Student Ms"},"elapsed_ms":{"type":"integer","title":"Elapsed Ms"},"clock_running":{"type":"boolean","title":"Clock Running"},"pending_move":{"anyOf":[{"$ref":"#/components/schemas/PendingTurnRetry"},{"$ref":"#/components/schemas/PendingActionRetry"},{"type":"null"}],"title":"Pending Move"},"group":{"anyOf":[{"$ref":"#/components/schemas/AttemptGroup"},{"type":"null"}]},"people":{"items":{"$ref":"#/components/schemas/app__schemas__engine__PersonOut"},"type":"array","title":"People","default":[]},"answer_clock":{"anyOf":[{"$ref":"#/components/schemas/AnswerClock"},{"type":"null"}]},"viva":{"anyOf":[{"$ref":"#/components/schemas/VivaRoom"},{"type":"null"}]}},"type":"object","required":["attempt_id","status","brief_html","panel","docs","actions","time_cap_ms","student_ms","elapsed_ms","clock_running"],"title":"AttemptState"},"AttemptsIn":{"properties":{"attempts_allowed":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Attempts Allowed"}},"type":"object","required":["attempts_allowed"],"title":"AttemptsIn"},"BlockAction":{"properties":{"name":{"type":"string","title":"Name"},"summary":{"type":"string","title":"Summary"}},"type":"object","required":["name","summary"],"title":"BlockAction"},"BlockCard":{"properties":{"type":{"type":"string","title":"Type"},"name":{"type":"string","title":"Name"},"purpose":{"type":"string","title":"Purpose"},"section":{"type":"string","title":"Section"},"actions":{"items":{"$ref":"#/components/schemas/BlockAction"},"type":"array","title":"Actions"},"settings_schema":{"additionalProperties":true,"type":"object","title":"Settings Schema"},"example":{"type":"string","title":"Example"}},"type":"object","required":["type","name","purpose","section","actions","settings_schema","example"],"title":"BlockCard","description":"One kind of rule a world can use, as the editor's rule shelf shows it."},"BoardLineOut":{"properties":{"label":{"type":"string","title":"Label"},"latex":{"type":"string","title":"Latex"},"value_text":{"type":"string","title":"Value Text"}},"type":"object","required":["label","latex","value_text"],"title":"BoardLineOut"},"BoardOut":{"properties":{"title":{"type":"string","title":"Title"},"compute_ref":{"type":"string","title":"Compute Ref"},"lines":{"items":{"$ref":"#/components/schemas/BoardLineOut"},"type":"array","title":"Lines"},"theirs":{"type":"string","title":"Theirs","default":""}},"type":"object","required":["title","compute_ref","lines"],"title":"BoardOut","description":"An actor's shown working: lines code copied from one of its calculations."},"Body_add_students_csv_api_classes__class_id__roster_csv_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_add_students_csv_api_classes__class_id__roster_csv_post"},"Body_share_artifact_api_attempts__attempt_id__artifacts_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_share_artifact_api_attempts__attempt_id__artifacts_post"},"Body_upload_asset_api_assets_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_asset_api_assets_post"},"Body_upload_deck_api_pitch_admin_pitches__pitch_id__deck_upload_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["file"],"title":"Body_upload_deck_api_pitch_admin_pitches__pitch_id__deck_upload_post"},"Body_upload_doc_api_scenario_versions__version_id__docs_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["file"],"title":"Body_upload_doc_api_scenario_versions__version_id__docs_post"},"Body_upload_editor_image_api_editor_images_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_editor_image_api_editor_images_post"},"Body_upload_logo_api_pitch_admin_pitches__pitch_id__logo_upload_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_logo_api_pitch_admin_pitches__pitch_id__logo_upload_post"},"Body_upload_video_api_pitch_admin_pitches__pitch_id__video_post":{"properties":{"video":{"type":"string","contentMediaType":"application/octet-stream","title":"Video"},"poster":{"anyOf":[{"type":"string","contentMediaType":"application/octet-stream"},{"type":"null"}],"title":"Poster"},"seconds":{"type":"number","title":"Seconds","default":0}},"type":"object","required":["video"],"title":"Body_upload_video_api_pitch_admin_pitches__pitch_id__video_post"},"BrowseChunk":{"properties":{"chunk_id":{"type":"string","title":"Chunk Id"},"kind":{"type":"string","title":"Kind"},"unit":{"type":"string","title":"Unit"},"snippet":{"type":"string","title":"Snippet"}},"type":"object","required":["chunk_id","kind","unit","snippet"],"title":"BrowseChunk"},"CalcKeyAction":{"properties":{"op":{"type":"string","enum":["accept","reject","edit","add","restore","note","units"],"title":"Op","description":"accept: use the line to check students. reject: never use it. edit: change parts of it (quantity), which accepts it. add: a new line (quantity, with its name), accepted. restore: back to the line as first written, undecided; a line the professor added is taken out. note: set the panel note (note; null puts back the first one). units: set what the case's own unit words stand for (unit_meanings; null puts back the key's own)."},"name":{"type":"string","maxLength":80,"title":"Name","description":"The line's name. For add, the name is in quantity.","default":""},"quantity":{"anyOf":[{"$ref":"#/components/schemas/CalcKeyQuantityIn"},{"type":"null"}],"description":"edit: only the parts that change. add: the whole line."},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note","description":"note: the panel note."},"unit_meanings":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object","maxProperties":50},{"type":"null"}],"title":"Unit Meanings","description":"units: each unit word the case's documents use in a sense of their own, with the standard unit it stands for there. The whole list: a word left out keeps its usual meaning."}},"additionalProperties":false,"type":"object","required":["op"],"title":"CalcKeyAction","description":"One of the professor's decisions on a line of the answer key."},"CalcKeyActionsIn":{"properties":{"actions":{"items":{"$ref":"#/components/schemas/CalcKeyAction"},"type":"array","maxItems":200,"minItems":1,"title":"Actions"}},"type":"object","required":["actions"],"title":"CalcKeyActionsIn","description":"Decisions on the answer key, checked and saved together, or previewed."},"CalcKeyCaseValue":{"properties":{"value":{"type":"string","maxLength":400,"title":"Value","description":"A number times its unit, written number * unit, or a formula over other lines' names."},"when":{"type":"string","maxLength":400,"title":"When","description":"When the case uses this value.","default":""},"source":{"type":"string","maxLength":400,"title":"Source","description":"The figure ids that print it (f followed by a number), space separated, or news.","default":""}},"additionalProperties":false,"type":"object","required":["value"],"title":"CalcKeyCaseValue"},"CalcKeyQuantityIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Name","description":"The line's name: letters, digits and _ only."},"meaning":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Meaning","description":"What it is, in plain words."},"unit":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Unit","description":"Its unit; empty for a plain number."},"formula":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Formula","description":"How it is worked out from other lines: names, numbers and units with + - * / ** and brackets, and min, max, abs, sqrt, interp(x, [xs], [ys]). Empty for a value the case gives."},"source":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Source","description":"The figure ids the formula comes from, space separated."},"case_values":{"anyOf":[{"items":{"$ref":"#/components/schemas/CalcKeyCaseValue"},"type":"array","maxItems":20},{"type":"null"}],"title":"Case Values","description":"The values the case gives for it, the usual one first. Only for a line with no formula."},"reading_of":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Reading Of","description":"The name of the line this one is a document's wrong reading of: a planted trap, kept to name it, never used as the answer."},"note":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Note","description":"A note for the panel only, used when a student's number here is wrong."}},"additionalProperties":false,"type":"object","title":"CalcKeyQuantityIn","description":"A line of the key, or the parts of one being changed: a part left out stays as it is."},"CalcKeyRegenerateIn":{"properties":{"note":{"type":"string","maxLength":4000,"title":"Note","description":"What to do differently this time, in the professor's words.","default":""}},"type":"object","title":"CalcKeyRegenerateIn"},"CallDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"member":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Member"},"purpose":{"type":"string","title":"Purpose"},"model":{"type":"string","title":"Model"},"clock":{"$ref":"#/components/schemas/Clock"},"request":{"additionalProperties":true,"type":"object","title":"Request"},"output":{"title":"Output"},"usage":{"additionalProperties":true,"type":"object","title":"Usage"},"cost_usd":{"type":"number","title":"Cost Usd"},"latency_ms":{"type":"integer","title":"Latency Ms"},"dropped":{"type":"boolean","title":"Dropped"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["id","member","purpose","model","clock","request","output","usage","cost_usd","latency_ms","dropped","error"],"title":"CallDetail","description":"One model call, exactly as it was sent and answered."},"CandidateDraftIn":{"properties":{"anchor_id":{"type":"string","maxLength":500,"minLength":1,"title":"Anchor Id"},"prompted_by_annotation_object_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Prompted By Annotation Object Id"},"phase":{"type":"string","enum":["blind","peer"],"title":"Phase"},"candidate_kind":{"type":"string","enum":["alternative_answer","alternative_reported_reasoning","model_answer","known_bad_answer","alternative_tool_call","alternative_action","action_sequence","recovery_sequence","actor_question","actor_response"],"title":"Candidate Kind"},"subject_type":{"type":"string","enum":["participant","actor"],"title":"Subject Type"},"subject_id":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Subject Id"},"typed_content":{"additionalProperties":true,"type":"object","title":"Typed Content"},"intended_goal":{"type":"string","maxLength":20000,"title":"Intended Goal","default":""},"required_evidence":{"items":{"type":"string"},"type":"array","maxItems":200,"title":"Required Evidence"},"derived_from_candidate_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Derived From Candidate Id"},"quality":{"$ref":"#/components/schemas/AnnotationPositionDraftIn"},"feasibility":{"$ref":"#/components/schemas/AnnotationPositionDraftIn"}},"additionalProperties":false,"type":"object","required":["anchor_id","phase","candidate_kind","subject_type","typed_content","quality","feasibility"],"title":"CandidateDraftIn"},"CandidateDraftOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"attempt_id":{"type":"integer","title":"Attempt Id"},"anchor_id":{"type":"string","title":"Anchor Id"},"prompted_by_annotation_object_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Prompted By Annotation Object Id"},"phase":{"type":"string","enum":["blind","peer"],"title":"Phase"},"candidate_kind":{"type":"string","enum":["alternative_answer","alternative_reported_reasoning","model_answer","known_bad_answer","alternative_tool_call","alternative_action","action_sequence","recovery_sequence","actor_question","actor_response"],"title":"Candidate Kind"},"state":{"type":"string","enum":["draft","locked"],"title":"State"},"typed_content":{"additionalProperties":true,"type":"object","title":"Typed Content"},"intended_goal":{"type":"string","title":"Intended Goal"},"required_evidence":{"items":{"type":"string"},"type":"array","title":"Required Evidence"},"derived_from_candidate_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Derived From Candidate Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"capabilities":{"$ref":"#/components/schemas/DraftCapabilities"}},"additionalProperties":false,"type":"object","required":["id","attempt_id","anchor_id","prompted_by_annotation_object_id","phase","candidate_kind","state","typed_content","intended_goal","required_evidence","derived_from_candidate_id","created_at","updated_at","capabilities"],"title":"CandidateDraftOut"},"CandidateUpdateIn":{"properties":{"typed_content":{"additionalProperties":true,"type":"object","title":"Typed Content"},"intended_goal":{"type":"string","maxLength":20000,"title":"Intended Goal","default":""},"required_evidence":{"items":{"type":"string"},"type":"array","maxItems":200,"title":"Required Evidence"},"derived_from_candidate_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Derived From Candidate Id"},"quality":{"$ref":"#/components/schemas/AnnotationPositionDraftIn"},"feasibility":{"$ref":"#/components/schemas/AnnotationPositionDraftIn"}},"additionalProperties":false,"type":"object","required":["typed_content","quality","feasibility"],"title":"CandidateUpdateIn"},"CanvasRemoval":{"properties":{"link_id":{"type":"string","format":"uuid","title":"Link Id"},"class_id":{"type":"string","format":"uuid","title":"Class Id"},"class_name":{"type":"string","title":"Class Name"},"case_title":{"type":"string","title":"Case Title"},"action":{"type":"string","enum":["deleted","unpublished","kept","left"],"title":"Action"},"line":{"type":"string","title":"Line"}},"type":"object","required":["link_id","class_id","class_name","case_title","action","line"],"title":"CanvasRemoval","description":"One case's Canvas assignment, and what is (or, in a preview, would be) done to it."},"CaseAction":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"terminal":{"type":"boolean","title":"Terminal"},"lock_history":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lock History"}},"additionalProperties":false,"type":"object","required":["id","name","terminal"],"title":"CaseAction"},"CaseActor":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"archetype":{"type":"string","title":"Archetype"},"personality":{"type":"string","title":"Personality","default":""},"agenda":{"type":"string","title":"Agenda"},"position":{"type":"string","title":"Position"},"tripwires":{"items":{"type":"string"},"type":"array","title":"Tripwires"},"facts":{"items":{"type":"string"},"type":"array","title":"Facts"},"not_authorized":{"type":"string","title":"Not Authorized"},"agenda_lock_history":{"items":{"type":"string"},"type":"array","title":"Agenda Lock History"}},"additionalProperties":false,"type":"object","required":["id","name","archetype","agenda","position","tripwires","facts","not_authorized"],"title":"CaseActor"},"CaseCounter":{"properties":{"counter_id":{"anyOf":[{"type":"string","maxLength":160,"minLength":1},{"type":"null"}],"title":"Counter Id"},"label":{"type":"string","maxLength":40,"minLength":1,"title":"Label"},"start":{"type":"integer","maximum":1000000000000.0,"minimum":0.0,"title":"Start"},"unit":{"type":"string","maxLength":12,"title":"Unit","default":""},"unit_position":{"type":"string","enum":["before","after"],"title":"Unit Position","default":"before"}},"additionalProperties":false,"type":"object","required":["label","start"],"title":"CaseCounter","description":"A running total the student spends from: money, supplies, days. Only\nactions move it: each action's `costs` names what it spends. The room shows\nthe balance beside the clock, label first, with the unit before or after the\nnumber (\"Budget: $1,400\", \"KCl ampoules: 3\"). A case holds the whole list\n(`ScenarioVersion.counters`)."},"CaseDoc":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"revealed_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Revealed At"},"pages":{"additionalProperties":{"type":"string"},"type":"object","title":"Pages"}},"additionalProperties":false,"type":"object","required":["id","name","pages"],"title":"CaseDoc"},"CaseGradesOut":{"properties":{"case_id":{"type":"string","format":"uuid","title":"Case Id"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"title":{"type":"string","title":"Title"},"in_canvas":{"type":"boolean","title":"In Canvas"},"taken_back":{"type":"boolean","title":"Taken Back","default":false},"sent":{"type":"integer","title":"Sent","default":0},"waiting":{"type":"integer","title":"Waiting","default":0},"failed":{"type":"integer","title":"Failed","default":0},"not_in_canvas":{"type":"integer","title":"Not In Canvas","default":0},"students":{"items":{"$ref":"#/components/schemas/StudentGradeOut"},"type":"array","title":"Students"}},"type":"object","required":["case_id","assignment_id","title","in_canvas"],"title":"CaseGradesOut"},"CaseIn":{"properties":{"title":{"type":"string","maxLength":300,"minLength":1,"title":"Title"},"kind":{"type":"string","enum":["original","variant"],"title":"Kind","default":"original"},"parent_case_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Case Id"},"format":{"anyOf":[{"type":"string","enum":["repair","redesign","calibrate"]},{"type":"null"}],"title":"Format"}},"additionalProperties":false,"type":"object","required":["title"],"title":"CaseIn"},"CaseKindIn":{"properties":{"kind":{"type":"string","enum":["case","presentation_viva"],"title":"Kind"}},"type":"object","required":["kind"],"title":"CaseKindIn"},"CaseKindOut":{"properties":{"kind":{"type":"string","enum":["case","presentation_viva"],"title":"Kind"},"changed":{"items":{"type":"string"},"type":"array","title":"Changed"}},"type":"object","required":["kind","changed"],"title":"CaseKindOut"},"CaseOut":{"properties":{"title":{"type":"string","title":"Title"},"version":{"type":"integer","title":"Version"},"brief":{"type":"string","title":"Brief"}},"additionalProperties":false,"type":"object","required":["title","version","brief"],"title":"CaseOut"},"CasePatch":{"properties":{"title":{"type":"string","maxLength":300,"minLength":1,"title":"Title"}},"additionalProperties":false,"type":"object","required":["title"],"title":"CasePatch"},"CasePlan":{"properties":{"case_id":{"type":"string","format":"uuid","title":"Case Id"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"title":{"type":"string","title":"Title"},"points":{"type":"integer","title":"Points"},"rows":{"items":{"$ref":"#/components/schemas/RubricRowOut"},"type":"array","title":"Rows"},"outcome":{"anyOf":[{"$ref":"#/components/schemas/OutcomeOut"},{"type":"null"}]},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"state":{"type":"string","enum":["new","unfinished","unchanged","rubric_changed","no_rubric"],"title":"State"},"canvas_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canvas Url"},"did":{"anyOf":[{"type":"string","enum":["made","updated","unchanged","skipped"]},{"type":"null"}],"title":"Did"}},"type":"object","required":["case_id","assignment_id","title","points","rows","outcome","due_at","state","canvas_url"],"title":"CasePlan"},"CasePlantedMistake":{"properties":{"doc_id":{"type":"string","minLength":1,"title":"Doc Id"},"mistake":{"type":"string","maxLength":300,"minLength":1,"title":"Mistake"},"correct":{"type":"string","maxLength":200,"title":"Correct","default":""}},"additionalProperties":false,"type":"object","required":["doc_id","mistake"],"title":"CasePlantedMistake","description":"A mistake the author planted in one of the case's documents for the student to\ncatch, such as a formula worked out with two values swapped. Every actor, the grader,\nthe publish-time research and the answer key are told it, so none of them takes the\nplanted value as true. A case holds the whole list (`ScenarioVersion.planted_mistakes`)."},"CaseRule":{"properties":{"id":{"type":"string","title":"Id"},"rule":{"type":"string","title":"Rule"}},"additionalProperties":false,"type":"object","required":["id","rule"],"title":"CaseRule"},"CaseVivaOut":{"properties":{"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"class_name":{"type":"string","title":"Class Name"},"upload_deadline":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Upload Deadline"},"groups":{"type":"integer","title":"Groups"}},"type":"object","required":["assignment_id","class_name","upload_deadline","groups"],"title":"CaseVivaOut","description":"One run of a presentation viva case with a class: where its page is."},"CasesIn":{"properties":{"case_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":30,"minItems":1,"title":"Case Ids"}},"type":"object","required":["case_ids"],"title":"CasesIn"},"CastChanges":{"properties":{"add":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Add","default":[]},"remove":{"items":{"type":"string"},"type":"array","title":"Remove","default":[]},"recast":{"additionalProperties":{"type":"string"},"type":"object","title":"Recast","default":{}}},"additionalProperties":false,"type":"object","title":"CastChanges"},"CastFigure":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"look":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Look"}},"type":"object","required":["id","name","look"],"title":"CastFigure","description":"A character as the web app draws it: a clay figure with a name."},"CastMember":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"look":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Look"},"groups":{"items":{"type":"string"},"type":"array","title":"Groups","default":[]},"played_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Played By"}},"type":"object","required":["id","name","look"],"title":"CastMember"},"CastingCreate":{"properties":{"persona_id":{"type":"string","format":"uuid","title":"Persona Id"},"seat":{"type":"string","enum":["panel","contact"],"title":"Seat","default":"panel"}},"type":"object","required":["persona_id"],"title":"CastingCreate"},"CastingOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"persona_id":{"type":"string","format":"uuid","title":"Persona Id"},"name":{"type":"string","title":"Name"},"archetype":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Archetype"},"personality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Personality"},"voice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice"},"seat":{"type":"string","enum":["panel","contact"],"title":"Seat"},"stance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stance"},"doc_access":{"items":{"type":"string"},"type":"array","title":"Doc Access"},"tripwires":{"items":{"$ref":"#/components/schemas/Tripwire"},"type":"array","title":"Tripwires"},"agenda":{"items":{"$ref":"#/components/schemas/AgendaItem"},"type":"array","title":"Agenda","default":[]},"facts":{"items":{"$ref":"#/components/schemas/FactOut"},"type":"array","title":"Facts","default":[]},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","persona_id","name","archetype","personality","voice","seat","stance","doc_access","tripwires","created_at"],"title":"CastingOut","description":"A casting = a persona seated in a scenario version. Persona fields are\nflattened in so the UI never joins client-side."},"CastingUpdate":{"properties":{"stance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stance"},"seat":{"anyOf":[{"type":"string","enum":["panel","contact"]},{"type":"null"}],"title":"Seat"},"doc_access":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Doc Access"},"tripwires":{"anyOf":[{"items":{"$ref":"#/components/schemas/Tripwire"},"type":"array","maxItems":20},{"type":"null"}],"title":"Tripwires"},"agenda":{"anyOf":[{"items":{"$ref":"#/components/schemas/AgendaItem"},"type":"array","maxItems":8},{"type":"null"}],"title":"Agenda"}},"type":"object","title":"CastingUpdate"},"ChatIn":{"properties":{"text":{"type":"string","title":"Text"},"client_msg_id":{"type":"string","maxLength":64,"minLength":1,"title":"Client Msg Id"}},"type":"object","required":["text","client_msg_id"],"title":"ChatIn","description":"The student's message to one person. Sent again with the same client_msg_id,\nit is the same message."},"ChatMessageOut":{"properties":{"seq":{"type":"integer","title":"Seq"},"contact_id":{"type":"string","title":"Contact Id"},"origin":{"type":"string","enum":["student","contact"],"title":"Origin"},"text":{"type":"string","title":"Text"},"client_msg_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Msg Id"},"in_reply_to":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"In Reply To"},"at":{"type":"string","format":"date-time","title":"At"}},"type":"object","required":["seq","contact_id","origin","text","at"],"title":"ChatMessageOut"},"ChatSent":{"properties":{"rows":{"items":{"$ref":"#/components/schemas/ChatMessageOut"},"type":"array","title":"Rows"},"reply_failed":{"type":"boolean","title":"Reply Failed"}},"type":"object","required":["rows","reply_failed"],"title":"ChatSent","description":"The student's message, and the person's reply when there is one.\n`reply_failed`: they could not answer; sending again asks again."},"ChatsOut":{"properties":{"rows":{"items":{"$ref":"#/components/schemas/ChatMessageOut"},"type":"array","title":"Rows"},"more":{"type":"boolean","title":"More"}},"type":"object","required":["rows","more"],"title":"ChatsOut","description":"The messages after the reader's cursor, in order; `more` when a page\nstopped short of the newest."},"CheckMatch":{"properties":{"canvas_user_id":{"type":"string","title":"Canvas User Id"},"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email"}},"type":"object","required":["canvas_user_id","name","email"],"title":"CheckMatch","description":"A student of the class's Canvas course whose Canvas email matches a listed\nstudent who has signed in already: matched once the professor confirms."},"Checked":{"properties":{"ok":{"type":"boolean","title":"Ok"},"problems":{"items":{"$ref":"#/components/schemas/Problem"},"type":"array","title":"Problems"},"document":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Document"},"yaml":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Yaml"}},"type":"object","required":["ok","problems","document","yaml"],"title":"Checked"},"Citation":{"properties":{"doc_id":{"type":"string","title":"Doc Id"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"note":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}],"title":"Note"}},"type":"object","required":["doc_id","page"],"title":"Citation","description":"The student grounding a claim in an exhibit — doc + page, plus an\noptional one-line note of what they're pointing at (a table, a figure).\nPage-level, so it works for diagrams the same as text."},"CiteIn":{"properties":{"seq":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seq"},"bearing":{"type":"string","enum":["for","against"],"title":"Bearing"},"note":{"type":"string","maxLength":500,"minLength":1,"title":"Note"},"instead":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Instead"},"pointer":{"anyOf":[{"$ref":"#/components/schemas/PointerIn"},{"type":"null"}]},"hint_seq":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Hint Seq"},"action_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action Id"}},"additionalProperties":false,"type":"object","required":["bearing","note"],"title":"CiteIn"},"ClassAssignment":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"scenario_title":{"type":"string","title":"Scenario Title"},"version":{"type":"integer","title":"Version"},"attempts_allowed":{"type":"integer","title":"Attempts Allowed"},"in_groups":{"type":"boolean","title":"In Groups"},"started":{"type":"boolean","title":"Started"}},"type":"object","required":["id","scenario_title","version","attempts_allowed","in_groups","started"],"title":"ClassAssignment","description":"A case assigned to a class, as the Groups page lists it."},"ClassDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"name":{"type":"string","title":"Name"},"source":{"type":"string","title":"Source"},"roster":{"items":{"$ref":"#/components/schemas/RosterRow"},"type":"array","title":"Roster"},"canvas_course_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canvas Course Id"},"needs_email":{"items":{"$ref":"#/components/schemas/NeedsEmail"},"type":"array","title":"Needs Email"},"check_match":{"items":{"$ref":"#/components/schemas/CheckMatch"},"type":"array","title":"Check Match"}},"type":"object","required":["id","label","name","source","roster"],"title":"ClassDetail"},"ClassIn":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"label":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Label"}},"type":"object","required":["name"],"title":"ClassIn"},"ClassItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"name":{"type":"string","title":"Name"},"source":{"type":"string","title":"Source"},"students":{"type":"integer","title":"Students"},"signed_in":{"type":"integer","title":"Signed In"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"owner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner"},"canvas_course_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canvas Course Id"}},"type":"object","required":["id","label","name","source","students","signed_in","created_at"],"title":"ClassItem"},"ClassPatch":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Name"},"label":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Label"}},"type":"object","title":"ClassPatch"},"ClassifyIn":{"properties":{"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Note"}},"type":"object","title":"ClassifyIn"},"Classmate":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group"}},"type":"object","required":["id","name","group"],"title":"Classmate"},"Clock":{"properties":{"day":{"type":"integer","title":"Day"},"round":{"type":"integer","title":"Round"},"step":{"type":"integer","title":"Step"},"phase":{"type":"string","enum":["morning","talk","meeting","vote","night","seed"],"title":"Phase"}},"type":"object","required":["day","round","step","phase"],"title":"Clock"},"CodeIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"code":{"type":"string","maxLength":20,"minLength":1,"title":"Code"}},"type":"object","required":["email","code"],"title":"CodeIn"},"CohortAttemptOut":{"properties":{"attempt_id":{"type":"integer","title":"Attempt Id"},"student_name":{"type":"string","title":"Student Name"},"kind":{"type":"string","enum":["student","synthetic"],"title":"Kind","default":"student"},"run":{"anyOf":[{"$ref":"#/components/schemas/ModelRunOut"},{"type":"null"}]},"job":{"anyOf":[{"$ref":"#/components/schemas/GradingJobOut"},{"type":"null"}]},"version":{"type":"integer","title":"Version"},"cohort":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cohort"},"standing":{"type":"string","enum":["in_progress","with_council","draft_ready","signed"],"title":"Standing"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Minutes"},"scores":{"additionalProperties":{"$ref":"#/components/schemas/CohortScoreOut"},"type":"object","title":"Scores"},"total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total"},"flags":{"items":{"type":"string"},"type":"array","title":"Flags"},"cost_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cost Cents"},"signed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Signed At"}},"additionalProperties":false,"type":"object","required":["attempt_id","student_name","version","standing","scores","flags"],"title":"CohortAttemptOut"},"CohortCouncilOut":{"properties":{"criteria_graded":{"type":"integer","title":"Criteria Graded"},"settled":{"type":"integer","title":"Settled"},"distribution":{"type":"integer","title":"Distribution"},"chair":{"type":"integer","title":"Chair"},"single_seat":{"type":"integer","title":"Single Seat"},"inconclusive":{"type":"integer","title":"Inconclusive"},"overrides":{"type":"integer","title":"Overrides"},"cost_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cost Cents"}},"additionalProperties":false,"type":"object","required":["criteria_graded","settled","distribution","chair","single_seat","inconclusive","overrides"],"title":"CohortCouncilOut","description":"How the council did on the finished attempts: agreement, hands, spend."},"CohortCountsOut":{"properties":{"attempts":{"type":"integer","title":"Attempts"},"in_progress":{"type":"integer","title":"In Progress"},"with_council":{"type":"integer","title":"With Council"},"draft_ready":{"type":"integer","title":"Draft Ready"},"signed":{"type":"integer","title":"Signed"},"models":{"type":"integer","title":"Models","default":0}},"additionalProperties":false,"type":"object","required":["attempts","in_progress","with_council","draft_ready","signed"],"title":"CohortCountsOut"},"CohortCriterionOut":{"properties":{"criterion_id":{"type":"string","format":"uuid","title":"Criterion Id"},"name":{"type":"string","title":"Name"},"competency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Competency"},"position":{"type":"integer","title":"Position"}},"additionalProperties":false,"type":"object","required":["criterion_id","name","position"],"title":"CohortCriterionOut"},"CohortDistributionOut":{"properties":{"criterion_id":{"type":"string","format":"uuid","title":"Criterion Id"},"counts":{"items":{"type":"integer"},"type":"array","maxItems":5,"minItems":5,"title":"Counts"},"unscored":{"type":"integer","title":"Unscored"},"median":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median"},"mean":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mean"}},"additionalProperties":false,"type":"object","required":["criterion_id","counts","unscored"],"title":"CohortDistributionOut"},"CohortGroupsOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"students":{"items":{"$ref":"#/components/schemas/CohortStudent"},"type":"array","title":"Students"},"groups":{"items":{"$ref":"#/components/schemas/app__schemas__groups__GroupOut"},"type":"array","title":"Groups"}},"type":"object","required":["id","name","students","groups"],"title":"CohortGroupsOut"},"CohortScoreOut":{"properties":{"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"},"council_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Council Score"},"corrected":{"type":"boolean","title":"Corrected"},"outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome"}},"additionalProperties":false,"type":"object","required":["score","council_score","corrected"],"title":"CohortScoreOut","description":"One cell: the final score, and whether it is the author's or the council's."},"CohortStudent":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email"},"group_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Group Id"}},"type":"object","required":["id","name","email","group_id"],"title":"CohortStudent"},"CommissionIn":{"properties":{"form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Form"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"journey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Journey"},"brings":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Brings"},"brief":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brief"},"timing":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timing"},"visibility":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"ip_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ip Hash"},"suspected_bot":{"type":"boolean","title":"Suspected Bot","default":false}},"type":"object","title":"CommissionIn"},"CompanyPatch":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Name"},"domain":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Domain"},"orgType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Orgtype"},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"},"subIndustry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subindustry"},"productType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Producttype"},"country":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Country"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"aiTeam":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aiteam"},"otherReasons":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Otherreasons"}},"type":"object","title":"CompanyPatch"},"CompileCheck":{"properties":{"errors":{"items":{"$ref":"#/components/schemas/CompileIssue"},"type":"array","title":"Errors","default":[]},"warnings":{"items":{"$ref":"#/components/schemas/CompileIssue"},"type":"array","title":"Warnings","default":[]}},"type":"object","title":"CompileCheck"},"CompileIssue":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"}},"type":"object","required":["code","message"],"title":"CompileIssue"},"CompleteIn":{"properties":{"parts":{"items":{"$ref":"#/components/schemas/app__bench__schemas__PartIn"},"type":"array","title":"Parts"}},"additionalProperties":false,"type":"object","title":"CompleteIn"},"ComputeCheckOut":{"properties":{"ref":{"type":"string","title":"Ref"},"purpose":{"type":"string","title":"Purpose"},"status":{"type":"string","title":"Status"},"shown_on_board":{"type":"boolean","title":"Shown On Board"},"lines":{"items":{"$ref":"#/components/schemas/BoardLineOut"},"type":"array","title":"Lines"},"error":{"type":"string","title":"Error"}},"additionalProperties":false,"type":"object","required":["ref","purpose","status","shown_on_board","lines","error"],"title":"ComputeCheckOut","description":"One calculation an actor ran before it spoke, silent or shown on its board.\n\nEach line is labelled with its assigned name; a run that failed carries its\nstatus and error and no lines."},"Condition":{"properties":{"after":{"items":{"$ref":"#/components/schemas/HappeningRef"},"type":"array","maxItems":16,"title":"After","default":[]},"after_any":{"items":{"$ref":"#/components/schemas/HappeningRef"},"type":"array","maxItems":16,"title":"After Any","default":[]},"unless":{"items":{"$ref":"#/components/schemas/HappeningRef"},"type":"array","maxItems":16,"title":"Unless","default":[]}},"additionalProperties":false,"type":"object","title":"Condition"},"ConnectRequestOut":{"properties":{"client_name":{"type":"string","title":"Client Name"},"redirect_host":{"type":"string","title":"Redirect Host"},"can":{"items":{"type":"string"},"type":"array","title":"Can"}},"type":"object","required":["client_name","redirect_host","can"],"title":"ConnectRequestOut"},"ContactIn":{"properties":{"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"line":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line"},"stance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stance"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"cta":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cta"},"who":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Who"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"}},"type":"object","title":"ContactIn"},"CopyOut":{"properties":{"source_id":{"type":"string","format":"uuid","title":"Source Id"},"source_title":{"type":"string","title":"Source Title"},"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"title":{"type":"string","title":"Title"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"created":{"type":"boolean","title":"Created"}},"type":"object","required":["source_id","source_title","scenario_id","title","assignment_id","created"],"title":"CopyOut"},"CounterBalance":{"properties":{"counter_id":{"type":"string","title":"Counter Id"},"label":{"type":"string","title":"Label"},"balance":{"type":"integer","title":"Balance"},"text":{"type":"string","title":"Text"}},"type":"object","required":["counter_id","label","balance","text"],"title":"CounterBalance","description":"One running total as it stands now, ready to show beside the clock:\n`text` is the balance with its unit (\"$1,400\")."},"CourseOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"course_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Course Code"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"class_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Class Id"}},"type":"object","required":["id","name","course_code","state"],"title":"CourseOut"},"CoverageDraftIn":{"properties":{"phase":{"type":"string","enum":["blind","peer","final"],"title":"Phase"},"scope_key":{"type":"string","enum":["participant_turns","epistemic_tool_actions","actor_turns","trajectory_boundaries"],"title":"Scope Key"},"review_mode":{"type":"string","enum":["exception_only","exhaustive"],"title":"Review Mode"},"state":{"type":"string","enum":["reviewed_in_full","reviewed_in_part","not_reviewed","cannot_determine"],"title":"State"},"anchor_ids":{"items":{"type":"string"},"type":"array","maxItems":10000,"title":"Anchor Ids"}},"additionalProperties":false,"type":"object","required":["phase","scope_key","review_mode","state"],"title":"CoverageDraftIn"},"CoverageDraftOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"phase":{"type":"string","enum":["blind","peer","final"],"title":"Phase"},"scope_key":{"type":"string","enum":["participant_turns","epistemic_tool_actions","actor_turns","trajectory_boundaries"],"title":"Scope Key"},"review_mode":{"type":"string","enum":["exception_only","exhaustive"],"title":"Review Mode"},"state":{"type":"string","enum":["reviewed_in_full","reviewed_in_part","not_reviewed","cannot_determine"],"title":"State"},"anchor_ids":{"items":{"type":"string"},"type":"array","title":"Anchor Ids"},"obligation_policy_version":{"type":"string","title":"Obligation Policy Version"},"capabilities":{"$ref":"#/components/schemas/DraftCapabilities"}},"additionalProperties":false,"type":"object","required":["id","phase","scope_key","review_mode","state","anchor_ids","obligation_policy_version","capabilities"],"title":"CoverageDraftOut"},"Criterion":{"properties":{"key":{"type":"string","title":"Key"},"name":{"type":"string","title":"Name"},"scale":{"additionalProperties":{"type":"string"},"type":"object","title":"Scale"},"guidance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guidance"}},"additionalProperties":false,"type":"object","required":["key","name","scale"],"title":"Criterion"},"CriterionGradingOut":{"properties":{"criterion_id":{"type":"string","format":"uuid","title":"Criterion Id"},"position":{"type":"integer","title":"Position"},"name":{"type":"string","title":"Name"},"competency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Competency"},"guidance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guidance"},"scale":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Scale"},"case_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Case Note"},"draft":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__grading__VerdictOut"},{"type":"null"}]},"outcome":{"type":"string","title":"Outcome"},"published_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published By"},"flags":{"items":{"type":"string"},"type":"array","title":"Flags"},"seats":{"items":{"$ref":"#/components/schemas/app__schemas__grading__SeatOut"},"type":"array","title":"Seats"},"chair":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__grading__VerdictOut"},{"type":"null"}]},"correction":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__grading__CorrectionOut"},{"type":"null"}]},"author_debrief":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__grading__VerdictOut"},{"type":"null"}]},"lines_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lines From"},"final_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Final Score"}},"additionalProperties":false,"type":"object","required":["criterion_id","position","name","outcome","seats"],"title":"CriterionGradingOut"},"CriterionMarkOut":{"properties":{"criterion_id":{"type":"string","format":"uuid","title":"Criterion Id"},"position":{"type":"integer","title":"Position"},"name":{"type":"string","title":"Name"},"competency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Competency"},"guidance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guidance"},"scale":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Scale"},"case_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Case Note"},"outcome":{"type":"string","title":"Outcome"},"flags":{"items":{"type":"string"},"type":"array","title":"Flags"},"draft":{"anyOf":[{"$ref":"#/components/schemas/app__presentation__marks__VerdictOut"},{"type":"null"}]},"seats":{"items":{"$ref":"#/components/schemas/app__presentation__marks__SeatOut"},"type":"array","title":"Seats"},"correction":{"anyOf":[{"$ref":"#/components/schemas/app__presentation__marks__CorrectionOut"},{"type":"null"}]},"final_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Final Score"}},"type":"object","required":["criterion_id","position","name","outcome","flags","draft","seats","correction","final_score"],"title":"CriterionMarkOut"},"CriterionOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"position":{"type":"integer","title":"Position"},"name":{"type":"string","title":"Name"},"competency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Competency"},"guidance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guidance"},"scale":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Scale"},"applies_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applies To"}},"type":"object","required":["id","position","name","competency","guidance"],"title":"CriterionOut"},"CriterionUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"competency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Competency"},"guidance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guidance"},"scale":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Scale"},"applies_to":{"anyOf":[{"type":"string","enum":["presentation","viva"]},{"type":"null"}],"title":"Applies To"}},"type":"object","title":"CriterionUpdate"},"DayBudget":{"properties":{"day":{"type":"integer","title":"Day"},"minutes":{"type":"number","title":"Minutes"},"available":{"type":"number","title":"Available"}},"type":"object","required":["day","minutes","available"],"title":"DayBudget"},"DebriefCriterionOut":{"properties":{"criterion_id":{"type":"string","format":"uuid","title":"Criterion Id"},"name":{"type":"string","title":"Name"},"competency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Competency"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"},"ladder_line":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ladder Line"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"evidence":{"items":{"$ref":"#/components/schemas/app__schemas__grading__CiteOut"},"type":"array","title":"Evidence"},"improve":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__grading__CiteOut"},{"type":"null"}]},"revision":{"anyOf":[{"$ref":"#/components/schemas/RevisionOut"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["criterion_id","name"],"title":"DebriefCriterionOut"},"DebriefLinesIn":{"properties":{"why":{"type":"string","maxLength":2000,"minLength":1,"title":"Why"},"evidence":{"items":{"$ref":"#/components/schemas/CiteIn"},"type":"array","title":"Evidence"},"improve":{"anyOf":[{"$ref":"#/components/schemas/CiteIn"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["why"],"title":"DebriefLinesIn","description":"The author's rewrite of what the student reads for one criterion."},"DebriefOut":{"properties":{"attempt_id":{"type":"integer","title":"Attempt Id"},"released":{"type":"boolean","title":"Released"},"case":{"$ref":"#/components/schemas/CaseOut"},"criteria":{"items":{"$ref":"#/components/schemas/DebriefCriterionOut"},"type":"array","title":"Criteria"},"record":{"items":{"$ref":"#/components/schemas/RecordRow"},"type":"array","title":"Record"},"model_answer":{"items":{"$ref":"#/components/schemas/ModelAnswerOut"},"type":"array","title":"Model Answer"},"timeline":{"items":{"$ref":"#/components/schemas/TimelineCard"},"type":"array","title":"Timeline"},"panel_feedback":{"anyOf":[{"$ref":"#/components/schemas/PanelFeedbackOut"},{"type":"null"}]},"signature":{"anyOf":[{"$ref":"#/components/schemas/SignatureOut"},{"type":"null"}]},"process_line":{"type":"string","title":"Process Line"},"speaker_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Name"}},"additionalProperties":false,"type":"object","required":["attempt_id","released","case","criteria","record","process_line"],"title":"DebriefOut"},"Disconnected":{"properties":{"disconnected":{"type":"boolean","title":"Disconnected"},"next_step":{"type":"string","title":"Next Step"}},"type":"object","required":["disconnected","next_step"],"title":"Disconnected"},"DocAttach":{"properties":{"asset_id":{"type":"string","format":"uuid","title":"Asset Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["asset_id"],"title":"DocAttach"},"DocCard":{"properties":{"doc_id":{"type":"string","title":"Doc Id"},"name":{"type":"string","title":"Name"},"pages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pages"}},"type":"object","required":["doc_id","name"],"title":"DocCard"},"DocContent":{"properties":{"doc_id":{"type":"string","title":"Doc Id"},"name":{"type":"string","title":"Name"},"mime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mime"},"pages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pages"},"is_image":{"type":"boolean","title":"Is Image","default":false},"file_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Url"},"body":{"items":{"$ref":"#/components/schemas/DocPage"},"type":"array","title":"Body","default":[]}},"type":"object","required":["doc_id","name"],"title":"DocContent","description":"An exhibit's readable content — chunk text per page. Images also carry\na file URL the reader renders directly."},"DocOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"asset_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Asset Id"},"name":{"type":"string","title":"Name"},"alias":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alias"},"packet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Packet"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"mime":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mime"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"page_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Count"},"status":{"type":"string","title":"Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","asset_id","name","alias","packet","description","mime","size_bytes","page_count","status","error","created_at"],"title":"DocOut","description":"A doc = an asset cast into a scenario version. Status comes from the\nasset (ingestion runs at asset level)."},"DocPage":{"properties":{"page":{"type":"integer","title":"Page"},"text":{"type":"string","title":"Text"},"kind":{"type":"string","title":"Kind"}},"type":"object","required":["page","text","kind"],"title":"DocPage"},"DocUpdate":{"properties":{"alias":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alias"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"packet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Packet"}},"type":"object","title":"DocUpdate"},"DocumentGroup":{"properties":{"doc_ids":{"items":{"type":"string"},"type":"array","title":"Doc Ids","default":[]},"name":{"type":"string","title":"Name"},"entries":{"items":{"$ref":"#/components/schemas/ResearchEntry"},"type":"array","title":"Entries","default":[]}},"type":"object","required":["name"],"title":"DocumentGroup","description":"Expected arguments, under the document they were prepared from."},"DocumentOut":{"properties":{"doc_id":{"type":"string","title":"Doc Id"},"title":{"type":"string","title":"Title"},"pages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pages"},"image_pages":{"items":{"type":"integer"},"type":"array","title":"Image Pages"},"reachable":{"type":"boolean","title":"Reachable","default":true}},"additionalProperties":false,"type":"object","required":["doc_id","title"],"title":"DocumentOut","description":"One document of the case, as the author's pointer picker lists it."},"Draft":{"properties":{"source":{"type":"string","title":"Source"},"document":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Document"},"problems":{"items":{"$ref":"#/components/schemas/Problem"},"type":"array","title":"Problems"}},"type":"object","required":["source","document","problems"],"title":"Draft"},"DraftCapabilities":{"properties":{"can_edit":{"type":"boolean","title":"Can Edit"},"can_delete":{"type":"boolean","title":"Can Delete","default":false}},"additionalProperties":false,"type":"object","required":["can_edit"],"title":"DraftCapabilities"},"DraftIn":{"properties":{"instruction_md":{"anyOf":[{"type":"string","maxLength":200000},{"type":"null"}],"title":"Instruction Md"},"bench_meta":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Bench Meta"}},"additionalProperties":false,"type":"object","title":"DraftIn","description":"Either field may be left out; what is sent replaces what was there."},"DraftSave":{"properties":{"source":{"type":"string","maxLength":500000,"title":"Source"},"board":{"additionalProperties":true,"type":"object","title":"Board","default":{}}},"additionalProperties":false,"type":"object","required":["source"],"title":"DraftSave"},"DraftSaved":{"properties":{"saved_at":{"type":"string","format":"date-time","title":"Saved At"},"problems":{"items":{"$ref":"#/components/schemas/Problem"},"type":"array","title":"Problems"}},"type":"object","required":["saved_at","problems"],"title":"DraftSaved"},"Edit":{"properties":{"logline":{"type":"string","title":"Logline"},"question":{"type":"string","title":"Question"},"threads":{"items":{"$ref":"#/components/schemas/EditThread"},"type":"array","title":"Threads","default":[]},"cuts":{"items":{"$ref":"#/components/schemas/EditCut"},"type":"array","title":"Cuts"},"flags":{"items":{"$ref":"#/components/schemas/EditFlag"},"type":"array","title":"Flags"},"budgets":{"items":{"$ref":"#/components/schemas/DayBudget"},"type":"array","title":"Budgets","default":[]},"minutes":{"type":"number","title":"Minutes"}},"type":"object","required":["logline","question","cuts","flags","minutes"],"title":"Edit"},"EditCut":{"properties":{"scene":{"type":"string","title":"Scene"},"rows":{"items":{"type":"integer"},"type":"array","title":"Rows"},"cut_reason":{"type":"string","title":"Cut Reason"},"cross_cut_with":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cross Cut With"},"thread":{"anyOf":[{"type":"string","enum":["A","B","C"]},{"type":"null"}],"title":"Thread"}},"type":"object","required":["scene","rows","cut_reason","cross_cut_with"],"title":"EditCut","description":"One part of an episode, in the order it plays."},"EditFlag":{"properties":{"setup":{"type":"integer","title":"Setup"},"payoff":{"type":"integer","title":"Payoff"},"why":{"type":"string","title":"Why"}},"type":"object","required":["setup","payoff","why"],"title":"EditFlag","description":"A payoff kept without its setup, and why."},"EditThread":{"properties":{"label":{"type":"string","enum":["A","B","C"],"title":"Label"},"title":{"type":"string","title":"Title"},"characters":{"items":{"type":"string"},"type":"array","title":"Characters"}},"type":"object","required":["label","title","characters"],"title":"EditThread","description":"One of the episode's (at most three) threads."},"EmailIn":{"properties":{"email":{"type":"string","maxLength":320,"title":"Email"}},"type":"object","required":["email"],"title":"EmailIn"},"EndorsementIn":{"properties":{"mark_id":{"type":"string","title":"Mark Id"},"item_path":{"type":"string","title":"Item Path"},"stance":{"type":"string","enum":["endorse","acceptable","reject"],"title":"Stance"},"note":{"type":"string","title":"Note","default":""}},"additionalProperties":false,"type":"object","required":["mark_id","item_path","stance"],"title":"EndorsementIn","description":"One stance on one line item inside the other reviewer's mark."},"EndorsementOut":{"properties":{"rev":{"type":"string","enum":["A","B"],"title":"Rev"},"stance":{"type":"string","enum":["endorse","acceptable","reject"],"title":"Stance"},"note":{"type":"string","title":"Note"}},"additionalProperties":false,"type":"object","required":["rev","stance","note"],"title":"EndorsementOut"},"EntryApproval":{"properties":{},"type":"object","title":"EntryApproval","description":"Approved as it stands — carries no text; the server stamps who and when."},"EntryRemoval":{"properties":{},"type":"object","title":"EntryRemoval","description":"A removed entry carries no text of its own — only the server's stamp."},"EpisodePlan":{"properties":{"days":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Days"},"budget":{"anyOf":[{"type":"number","maximum":500.0,"minimum":0.0},{"type":"null"}],"title":"Budget"},"lineup":{"anyOf":[{"$ref":"#/components/schemas/Lineup"},{"type":"null"}]},"mode":{"anyOf":[{"type":"string","enum":["show","test"]},{"type":"null"}],"title":"Mode"},"cast_changes":{"$ref":"#/components/schemas/CastChanges"},"world_changes":{"additionalProperties":true,"type":"object","title":"World Changes","default":{}}},"additionalProperties":false,"type":"object","required":["days"],"title":"EpisodePlan"},"EpisodePreview":{"properties":{"ok":{"type":"boolean","title":"Ok"},"problems":{"items":{"$ref":"#/components/schemas/Problem"},"type":"array","title":"Problems"},"episode":{"type":"integer","title":"Episode"},"series_id":{"type":"string","format":"uuid","title":"Series Id"},"starts_from":{"$ref":"#/components/schemas/ForkPoint"},"memory_calls":{"type":"integer","title":"Memory Calls"},"memory_usd":{"type":"number","title":"Memory Usd"},"first_day_worst_usd":{"type":"number","title":"First Day Worst Usd"},"worst_usd":{"type":"number","title":"Worst Usd"},"bots_only":{"type":"boolean","title":"Bots Only"}},"type":"object","required":["ok","problems","episode","series_id","starts_from","memory_calls","memory_usd","first_day_worst_usd","worst_usd","bots_only"],"title":"EpisodePreview"},"EpisodeRun":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"world":{"$ref":"#/components/schemas/WorldRef"},"version":{"$ref":"#/components/schemas/VersionRef"},"label":{"type":"string","title":"Label"},"status":{"type":"string","enum":["queued","running","stopping","stopped","completed","failed","died"],"title":"Status"},"mode":{"type":"string","enum":["show","test"],"title":"Mode"},"spend_usd":{"type":"number","title":"Spend Usd"},"cost_cap_usd":{"type":"number","title":"Cost Cap Usd"},"clock":{"anyOf":[{"$ref":"#/components/schemas/Clock"},{"type":"null"}]},"parent_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Run Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"series":{"type":"string","format":"uuid","title":"Series"},"episode":{"type":"integer","title":"Episode"},"cast":{"items":{"$ref":"#/components/schemas/CastMember"},"type":"array","title":"Cast"},"lineup":{"additionalProperties":true,"type":"object","title":"Lineup"},"seed":{"type":"integer","title":"Seed"},"last_seq":{"type":"integer","title":"Last Seq"},"time":{"$ref":"#/components/schemas/RunTime"},"fork_at_seq":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fork At Seq"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"heartbeat_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Heartbeat At"},"stop_requested":{"anyOf":[{"type":"string","enum":["after_round","now"]},{"type":"null"}],"title":"Stop Requested"},"parent":{"type":"string","format":"uuid","title":"Parent"}},"type":"object","required":["id","world","version","label","status","mode","spend_usd","cost_cap_usd","clock","parent_run_id","created_at","finished_at","series","episode","cast","lineup","seed","last_seq","time","fork_at_seq","reason","started_at","heartbeat_at","stop_requested","parent"],"title":"EpisodeRun"},"EpisodeStart":{"properties":{"days":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Days"},"budget":{"type":"number","maximum":500.0,"minimum":0.0,"title":"Budget"},"lineup":{"anyOf":[{"$ref":"#/components/schemas/Lineup"},{"type":"null"}]},"mode":{"anyOf":[{"type":"string","enum":["show","test"]},{"type":"null"}],"title":"Mode"},"cast_changes":{"$ref":"#/components/schemas/CastChanges"},"world_changes":{"additionalProperties":true,"type":"object","title":"World Changes","default":{}},"start_key":{"type":"string","maxLength":80,"minLength":8,"title":"Start Key"},"label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Label"}},"additionalProperties":false,"type":"object","required":["days","budget","start_key"],"title":"EpisodeStart"},"EventCondition":{"properties":{"after":{"items":{"$ref":"#/components/schemas/HappeningRef"},"type":"array","maxItems":16,"title":"After","default":[]},"after_any":{"items":{"$ref":"#/components/schemas/HappeningRef"},"type":"array","maxItems":16,"title":"After Any","default":[]},"unless":{"items":{"$ref":"#/components/schemas/HappeningRef"},"type":"array","maxItems":16,"title":"Unless","default":[]},"delay_minutes":{"anyOf":[{"type":"integer","maximum":180.0,"minimum":1.0},{"type":"null"}],"title":"Delay Minutes"}},"additionalProperties":false,"type":"object","title":"EventCondition"},"EventOut":{"properties":{"seq":{"type":"integer","title":"Seq"},"type":{"type":"string","title":"Type"},"origin":{"type":"string","title":"Origin"},"actor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Id"},"actor_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Name"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"detail_html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detail Html"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"},"evidence":{"items":{"$ref":"#/components/schemas/EvidenceRef"},"type":"array","title":"Evidence","default":[]},"doc_refs":{"items":{"type":"string"},"type":"array","title":"Doc Refs","default":[]},"action_refs":{"items":{"type":"string"},"type":"array","title":"Action Refs","default":[]},"world_sources":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"World Sources","default":[]},"time_skip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time Skip"},"doc_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doc Id"},"action_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action Id"},"filing_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filing Note"},"revealed_by":{"anyOf":[{"type":"string","enum":["action","event"]},{"type":"null"}],"title":"Revealed By"},"board":{"anyOf":[{"$ref":"#/components/schemas/BoardOut"},{"type":"null"}]},"ask_working":{"items":{"$ref":"#/components/schemas/AskWorkingOut"},"type":"array","title":"Ask Working","default":[]},"pad_refs":{"items":{"type":"string"},"type":"array","title":"Pad Refs","default":[]},"pad_shared":{"items":{"$ref":"#/components/schemas/PadSharedLineV3"},"type":"array","title":"Pad Shared","default":[]},"pad_check":{"anyOf":[{"$ref":"#/components/schemas/PadCheckOut"},{"type":"null"}]},"presentation_citation":{"anyOf":[{"$ref":"#/components/schemas/PresentationCitationV3"},{"type":"null"}]},"payload":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Payload"}},"type":"object","required":["seq","type","origin","actor_id"],"title":"EventOut","description":"One event, projected for the requesting role. Student rows carry only\nroom-visible content; prof rows carry the full payload."},"EvidenceRef":{"properties":{"chunk_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chunk Id"},"doc_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doc Id"},"doc_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doc Name"},"page":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page"}},"type":"object","title":"EvidenceRef"},"ExampleCard":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"premise":{"type":"string","title":"Premise"},"cast":{"items":{"$ref":"#/components/schemas/CastFigure"},"type":"array","title":"Cast"},"days":{"type":"integer","title":"Days"},"rules":{"items":{"type":"string"},"type":"array","title":"Rules"}},"type":"object","required":["id","title","premise","cast","days","rules"],"title":"ExampleCard","description":"One example world, as the New world dialog shows it."},"ExampleCopy":{"properties":{"example":{"type":"string","maxLength":64,"minLength":1,"title":"Example"}},"additionalProperties":false,"type":"object","required":["example"],"title":"ExampleCopy"},"ExemplarCreate":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"A short name for this answer, e.g. Consolidate; the student sees it as its heading."},"body":{"type":"string","title":"Body","description":"The model answer. The student sees it once results are released; the grader does not read it.","default":""}},"type":"object","title":"ExemplarCreate"},"ExemplarOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"body":{"type":"string","title":"Body"},"author_id":{"type":"string","format":"uuid","title":"Author Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","title","body","author_id","created_at"],"title":"ExemplarOut"},"ExemplarUpdate":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"}},"type":"object","title":"ExemplarUpdate"},"ExpertAnnotationDraftOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"annotation_object_id":{"type":"string","format":"uuid","title":"Annotation Object Id"},"phase":{"type":"string","enum":["blind","peer","final"],"title":"Phase"},"state":{"type":"string","enum":["draft","locked"],"title":"State"},"draft":{"$ref":"#/components/schemas/AnnotationPositionDraftIn"},"capabilities":{"$ref":"#/components/schemas/DraftCapabilities"}},"additionalProperties":false,"type":"object","required":["id","annotation_object_id","phase","state","draft","capabilities"],"title":"ExpertAnnotationDraftOut"},"Explained":{"properties":{"text":{"type":"string","title":"Text"}},"type":"object","required":["text"],"title":"Explained"},"FactCreate":{"properties":{"text":{"type":"string","minLength":1,"title":"Text","description":"Something this actor knows, in a sentence; they already read the documents, so a fact adds what those do not. The actor draws on it in the room."},"kind":{"type":"string","enum":["truth","lie"],"title":"Kind","description":"Whether the actor tells it straight (truth) or lies about it (lie): a lie is asserted and given up when the record is put to them. reveal_rule does not apply to a lie.","default":"truth"},"reveal_rule":{"anyOf":[{"type":"string","enum":["free","if_asked","never","check"]},{"type":"null"}],"title":"Reveal Rule","description":"free (shares it), if_asked (when a question reaches unlock_topic), never (until dug out), check (knows it, never hands it over: points to known_from, corrects contradictions). Null is free."},"known_from":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Known From","description":"For a check truth, required: who or what holds the fact, which the actor names when the student asks them for it, e.g. 'Maya Fernandes, Fleet Engineer'. At most 120 characters."},"unlock_topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unlock Topic","description":"For an if_asked or never truth: the topic, in a few words, a student's question must reach to unlock it. A gated truth without one cannot publish."},"source_chunk_ids":{"items":{"type":"string"},"type":"array","title":"Source Chunk Ids","description":"Ids of document passages that back the fact, as get_package returns them; keep them or leave empty. Each must be in a document the actor can read.","default":[]},"key":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Key","description":"A short name for the fact by which a condition (opens) names it; two facts in a case cannot share one. Left out, the save gives it one from its text; keep it."},"opens":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]}},"type":"object","required":["text"],"title":"FactCreate"},"FactOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"text":{"type":"string","title":"Text"},"kind":{"type":"string","title":"Kind"},"reveal_rule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reveal Rule"},"unlock_topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unlock Topic"},"known_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Known From"},"source_chunk_ids":{"items":{"type":"string"},"type":"array","title":"Source Chunk Ids"},"source":{"anyOf":[{"$ref":"#/components/schemas/SourceRef"},{"type":"null"}]},"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"opens":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","text","kind","reveal_rule","unlock_topic","source_chunk_ids","source","created_at"],"title":"FactOut"},"FactUpdate":{"properties":{"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"kind":{"anyOf":[{"type":"string","enum":["truth","lie"]},{"type":"null"}],"title":"Kind"},"reveal_rule":{"anyOf":[{"type":"string","enum":["free","if_asked","never","check"]},{"type":"null"}],"title":"Reveal Rule"},"clear_reveal_rule":{"type":"boolean","title":"Clear Reveal Rule","default":false},"unlock_topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unlock Topic"},"clear_unlock_topic":{"type":"boolean","title":"Clear Unlock Topic","default":false},"known_from":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Known From"},"clear_known_from":{"type":"boolean","title":"Clear Known From","default":false},"source_chunk_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Source Chunk Ids"},"key":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Key"},"opens":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]}},"type":"object","title":"FactUpdate"},"FamilyIn":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$","title":"Slug"},"description":{"type":"string","maxLength":20000,"title":"Description","default":""},"format":{"type":"string","enum":["repair","redesign","calibrate"],"title":"Format"},"example_md":{"type":"string","maxLength":200000,"title":"Example Md","default":""},"brief_template":{"type":"string","maxLength":200000,"title":"Brief Template","default":""},"requirement_patterns":{"items":{},"type":"array","title":"Requirement Patterns"},"check_patterns":{"items":{},"type":"array","title":"Check Patterns"}},"additionalProperties":false,"type":"object","required":["name","slug","format"],"title":"FamilyIn"},"FamilyPatch":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"slug":{"anyOf":[{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$"},{"type":"null"}],"title":"Slug"},"description":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Description"},"format":{"anyOf":[{"type":"string","enum":["repair","redesign","calibrate"]},{"type":"null"}],"title":"Format"},"example_md":{"anyOf":[{"type":"string","maxLength":200000},{"type":"null"}],"title":"Example Md"},"brief_template":{"anyOf":[{"type":"string","maxLength":200000},{"type":"null"}],"title":"Brief Template"},"requirement_patterns":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Requirement Patterns"},"check_patterns":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Check Patterns"}},"additionalProperties":false,"type":"object","title":"FamilyPatch"},"FeedPage":{"properties":{"rows":{"items":{"$ref":"#/components/schemas/FeedRow"},"type":"array","title":"Rows"},"last_seq":{"type":"integer","title":"Last Seq"},"more":{"type":"boolean","title":"More"},"status":{"type":"string","enum":["queued","running","stopping","stopped","completed","failed","died"],"title":"Status"}},"type":"object","required":["rows","last_seq","more","status"],"title":"FeedPage"},"FeedRow":{"properties":{"seq":{"type":"integer","title":"Seq"},"day":{"type":"integer","title":"Day"},"round":{"type":"integer","title":"Round"},"step":{"type":"integer","title":"Step"},"phase":{"type":"string","enum":["morning","talk","meeting","vote","night","seed"],"title":"Phase"},"block":{"type":"string","title":"Block"},"kind":{"type":"string","title":"Kind"},"actor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor"},"audience":{"anyOf":[{"type":"string","const":"anyone"},{"items":{"type":"string"},"type":"array"}],"title":"Audience"},"layer":{"type":"string","enum":["public","backroom","notes","deals","confessionals","director"],"title":"Layer"},"text":{"type":"string","title":"Text"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"hidden":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Hidden"},"stage":{"$ref":"#/components/schemas/StageCues"},"caused_by":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Caused By"}},"type":"object","required":["seq","day","round","step","phase","block","kind","actor","audience","layer","text","payload","hidden","stage","caused_by"],"title":"FeedRow","description":"One row of the record. ``block`` and ``kind`` pick how a row is drawn; the UI never\nprints them."},"FieldCorrection":{"properties":{"value":{"type":"string","maxLength":8000,"title":"Value"}},"type":"object","required":["value"],"title":"FieldCorrection","description":"The corrected text. `by`/`at` are stamped by the server and ignored here."},"FieldView":{"properties":{"value":{"type":"string","title":"Value"},"original":{"type":"string","title":"Original"},"corrected_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Corrected By"},"corrected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Corrected At"}},"type":"object","required":["value","original"],"title":"FieldView","description":"One correctable line of an entry, original beside correction."},"FigureEntry":{"properties":{"layer":{"type":"string","title":"Layer"},"key":{"type":"string","title":"Key"},"reach":{"type":"string","title":"Reach"},"fields":{"additionalProperties":{"$ref":"#/components/schemas/FieldView"},"type":"object","title":"Fields","default":{}},"details":{"additionalProperties":true,"type":"object","title":"Details","default":{}},"removed":{"type":"boolean","title":"Removed","default":false},"removable":{"type":"boolean","title":"Removable","default":false},"editable_fields":{"items":{"type":"string"},"type":"array","title":"Editable Fields","default":[]},"outside_fact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outside Fact"},"approved_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved By"},"approved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Approved At"},"doc_id":{"type":"string","title":"Doc Id"},"doc_name":{"type":"string","title":"Doc Name"},"asset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Asset Id"},"file_name":{"type":"string","title":"File Name","default":""},"pages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pages"},"page":{"type":"integer","title":"Page"},"label":{"type":"string","title":"Label"},"value_text":{"type":"string","title":"Value Text"},"value_latex":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value Latex"},"unit":{"type":"string","title":"Unit","default":""},"symbol":{"type":"string","title":"Symbol","default":""},"kind":{"type":"string","title":"Kind","default":"given"},"quote":{"type":"string","title":"Quote","default":""},"verified":{"type":"boolean","title":"Verified","default":false}},"type":"object","required":["layer","key","reach","doc_id","doc_name","page","label","value_text"],"title":"FigureEntry","description":"A number copied from a document's figures sheet at publish, on a\ncalculator case: layer \"figures\", keyed by the sheet row's id. The number\ncheck uses it once it is approved. Never reworded: approve or reject."},"FileIn":{"properties":{"filename":{"type":"string","maxLength":255,"minLength":1,"title":"Filename"},"bytes":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Bytes"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"}},"type":"object","required":["filename"],"title":"FileIn"},"FilePatch":{"properties":{"path":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Path"},"role":{"anyOf":[{"type":"string","enum":["input","reference","test","fixture","solution"]},{"type":"null"}],"title":"Role"},"visibility":{"anyOf":[{"type":"string","enum":["agent","private"]},{"type":"null"}],"title":"Visibility"}},"additionalProperties":false,"type":"object","title":"FilePatch"},"FinishIn":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"video_parts":{"items":{"$ref":"#/components/schemas/app__presentation__groups__PartIn"},"type":"array","maxItems":10000,"title":"Video Parts"},"who_did_what":{"additionalProperties":{"type":"string"},"propertyNames":{"format":"uuid"},"type":"object","title":"Who Did What"},"consent":{"type":"boolean","title":"Consent","default":false}},"type":"object","required":["session_id"],"title":"FinishIn"},"FlagReviewed":{"properties":{"text":{"type":"string","maxLength":8000,"title":"Text"}},"type":"object","required":["text"],"title":"FlagReviewed","description":"“Looks fine”, said about one flagged sentence.\n\nThe sentence is stored as it was shown, so that an acknowledgement only\nstands while the words still say what was read. `by`/`at` are stamped by\nthe server and ignored here."},"FollowOut":{"properties":{"status":{"type":"string","title":"Status"},"student_ms":{"type":"integer","title":"Student Ms"},"elapsed_ms":{"type":"integer","title":"Elapsed Ms"},"clock_running":{"type":"boolean","title":"Clock Running"},"last_seq":{"type":"integer","title":"Last Seq"},"events":{"items":{"$ref":"#/components/schemas/EventOut"},"type":"array","title":"Events"},"docs":{"anyOf":[{"items":{"$ref":"#/components/schemas/DocCard"},"type":"array"},{"type":"null"}],"title":"Docs"},"actions":{"anyOf":[{"items":{"$ref":"#/components/schemas/ActionCard"},"type":"array"},{"type":"null"}],"title":"Actions"},"counters":{"anyOf":[{"items":{"$ref":"#/components/schemas/CounterBalance"},"type":"array"},{"type":"null"}],"title":"Counters"}},"type":"object","required":["status","student_ms","elapsed_ms","clock_running","last_seq","events"],"title":"FollowOut","description":"What a group member following an attempt needs since their last look:\nthe clock, whether it is still live, and the rows they may see. `last_seq`\ncounts every row, seen or not, so the next look starts after them."},"ForkPlan":{"properties":{"at_seq":{"type":"integer","minimum":0.0,"title":"At Seq"},"seed_pack":{"$ref":"#/components/schemas/SeedPack"},"lineup":{"anyOf":[{"$ref":"#/components/schemas/Lineup"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["at_seq"],"title":"ForkPlan"},"ForkPoint":{"properties":{"day":{"type":"integer","title":"Day"},"round":{"type":"integer","title":"Round"},"last_seq":{"type":"integer","title":"Last Seq"}},"type":"object","required":["day","round","last_seq"],"title":"ForkPoint"},"ForkPreview":{"properties":{"ok":{"type":"boolean","title":"Ok"},"snapped":{"$ref":"#/components/schemas/ForkPoint"},"note":{"type":"string","title":"Note"},"problems":{"items":{"$ref":"#/components/schemas/Problem"},"type":"array","title":"Problems"},"cache_resets":{"items":{"type":"string"},"type":"array","title":"Cache Resets"},"first_round_worst_usd":{"type":"number","title":"First Round Worst Usd"}},"type":"object","required":["ok","snapped","note","problems","cache_resets","first_round_worst_usd"],"title":"ForkPreview"},"ForkStart":{"properties":{"at_seq":{"type":"integer","minimum":0.0,"title":"At Seq"},"seed_pack":{"$ref":"#/components/schemas/SeedPack"},"lineup":{"anyOf":[{"$ref":"#/components/schemas/Lineup"},{"type":"null"}]},"cost_cap_usd":{"type":"number","maximum":500.0,"minimum":0.0,"title":"Cost Cap Usd"},"mode":{"anyOf":[{"type":"string","enum":["show","test"]},{"type":"null"}],"title":"Mode"},"label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Label"},"start_key":{"type":"string","maxLength":80,"minLength":8,"title":"Start Key"}},"additionalProperties":false,"type":"object","required":["at_seq","cost_cap_usd","start_key"],"title":"ForkStart"},"FromCourse":{"properties":{"class":{"$ref":"#/components/schemas/ClassDetail"},"roster":{"$ref":"#/components/schemas/SyncReport"}},"type":"object","required":["class","roster"],"title":"FromCourse"},"FromCourseIn":{"properties":{"course_id":{"type":"string","maxLength":40,"minLength":1,"title":"Course Id"}},"type":"object","required":["course_id"],"title":"FromCourseIn"},"GiveCaseIn":{"properties":{"class_id":{"type":"string","format":"uuid","title":"Class Id"},"opens_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Opens At"},"closes_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closes At"},"attempts_per_case":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Attempts Per Case","default":1},"overrides":{"additionalProperties":{"type":"integer","maximum":20.0,"minimum":1.0},"propertyNames":{"format":"uuid"},"type":"object","title":"Overrides"},"in_groups":{"type":"boolean","title":"In Groups","default":false},"mode":{"type":"string","enum":["standard","presentation_viva"],"title":"Mode","default":"standard"},"upload_deadline":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Upload Deadline"},"qa_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Qa Minutes"},"answer_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Answer Seconds"},"video_retention_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Retention Days"},"case_id":{"type":"string","format":"uuid","title":"Case Id"}},"type":"object","required":["class_id","case_id"],"title":"GiveCaseIn","description":"One case given to a class: it goes as a pack of one."},"GiveIn":{"properties":{"class_id":{"type":"string","format":"uuid","title":"Class Id"},"opens_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Opens At"},"closes_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closes At"},"attempts_per_case":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Attempts Per Case","default":1},"overrides":{"additionalProperties":{"type":"integer","maximum":20.0,"minimum":1.0},"propertyNames":{"format":"uuid"},"type":"object","title":"Overrides"},"in_groups":{"type":"boolean","title":"In Groups","default":false},"mode":{"type":"string","enum":["standard","presentation_viva"],"title":"Mode","default":"standard"},"upload_deadline":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Upload Deadline"},"qa_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Qa Minutes"},"answer_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Answer Seconds"},"video_retention_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Retention Days"}},"type":"object","required":["class_id"],"title":"GiveIn"},"GlanceRow":{"properties":{"k":{"type":"string","title":"K"},"v":{"type":"string","title":"V"},"prov":{"anyOf":[{"type":"string","enum":["authored","agent","recorded"]},{"type":"null"}],"title":"Prov"}},"additionalProperties":false,"type":"object","required":["k","v"],"title":"GlanceRow"},"GradeIn":{"properties":{"submission":{"type":"string","maxLength":300,"title":"Submission","default":"all"}},"type":"object","title":"GradeIn"},"GradeJobOut":{"properties":{"status":{"type":"string","title":"Status"},"attempts":{"type":"integer","title":"Attempts"},"max_attempts":{"type":"integer","title":"Max Attempts"},"queued_at":{"type":"string","format":"date-time","title":"Queued At"},"next_attempt_at":{"type":"string","format":"date-time","title":"Next Attempt At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"}},"type":"object","required":["status","attempts","max_attempts","queued_at","next_attempt_at","finished_at","last_error"],"title":"GradeJobOut"},"GradeMathsReview":{"properties":{"version":{"type":"string","title":"Version","default":"grading-maths-review.2"},"model":{"type":"string","title":"Model","default":""},"key_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Key Revision"},"turns":{"items":{"$ref":"#/components/schemas/MathsReviewTurn"},"type":"array","title":"Turns"},"cost_usd":{"type":"number","title":"Cost Usd","default":0.0}},"type":"object","title":"GradeMathsReview","description":"The review of one attempt. Reused when the same attempt is graded again on the same\nkey revision and review version."},"GradesOut":{"properties":{"class_id":{"type":"string","format":"uuid","title":"Class Id"},"connected":{"type":"boolean","title":"Connected"},"cases":{"items":{"$ref":"#/components/schemas/CaseGradesOut"},"type":"array","title":"Cases"}},"type":"object","required":["class_id","connected","cases"],"title":"GradesOut"},"GradingBundleOut":{"properties":{"attempt_id":{"type":"integer","title":"Attempt Id"},"status":{"type":"string","title":"Status"},"student":{"$ref":"#/components/schemas/app__schemas__grading__PersonOut"},"speaker_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Name"},"case":{"$ref":"#/components/schemas/CaseOut"},"closed_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closed Reason"},"policy_version":{"type":"string","title":"Policy Version"},"criteria":{"items":{"$ref":"#/components/schemas/CriterionGradingOut"},"type":"array","title":"Criteria"},"record":{"items":{"$ref":"#/components/schemas/RecordRow"},"type":"array","title":"Record"},"eligible_seqs":{"items":{"type":"integer"},"type":"array","title":"Eligible Seqs"},"documents":{"items":{"$ref":"#/components/schemas/DocumentOut"},"type":"array","title":"Documents"},"actions":{"items":{"$ref":"#/components/schemas/app__schemas__grading__ActionOut"},"type":"array","title":"Actions"},"signoff":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__grading__SignoffOut"},{"type":"null"}]},"blockers":{"items":{"type":"string"},"type":"array","title":"Blockers"},"timeline":{"items":{"$ref":"#/components/schemas/TimelineCard"},"type":"array","title":"Timeline"},"cost_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cost Cents"},"over_budget":{"type":"boolean","title":"Over Budget","default":false},"locks_unchecked":{"type":"boolean","title":"Locks Unchecked","default":false},"working":{"anyOf":[{"$ref":"#/components/schemas/WorkingOut"},{"type":"null"}]},"maths_review":{"anyOf":[{"$ref":"#/components/schemas/GradeMathsReview"},{"type":"null"}]},"maths_disagreements":{"items":{"$ref":"#/components/schemas/MathsDisagreementOut"},"type":"array","title":"Maths Disagreements"},"canvas":{"type":"boolean","title":"Canvas","default":false}},"additionalProperties":false,"type":"object","required":["attempt_id","status","student","case","policy_version","criteria","record","eligible_seqs"],"title":"GradingBundleOut"},"GradingJobOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"type":"string","enum":["queued","running","succeeded","failed","cancelled"],"title":"Status"},"reason":{"type":"string","enum":["close","expiry","redrive","regrade","manual"],"title":"Reason"},"attempts":{"type":"integer","title":"Attempts"},"max_attempts":{"type":"integer","title":"Max Attempts"},"queued_at":{"type":"string","format":"date-time","title":"Queued At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"next_attempt_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Attempt At"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_error_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error Class"}},"additionalProperties":false,"type":"object","required":["id","status","reason","attempts","max_attempts","queued_at"],"title":"GradingJobOut","description":"One grading run: what the machine is doing about an ended attempt."},"GradingNotes":{"properties":{"general":{"type":"string","maxLength":4000,"title":"General","default":""},"criteria":{"additionalProperties":{"type":"string"},"propertyNames":{"format":"uuid"},"type":"object","title":"Criteria"}},"type":"object","title":"GradingNotes","description":"The author's notes to the grader for one case version.\n\nThe rubric is shared across cases and must stay case-agnostic. What matters\n*here* — \"the CBCT decision is the crux of this criterion\", \"short clock,\ndon't penalise the timeline slip\" — is written on the version, one general\nnote and one per criterion. Blank notes are dropped, not stored."},"GroupNameIn":{"properties":{"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"GroupNameIn"},"GroupPerson":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["user_id","name"],"title":"GroupPerson"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HappeningRef":{"properties":{"kind":{"type":"string","enum":["action","event","fact"],"title":"Kind"},"id":{"type":"string","maxLength":64,"minLength":1,"title":"Id"}},"additionalProperties":false,"type":"object","required":["kind","id"],"title":"HappeningRef"},"HintOut":{"properties":{"seq":{"type":"integer","title":"Seq"},"turn":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turn"},"who":{"type":"string","title":"Who"},"line":{"type":"string","title":"Line"}},"additionalProperties":false,"type":"object","required":["seq","who","line"],"title":"HintOut","description":"An actor line that was the clue, and went unused."},"IncludeIn":{"properties":{"seat":{"type":"string","enum":["A","B","chair"],"title":"Seat"},"seq":{"type":"integer","title":"Seq"}},"additionalProperties":false,"type":"object","required":["seat","seq"],"title":"IncludeIn","description":"Bring one cite from a seat the council did not publish into the author's lines."},"InjectBeat":{"properties":{"actor_id":{"type":"string","title":"Actor Id"},"reaction":{"type":"string","title":"Reaction","default":""},"spotlight":{"type":"boolean","title":"Spotlight","default":false}},"type":"object","required":["actor_id"],"title":"InjectBeat","description":"How one panelist takes this news. Injected into that actor's per-turn\ncontext after the event fires — never into the compiled prefix. spotlight:\nthis actor speaks to the event first (at most one per event)."},"InjectCreate":{"properties":{"headline":{"type":"string","minLength":1,"title":"Headline"},"trigger":{"$ref":"#/components/schemas/InjectTrigger","default":{"kind":"elapsed","minutes":10}},"note":{"type":"string","title":"Note","default":""},"reveal_doc_ids":{"items":{"type":"string"},"type":"array","title":"Reveal Doc Ids","default":[]},"beats":{"items":{"$ref":"#/components/schemas/InjectBeat"},"type":"array","maxItems":4,"title":"Beats","default":[]},"opens":{"anyOf":[{"$ref":"#/components/schemas/EventCondition"},{"type":"null"}]}},"type":"object","required":["headline"],"title":"InjectCreate"},"InjectOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"headline":{"type":"string","title":"Headline"},"trigger":{"$ref":"#/components/schemas/InjectTrigger"},"note":{"type":"string","title":"Note"},"reveal_doc_ids":{"items":{"type":"string"},"type":"array","title":"Reveal Doc Ids"},"beats":{"items":{"$ref":"#/components/schemas/InjectBeat"},"type":"array","title":"Beats","default":[]},"opens":{"anyOf":[{"$ref":"#/components/schemas/EventCondition"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","headline","trigger","note","reveal_doc_ids","created_at"],"title":"InjectOut"},"InjectTrigger":{"properties":{"kind":{"type":"string","const":"elapsed","title":"Kind","default":"elapsed"},"minutes":{"type":"integer","minimum":0.0,"title":"Minutes","default":10}},"type":"object","title":"InjectTrigger","description":"When the event fires: N minutes into the attempt. Deliberately the only\nkind — action-caused reveals live on the action's result. (jsonb underneath,\nso richer triggers can come later without a migration.)"},"InjectUpdate":{"properties":{"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline"},"trigger":{"anyOf":[{"$ref":"#/components/schemas/InjectTrigger"},{"type":"null"}]},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"reveal_doc_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Reveal Doc Ids"},"beats":{"anyOf":[{"items":{"$ref":"#/components/schemas/InjectBeat"},"type":"array","maxItems":4},{"type":"null"}],"title":"Beats"},"opens":{"anyOf":[{"$ref":"#/components/schemas/EventCondition"},{"type":"null"}]}},"type":"object","title":"InjectUpdate"},"InstitutionOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"}},"type":"object","required":["id","name","slug"],"title":"InstitutionOut"},"InviteIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"role":{"type":"string","enum":["admin","contributor","reviewer"],"title":"Role"},"github_username":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9](?:[A-Za-z0-9-]{0,37}[A-Za-z0-9])?$"},{"type":"null"}],"title":"Github Username"}},"additionalProperties":false,"type":"object","required":["email","role"],"title":"InviteIn"},"ItemIn":{"properties":{"id":{"type":"string","maxLength":80,"title":"Id"},"status":{"type":"string","enum":["pass","fail","waived"],"title":"Status"},"evidence":{"type":"string","maxLength":2000,"title":"Evidence","default":""},"expert_words":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Expert Words"}},"type":"object","required":["id","status"],"title":"ItemIn"},"JobListItemOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"status":{"type":"string","enum":["queued","running","succeeded","failed","cancelled"],"title":"Status"},"reason":{"type":"string","enum":["close","expiry","redrive","regrade","manual"],"title":"Reason"},"attempts":{"type":"integer","title":"Attempts"},"max_attempts":{"type":"integer","title":"Max Attempts"},"queued_at":{"type":"string","format":"date-time","title":"Queued At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"next_attempt_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Attempt At"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"last_error_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error Class"},"attempt_id":{"type":"integer","title":"Attempt Id"}},"additionalProperties":false,"type":"object","required":["id","status","reason","attempts","max_attempts","queued_at","attempt_id"],"title":"JobListItemOut"},"JointDecision":{"properties":{"choice":{"type":"string","enum":["a","b","merge","both","disagree"],"title":"Choice"},"note":{"type":"string","title":"Note","default":""}},"additionalProperties":false,"type":"object","required":["choice"],"title":"JointDecision"},"JsonEdit":{"properties":{"json":{"additionalProperties":true,"type":"object","title":"Json"},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Note"}},"type":"object","required":["json"],"title":"JsonEdit"},"KeptCase":{"properties":{"class_id":{"type":"string","format":"uuid","title":"Class Id"},"class_name":{"type":"string","title":"Class Name"},"case_title":{"type":"string","title":"Case Title"}},"type":"object","required":["class_id","class_name","case_title"],"title":"KeptCase"},"KeyIn":{"properties":{"key":{"type":"string","maxLength":400,"minLength":8,"title":"Key"}},"type":"object","required":["key"],"title":"KeyIn"},"LandscapeGroup":{"properties":{"name":{"type":"string","title":"Name"},"entries":{"items":{"$ref":"#/components/schemas/ResearchEntry"},"type":"array","title":"Entries","default":[]}},"type":"object","required":["name"],"title":"LandscapeGroup"},"LeftInCanvas":{"properties":{"link_id":{"type":"string","format":"uuid","title":"Link Id"},"title":{"type":"string","title":"Title"},"canvas_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canvas Url"},"started":{"type":"boolean","title":"Started"},"kept":{"type":"boolean","title":"Kept"},"line":{"type":"string","title":"Line"}},"type":"object","required":["link_id","title","canvas_url","started","kept","line"],"title":"LeftInCanvas","description":"A case no longer in any of the class's packs whose Canvas assignment is\nstill there, published."},"LeftOut":{"properties":{"class_id":{"type":"string","format":"uuid","title":"Class Id"},"cases":{"items":{"$ref":"#/components/schemas/LeftInCanvas"},"type":"array","title":"Cases"}},"type":"object","required":["class_id","cases"],"title":"LeftOut"},"LessonsIn":{"properties":{"excluded":{"items":{"type":"string"},"type":"array","maxItems":200,"title":"Excluded"}},"type":"object","title":"LessonsIn"},"Lineup":{"properties":{"cast":{"additionalProperties":{"type":"string"},"type":"object","title":"Cast"},"director":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Director"},"judge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Judge"},"memory":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Memory"}},"additionalProperties":false,"type":"object","required":["cast"],"title":"Lineup","description":"Who plays whom. Every character is cast explicitly: no silent defaults."},"LinkIn":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"next":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Next"}},"type":"object","required":["email"],"title":"LinkIn"},"ListIn":{"properties":{"value":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},{"items":{"type":"string"},"type":"array"}],"title":"Value"},"renames":{"additionalProperties":{"type":"string"},"type":"object","title":"Renames","default":{}}},"type":"object","required":["value"],"title":"ListIn"},"Listed":{"properties":{"roster_id":{"type":"string","format":"uuid","title":"Roster Id"},"email":{"type":"string","title":"Email"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["roster_id","email","name"],"title":"Listed"},"Live":{"properties":{"status":{"type":"string","enum":["queued","running","stopping","stopped","completed","failed","died"],"title":"Status"},"clock":{"anyOf":[{"$ref":"#/components/schemas/Clock"},{"type":"null"}]},"last_seq":{"type":"integer","title":"Last Seq"},"spend_usd":{"type":"number","title":"Spend Usd"},"cost_cap_usd":{"type":"number","title":"Cost Cap Usd"},"thinking":{"items":{"type":"string"},"type":"array","title":"Thinking"},"heartbeat_age_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heartbeat Age S"},"stop_requested":{"anyOf":[{"type":"string","enum":["after_round","now"]},{"type":"null"}],"title":"Stop Requested"}},"type":"object","required":["status","clock","last_seq","spend_usd","cost_cap_usd","thinking","heartbeat_age_s","stop_requested"],"title":"Live","description":"Polled every 2 s while a run plays."},"LiveAttempt":{"properties":{"attempt_id":{"type":"integer","title":"Attempt Id"},"driver_name":{"type":"string","title":"Driver Name"},"you_drive":{"type":"boolean","title":"You Drive"}},"type":"object","required":["attempt_id","driver_name","you_drive"],"title":"LiveAttempt","description":"The caller's live solo attempt or the live group attempt they sit."},"LoginOut":{"properties":{"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"},"created":{"type":"boolean","title":"Created"}},"type":"object","required":["email","name","role","password","created"],"title":"LoginOut"},"LoginRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"LoginResponse":{"properties":{"user":{"$ref":"#/components/schemas/UserOut"}},"type":"object","required":["user"],"title":"LoginResponse"},"LogoPick":{"properties":{"url":{"type":"string","maxLength":2000000,"title":"Url"}},"type":"object","required":["url"],"title":"LogoPick"},"Mark":{"properties":{"target":{"type":"string","title":"Target"},"family":{"type":"string","enum":["turn","search","actorTurn","boundary","env"],"title":"Family"},"verdict":{"type":"string","enum":["strong","weak","outofbrief","useful","badquery","wrongtool","needless","degraded","recovered","decided","fair","unfair"],"title":"Verdict"},"why":{"type":"string","minLength":1,"title":"Why"},"detail":{"$ref":"#/components/schemas/MarkDetail"},"id":{"type":"string","title":"Id"},"rev":{"type":"string","enum":["A","B"],"title":"Rev"},"seq":{"type":"integer","title":"Seq"}},"additionalProperties":false,"type":"object","required":["target","family","verdict","why","id","rev","seq"],"title":"Mark"},"MarkCite":{"properties":{"slide":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Slide","description":"A slide number, from 1."},"from_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"From Seconds","description":"Start of a stretch of the recording, in seconds."},"to_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"To Seconds","description":"End of that stretch, in seconds."}},"additionalProperties":false,"type":"object","title":"MarkCite","description":"One slide, or one stretch of the recording in seconds; never both."},"MarkDetail":{"properties":{"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"cause":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cause"},"options":{"anyOf":[{"items":{"$ref":"#/components/schemas/OptionRow"},"type":"array"},{"type":"null"}],"title":"Options"},"choice":{"anyOf":[{"type":"string","enum":["dominant","several"]},{"type":"null"}],"title":"Choice"},"actions":{"anyOf":[{"items":{"$ref":"#/components/schemas/OptionRow"},"type":"array"},{"type":"null"}],"title":"Actions"},"recoverable":{"anyOf":[{"type":"string","enum":["yes","no"]},{"type":"null"}],"title":"Recoverable"},"recovery":{"anyOf":[{"items":{"$ref":"#/components/schemas/RecoveryStep"},"type":"array"},{"type":"null"}],"title":"Recovery"},"instead":{"anyOf":[{"items":{"$ref":"#/components/schemas/RecoveryStep"},"type":"array"},{"type":"null"}],"title":"Instead"},"reopen":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Reopen"},"taken":{"anyOf":[{"type":"string","enum":["yes","no"]},{"type":"null"}],"title":"Taken"},"outcome":{"anyOf":[{"type":"string","enum":["won","lost"]},{"type":"null"}],"title":"Outcome"}},"additionalProperties":false,"type":"object","title":"MarkDetail"},"MarkInput":{"properties":{"target":{"type":"string","title":"Target"},"family":{"type":"string","enum":["turn","search","actorTurn","boundary","env"],"title":"Family"},"verdict":{"type":"string","enum":["strong","weak","outofbrief","useful","badquery","wrongtool","needless","degraded","recovered","decided","fair","unfair"],"title":"Verdict"},"why":{"type":"string","minLength":1,"title":"Why"},"detail":{"$ref":"#/components/schemas/MarkDetail"}},"additionalProperties":false,"type":"object","required":["target","family","verdict","why"],"title":"MarkInput","description":"What the composer sends. Upserts by target for the acting reviewer."},"MarkSummaryOut":{"properties":{"status":{"type":"string","title":"Status"},"total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total"},"out_of":{"type":"integer","title":"Out Of"},"scores":{"items":{"$ref":"#/components/schemas/ScoreOut"},"type":"array","title":"Scores"}},"type":"object","required":["status","total","out_of","scores"],"title":"MarkSummaryOut","description":"A mark at a glance, for the professor. status: for the presentation, as on\nits full mark (Status); for a student's viva, marking (with the council), draft\n(marked, waiting for the professor's sign-off) or signed_off (signed and\nreleased on the grading desk)."},"MathsDisagreementOut":{"properties":{"seq":{"type":"integer","title":"Seq"},"said":{"type":"string","title":"Said"},"inflight":{"type":"string","title":"Inflight"},"review":{"type":"string","title":"Review"}},"additionalProperties":false,"type":"object","required":["seq","said","inflight","review"],"title":"MathsDisagreementOut","description":"A number the in-flight check and the maths review read differently, for the desk."},"MathsReviewFinding":{"properties":{"said":{"type":"string","maxLength":200,"title":"Said"},"what":{"type":"string","maxLength":200,"title":"What"},"quantity":{"type":"string","maxLength":120,"title":"Quantity","default":""},"source":{"type":"string","enum":["student","document","panel"],"title":"Source"},"situation":{"type":"string","maxLength":300,"title":"Situation","default":""},"formula":{"type":"string","enum":["matches","differs","not_shown","not_in_key"],"title":"Formula"},"case_formula":{"type":"string","maxLength":300,"title":"Case Formula","default":""},"inputs":{"items":{"$ref":"#/components/schemas/MathsReviewInput"},"type":"array","maxItems":12,"title":"Inputs"},"arithmetic":{"type":"string","enum":["right","wrong","not_judged"],"title":"Arithmetic"},"case_value":{"type":"string","maxLength":120,"title":"Case Value","default":""},"from_their_inputs":{"type":"string","maxLength":120,"title":"From Their Inputs","default":""},"what_if_sensible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"What If Sensible"},"what_if_note":{"type":"string","maxLength":300,"title":"What If Note","default":""},"conclusion_rests_on_it":{"type":"boolean","title":"Conclusion Rests On It","default":false},"key_vs_documents":{"type":"string","maxLength":300,"title":"Key Vs Documents","default":""},"unsupported":{"type":"string","maxLength":300,"title":"Unsupported","default":""},"confidence":{"type":"string","enum":["normal","lower"],"title":"Confidence","default":"normal"},"working":{"items":{"type":"string"},"type":"array","maxItems":6,"title":"Working"}},"type":"object","required":["said","what","source","formula","arithmetic"],"title":"MathsReviewFinding","description":"One number, formula or worked result the student stated or used on the turn."},"MathsReviewInput":{"properties":{"name":{"type":"string","maxLength":120,"title":"Name"},"value":{"type":"string","maxLength":120,"title":"Value"},"kind":{"type":"string","enum":["case","what_if","misquoted","unknown"],"title":"Kind"},"case_value":{"type":"string","maxLength":120,"title":"Case Value","default":""}},"type":"object","required":["name","value","kind"],"title":"MathsReviewInput","description":"One value that went into the student's number."},"MathsReviewTurn":{"properties":{"seq":{"type":"integer","minimum":1.0,"title":"Seq"},"status":{"type":"string","enum":["reviewed","no_maths","not_reviewed"],"title":"Status"},"reason":{"type":"string","maxLength":300,"title":"Reason","default":""},"summary":{"type":"string","maxLength":300,"title":"Summary","default":""},"findings":{"items":{"$ref":"#/components/schemas/MathsReviewFinding"},"type":"array","maxItems":12,"title":"Findings"}},"type":"object","required":["seq","status"],"title":"MathsReviewTurn"},"MediaOut":{"properties":{"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"video_url":{"type":"string","title":"Video Url"},"video_content_type":{"type":"string","title":"Video Content Type"},"slides":{"items":{"$ref":"#/components/schemas/Slide"},"type":"array","title":"Slides"}},"type":"object","required":["expires_at","video_url","video_content_type","slides"],"title":"MediaOut","description":"Links to the group's handed-in files, good until expires_at."},"Member":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"viva_started":{"type":"boolean","title":"Viva Started","default":false},"viva_attempt_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Viva Attempt Id"},"viva_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Viva Status"},"viva_mark":{"anyOf":[{},{"type":"null"}],"title":"Viva Mark"}},"type":"object","required":["id","name"],"title":"Member"},"MemberChange":{"properties":{"brief":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brief"},"goal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal"}},"additionalProperties":false,"type":"object","title":"MemberChange"},"MemberOut":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"email":{"type":"string","title":"Email"},"viva_attempt_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Viva Attempt Id"},"viva_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Viva Status"},"viva_mark":{"anyOf":[{"$ref":"#/components/schemas/MarkSummaryOut"},{"type":"null"}]}},"type":"object","required":["user_id","name","email"],"title":"MemberOut"},"MemberPatch":{"properties":{"role":{"type":"string","enum":["admin","contributor","reviewer"],"title":"Role"}},"additionalProperties":false,"type":"object","required":["role"],"title":"MemberPatch"},"MemberState":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"look":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Look"},"status":{"type":"string","enum":["in","held","out","waiting"],"title":"Status"},"groups":{"items":{"type":"string"},"type":"array","title":"Groups"},"numbers":{"additionalProperties":{"type":"number"},"type":"object","title":"Numbers"}},"type":"object","required":["id","name","look","status","groups","numbers"],"title":"MemberState"},"ModelAnswerOut":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"body":{"type":"string","title":"Body"}},"additionalProperties":false,"type":"object","required":["body"],"title":"ModelAnswerOut"},"ModelPrice":{"properties":{"id":{"type":"string","title":"Id"},"prompt":{"type":"number","title":"Prompt"},"completion":{"type":"number","title":"Completion"},"cache_read":{"type":"number","title":"Cache Read"},"context_window":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Context Window"}},"type":"object","required":["id","prompt","completion","cache_read","context_window"],"title":"ModelPrice"},"ModelRunIn":{"properties":{"version":{"type":"integer","minimum":1.0,"title":"Version"},"model":{"type":"string","maxLength":120,"pattern":"^[A-Za-z0-9._-]+/[A-Za-z0-9._:~-]+$","title":"Model"},"provider":{"anyOf":[{"type":"string","maxLength":80,"pattern":"^[a-z0-9][a-z0-9._/-]*$"},{"type":"null"}],"title":"Provider"},"agent":{"type":"string","const":"terminus-2","title":"Agent","default":"terminus-2"},"attempts":{"type":"integer","maximum":8.0,"minimum":1.0,"title":"Attempts"},"max_cost_usd":{"type":"number","maximum":1000.0,"exclusiveMinimum":0.0,"title":"Max Cost Usd"},"max_turns":{"type":"integer","maximum":500.0,"minimum":1.0,"title":"Max Turns","default":150},"agent_minutes":{"anyOf":[{"type":"number","maximum":1440.0,"minimum":1.0},{"type":"null"}],"title":"Agent Minutes"},"temperature":{"anyOf":[{"type":"number","maximum":2.0,"minimum":0.0},{"type":"null"}],"title":"Temperature"},"top_p":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Top P"},"max_tokens":{"anyOf":[{"type":"integer","maximum":200000.0,"minimum":1.0},{"type":"null"}],"title":"Max Tokens"}},"additionalProperties":false,"type":"object","required":["version","model","attempts","max_cost_usd"],"title":"ModelRunIn"},"ModelRunOut":{"properties":{"student_model":{"type":"string","title":"Student Model"},"reasoning_effort":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning Effort"},"prompt_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Version"},"turn_cap":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turn Cap"},"clock_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Clock Minutes"},"actor_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Model"},"packet_policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Packet Policy"}},"additionalProperties":false,"type":"object","required":["student_model"],"title":"ModelRunOut","description":"How a model sat an attempt: the model and the knobs, as the run recorded them."},"MyAttemptOut":{"properties":{"attempt_id":{"type":"integer","title":"Attempt Id"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"case_title":{"type":"string","title":"Case Title"},"version":{"type":"integer","title":"Version"},"status":{"type":"string","title":"Status"},"released":{"type":"boolean","title":"Released"}},"additionalProperties":false,"type":"object","required":["attempt_id","assignment_id","case_title","version","status","released"],"title":"MyAttemptOut","description":"One of the student's own attempts, as the home page lists it."},"MyGroupIn":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":60,"minLength":1},{"type":"null"}],"title":"Name"},"member_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}],"title":"Member Ids"}},"type":"object","title":"MyGroupIn"},"NeedsEmail":{"properties":{"canvas_user_id":{"type":"string","title":"Canvas User Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["canvas_user_id","name"],"title":"NeedsEmail","description":"A student of the class's Canvas course whom Canvas gave no email."},"NewCompany":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"website":{"type":"string","maxLength":300,"title":"Website","default":""}},"type":"object","required":["name"],"title":"NewCompany"},"NewDraftOut":{"properties":{"version_id":{"type":"string","format":"uuid","title":"Version Id"},"version":{"type":"integer","title":"Version"}},"type":"object","required":["version_id","version"],"title":"NewDraftOut"},"NewGroupIn":{"properties":{"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"},"member_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"title":"Member Ids"}},"type":"object","required":["name"],"title":"NewGroupIn"},"NewPitch":{"properties":{"clientName":{"type":"string","maxLength":120,"minLength":1,"title":"Clientname"},"shortName":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Shortname"},"website":{"type":"string","maxLength":300,"minLength":3,"title":"Website"},"notes":{"type":"string","maxLength":20000,"title":"Notes","default":""},"links":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Links"},"pastedText":{"type":"string","maxLength":60000,"title":"Pastedtext","default":""},"start":{"type":"boolean","title":"Start","default":false},"mode":{"type":"string","pattern":"^(company|academic)$","title":"Mode","default":"company"}},"type":"object","required":["clientName","website"],"title":"NewPitch"},"NoteCreateIn":{"properties":{"annotation_object_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Annotation Object Id"},"candidate_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Candidate Id"},"phase":{"type":"string","enum":["blind","peer","final"],"title":"Phase"},"note_kind":{"type":"string","enum":["clarification","additional_reasoning","disagreement","limitation","evidence_note"],"title":"Note Kind"},"body":{"type":"string","maxLength":20000,"minLength":1,"title":"Body"}},"additionalProperties":false,"type":"object","required":["phase","note_kind","body"],"title":"NoteCreateIn"},"NoteDraftOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"annotation_object_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Annotation Object Id"},"candidate_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Candidate Id"},"phase":{"type":"string","enum":["blind","peer","final"],"title":"Phase"},"note_kind":{"type":"string","enum":["clarification","additional_reasoning","disagreement","limitation","evidence_note"],"title":"Note Kind"},"state":{"type":"string","enum":["draft","locked"],"title":"State"},"body":{"type":"string","title":"Body"},"capabilities":{"$ref":"#/components/schemas/DraftCapabilities"}},"additionalProperties":false,"type":"object","required":["id","annotation_object_id","candidate_id","phase","note_kind","state","body","capabilities"],"title":"NoteDraftOut"},"NoteRow":{"properties":{"seq":{"type":"integer","title":"Seq"},"doc":{"type":"string","title":"Doc"},"data":{"type":"string","title":"Data"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"at":{"type":"string","format":"date-time","title":"At"}},"type":"object","required":["seq","doc","data","user_id","at"],"title":"NoteRow"},"NoteSaved":{"properties":{"seq":{"type":"integer","title":"Seq"}},"type":"object","required":["seq"],"title":"NoteSaved"},"NoteUpdateIn":{"properties":{"note_kind":{"type":"string","enum":["clarification","additional_reasoning","disagreement","limitation","evidence_note"],"title":"Note Kind"},"body":{"type":"string","maxLength":20000,"minLength":1,"title":"Body"}},"additionalProperties":false,"type":"object","required":["note_kind","body"],"title":"NoteUpdateIn"},"NotesOut":{"properties":{"rows":{"items":{"$ref":"#/components/schemas/NoteRow"},"type":"array","title":"Rows"},"more":{"type":"boolean","title":"More"}},"type":"object","required":["rows","more"],"title":"NotesOut","description":"The updates after the reader's cursor, in order; `more` when a page\nstopped short of the newest."},"OptionRow":{"properties":{"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"arg":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arg"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"args":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Args"},"tier":{"type":"string","enum":["best","acceptable","wrong"],"title":"Tier"}},"additionalProperties":false,"type":"object","required":["tier"],"title":"OptionRow"},"OrderIn":{"properties":{"case_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":30,"title":"Case Ids"}},"type":"object","required":["case_ids"],"title":"OrderIn","description":"Every case of the pack, in the new order."},"OriginalityIn":{"properties":{"text":{"anyOf":[{"type":"string","maxLength":200000,"minLength":1},{"type":"null"}],"title":"Text"}},"additionalProperties":false,"type":"object","title":"OriginalityIn","description":"Text to check instead of the draft (not saved); leave out to check the draft."},"OutcomeOut":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"school":{"type":"boolean","title":"School","default":false}},"type":"object","required":["id","title"],"title":"OutcomeOut"},"OutcomesOut":{"properties":{"outcomes":{"items":{"$ref":"#/components/schemas/OutcomeOut"},"type":"array","title":"Outcomes"}},"type":"object","required":["outcomes"],"title":"OutcomesOut"},"PackCase":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"criteria":{"type":"integer","title":"Criteria"},"presentation_criteria":{"type":"integer","title":"Presentation Criteria","default":0},"position":{"type":"integer","title":"Position"}},"type":"object","required":["id","title","criteria","position"],"title":"PackCase"},"PackClass":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"class_id":{"type":"string","format":"uuid","title":"Class Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"name":{"type":"string","title":"Name"},"opens_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Opens At"},"closes_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closes At"},"attempts_per_case":{"type":"integer","title":"Attempts Per Case"},"in_groups":{"type":"boolean","title":"In Groups"},"mode":{"type":"string","title":"Mode"},"upload_deadline":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Upload Deadline"},"viva_settings":{"additionalProperties":true,"type":"object","title":"Viva Settings"},"students":{"type":"integer","title":"Students"},"not_signed_in":{"type":"integer","title":"Not Signed In"},"cases":{"items":{"$ref":"#/components/schemas/PackClassCase"},"type":"array","title":"Cases"},"canvas_course_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canvas Course Id"}},"type":"object","required":["id","class_id","label","name","opens_at","closes_at","attempts_per_case","in_groups","mode","upload_deadline","viva_settings","students","not_signed_in","cases"],"title":"PackClass","description":"The pack as one class has it."},"PackClassCase":{"properties":{"case_id":{"type":"string","format":"uuid","title":"Case Id"},"title":{"type":"string","title":"Title"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"attempts_allowed":{"type":"integer","title":"Attempts Allowed"},"started":{"type":"integer","title":"Started"},"signed_off":{"type":"integer","title":"Signed Off"}},"type":"object","required":["case_id","title","assignment_id","attempts_allowed","started","signed_off"],"title":"PackClassCase"},"PackDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"cases":{"items":{"$ref":"#/components/schemas/PackCase"},"type":"array","title":"Cases"},"classes":{"items":{"$ref":"#/components/schemas/PackClass"},"type":"array","title":"Classes"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","title","description","cases","classes","created_at","updated_at"],"title":"PackDetail"},"PackGiven":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"class_id":{"type":"string","format":"uuid","title":"Class Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"name":{"type":"string","title":"Name"},"opens_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Opens At"},"closes_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closes At"},"in_groups":{"type":"boolean","title":"In Groups"},"mode":{"type":"string","title":"Mode"},"upload_deadline":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Upload Deadline"},"viva_settings":{"additionalProperties":true,"type":"object","title":"Viva Settings"},"students":{"type":"integer","title":"Students"},"not_signed_in":{"type":"integer","title":"Not Signed In"},"started":{"type":"integer","title":"Started"},"signed_off":{"type":"integer","title":"Signed Off"}},"type":"object","required":["id","class_id","label","name","opens_at","closes_at","in_groups","mode","upload_deadline","viva_settings","students","not_signed_in","started","signed_off"],"title":"PackGiven"},"PackIn":{"properties":{"title":{"type":"string","maxLength":120,"minLength":1,"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"},"case_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":30,"title":"Case Ids"}},"type":"object","required":["title"],"title":"PackIn"},"PackItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"cases":{"type":"integer","title":"Cases"},"classes":{"items":{"$ref":"#/components/schemas/PackGiven"},"type":"array","title":"Classes"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","title","description","cases","classes","updated_at"],"title":"PackItem"},"PackPatch":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Description"}},"type":"object","title":"PackPatch"},"PadCheckLineOut":{"properties":{"line_id":{"type":"string","title":"Line Id"},"verdict":{"type":"string","enum":["agrees","follows","wrong","formula_differs"],"title":"Verdict"},"line_number":{"type":"integer","title":"Line Number","default":0},"theirs":{"type":"string","title":"Theirs","default":""},"case_value":{"type":"string","title":"Case Value","default":""},"chain":{"items":{"$ref":"#/components/schemas/PadCheckStepOut"},"type":"array","title":"Chain","default":[]}},"type":"object","required":["line_id","verdict"],"title":"PadCheckLineOut","description":"What the check found in one shared pad line, as the student may see it: a line that\nagrees carries only its verdict; one that follows, differs or gets there by another\nformula carries their number, the case's, and the case's working."},"PadCheckOut":{"properties":{"student_seq":{"type":"integer","title":"Student Seq"},"lines":{"items":{"$ref":"#/components/schemas/PadCheckLineOut"},"type":"array","title":"Lines"}},"type":"object","required":["student_seq","lines"],"title":"PadCheckOut","description":"The check of the pad lines shared with one student line (`student_seq`)."},"PadCheckSourceV3":{"properties":{"document_id":{"type":"string","maxLength":120,"title":"Document Id","default":""},"document":{"type":"string","maxLength":200,"minLength":1,"title":"Document"},"page":{"type":"integer","minimum":0.0,"title":"Page","default":0}},"additionalProperties":false,"type":"object","required":["document"],"title":"PadCheckSourceV3","description":"Where a case value is printed: a document's page, or the case news."},"PadCheckStepOut":{"properties":{"meaning":{"type":"string","title":"Meaning","default":""},"working":{"type":"string","title":"Working","default":""},"value_text":{"type":"string","title":"Value Text","default":""},"sources":{"items":{"$ref":"#/components/schemas/PadCheckSourceV3"},"type":"array","title":"Sources","default":[]},"theirs":{"type":"boolean","title":"Theirs","default":false}},"type":"object","title":"PadCheckStepOut","description":"One line of the case's working behind a checked pad line: what it is in plain\nwords, an input's value or a result's working with its value, and where its numbers\nare printed. theirs: their own number, taken as given."},"PadEvaluateIn":{"properties":{"lines":{"items":{"$ref":"#/components/schemas/PadLineV3"},"type":"array","maxItems":20,"title":"Lines"}},"type":"object","required":["lines"],"title":"PadEvaluateIn","description":"The pad as the student has it now, saved or not; nothing is saved."},"PadFigureBindingV3":{"properties":{"kind":{"type":"string","const":"figure","title":"Kind"},"figure_key":{"type":"string","maxLength":200,"minLength":1,"title":"Figure Key"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"unit":{"type":"string","maxLength":80,"title":"Unit","default":""}},"additionalProperties":false,"type":"object","required":["kind","figure_key"],"title":"PadFigureBindingV3","description":"A name set to a case figure. Value and unit are the approved sheet's, as the pad\nused them (unit in calculator words); no value when the figure is not one number."},"PadFigureOut":{"properties":{"key":{"type":"string","title":"Key"},"ref":{"type":"string","title":"Ref"},"label":{"type":"string","title":"Label"},"value_text":{"type":"string","title":"Value Text"},"unit":{"type":"string","title":"Unit"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"symbol":{"type":"string","title":"Symbol","default":""},"kind":{"type":"string","title":"Kind","default":""},"document":{"type":"string","title":"Document"},"page":{"type":"integer","title":"Page"}},"type":"object","required":["key","ref","label","value_text","unit","value","document","page"],"title":"PadFigureOut","description":"An approved case figure the pad can use, from a document the student can see."},"PadLineBindingV3":{"properties":{"kind":{"type":"string","const":"line","title":"Kind"},"line_id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","title":"Line Id"}},"additionalProperties":false,"type":"object","required":["kind","line_id"],"title":"PadLineBindingV3","description":"A name set to another line's result."},"PadLineContentV3":{"properties":{"name":{"type":"string","maxLength":60,"title":"Name","default":""},"formula":{"type":"string","maxLength":400,"minLength":1,"title":"Formula"},"latex":{"type":"string","maxLength":2000,"title":"Latex","default":""},"bindings":{"additionalProperties":{"oneOf":[{"$ref":"#/components/schemas/PadFigureBindingV3"},{"$ref":"#/components/schemas/PadNumberBindingV3"},{"$ref":"#/components/schemas/PadLineBindingV3"}],"discriminator":{"propertyName":"kind","mapping":{"figure":"#/components/schemas/PadFigureBindingV3","line":"#/components/schemas/PadLineBindingV3","number":"#/components/schemas/PadNumberBindingV3"}}},"type":"object","maxProperties":12,"title":"Bindings"}},"additionalProperties":false,"type":"object","required":["formula"],"title":"PadLineContentV3","description":"What one line of the student's working pad says: ``name = formula``, in the\ncalculator's formula form, with what each name in it is set to. An empty name: the\nline only shows its result. ``latex`` is the line as their editor shows it."},"PadLineOut":{"properties":{"line_id":{"type":"string","title":"Line Id"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"unit":{"type":"string","title":"Unit","default":""},"value_text":{"type":"string","title":"Value Text","default":""},"working_latex":{"type":"string","title":"Working Latex","default":""},"error":{"type":"string","title":"Error","default":""},"name":{"type":"string","title":"Name"},"formula":{"type":"string","title":"Formula"},"latex":{"type":"string","title":"Latex"},"bindings":{"additionalProperties":{"oneOf":[{"$ref":"#/components/schemas/PadFigureBindingV3"},{"$ref":"#/components/schemas/PadNumberBindingV3"},{"$ref":"#/components/schemas/PadLineBindingV3"}],"discriminator":{"propertyName":"kind","mapping":{"figure":"#/components/schemas/PadFigureBindingV3","line":"#/components/schemas/PadLineBindingV3","number":"#/components/schemas/PadNumberBindingV3"}}},"type":"object","title":"Bindings"}},"type":"object","required":["line_id","name","formula","latex","bindings"],"title":"PadLineOut","description":"A saved pad line with its result."},"PadLineV3":{"properties":{"name":{"type":"string","maxLength":60,"title":"Name","default":""},"formula":{"type":"string","maxLength":400,"minLength":1,"title":"Formula"},"latex":{"type":"string","maxLength":2000,"title":"Latex","default":""},"bindings":{"additionalProperties":{"oneOf":[{"$ref":"#/components/schemas/PadFigureBindingV3"},{"$ref":"#/components/schemas/PadNumberBindingV3"},{"$ref":"#/components/schemas/PadLineBindingV3"}],"discriminator":{"propertyName":"kind","mapping":{"figure":"#/components/schemas/PadFigureBindingV3","line":"#/components/schemas/PadLineBindingV3","number":"#/components/schemas/PadNumberBindingV3"}}},"type":"object","maxProperties":12,"title":"Bindings"},"line_id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","title":"Line Id"}},"additionalProperties":false,"type":"object","required":["formula","line_id"],"title":"PadLineV3","description":"One line of the working pad, by its id."},"PadNumberBindingV3":{"properties":{"kind":{"type":"string","const":"number","title":"Kind"},"value":{"type":"number","title":"Value"},"unit":{"type":"string","maxLength":80,"title":"Unit","default":""}},"additionalProperties":false,"type":"object","required":["kind","value"],"title":"PadNumberBindingV3","description":"A name set to a number the student typed, with its unit as they wrote it."},"PadOut":{"properties":{"lines":{"items":{"$ref":"#/components/schemas/PadLineOut"},"type":"array","title":"Lines"}},"type":"object","required":["lines"],"title":"PadOut"},"PadResultOut":{"properties":{"line_id":{"type":"string","title":"Line Id"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"unit":{"type":"string","title":"Unit","default":""},"value_text":{"type":"string","title":"Value Text","default":""},"working_latex":{"type":"string","title":"Working Latex","default":""},"error":{"type":"string","title":"Error","default":""}},"type":"object","required":["line_id"],"title":"PadResultOut","description":"One pad line worked out: its value, or why it could not be, in plain words."},"PadSharedLineV3":{"properties":{"name":{"type":"string","maxLength":60,"title":"Name","default":""},"formula":{"type":"string","maxLength":400,"minLength":1,"title":"Formula"},"latex":{"type":"string","maxLength":2000,"title":"Latex","default":""},"bindings":{"additionalProperties":{"oneOf":[{"$ref":"#/components/schemas/PadFigureBindingV3"},{"$ref":"#/components/schemas/PadNumberBindingV3"},{"$ref":"#/components/schemas/PadLineBindingV3"}],"discriminator":{"propertyName":"kind","mapping":{"figure":"#/components/schemas/PadFigureBindingV3","line":"#/components/schemas/PadLineBindingV3","number":"#/components/schemas/PadNumberBindingV3"}}},"type":"object","maxProperties":12,"title":"Bindings"},"line_id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","title":"Line Id"},"line_number":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Line Number"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"unit":{"type":"string","maxLength":80,"title":"Unit","default":""},"value_text":{"type":"string","maxLength":200,"title":"Value Text","default":""},"working_latex":{"type":"string","maxLength":4000,"title":"Working Latex","default":""},"error":{"type":"string","maxLength":300,"title":"Error","default":""}},"additionalProperties":false,"type":"object","required":["formula","line_id","line_number"],"title":"PadSharedLineV3","description":"A pad line as it stood when the student shared it, worked out then: the copy on\ntheir utterance that the check, the grading desk and the room read, whatever the pad\nsays later. A line that could not be worked out carries its error instead of a value."},"PageChunks":{"properties":{"page":{"type":"integer","title":"Page"},"chunks":{"items":{"$ref":"#/components/schemas/BrowseChunk"},"type":"array","title":"Chunks"}},"type":"object","required":["page","chunks"],"title":"PageChunks"},"Panel":{"properties":{"id":{"type":"string","title":"Id"},"day":{"type":"integer","title":"Day"},"round":{"type":"integer","title":"Round"},"seq_from":{"type":"integer","title":"Seq From"},"seq_to":{"type":"integer","title":"Seq To"},"key_seq":{"type":"integer","title":"Key Seq"},"weight":{"type":"integer","title":"Weight"},"layer":{"type":"string","enum":["public","backroom","notes","deals","confessionals","director"],"title":"Layer"},"kind":{"type":"string","title":"Kind"},"where":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Where"},"action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action"},"scene":{"anyOf":[{"$ref":"#/components/schemas/PanelScene"},{"type":"null"}]},"task":{"anyOf":[{"$ref":"#/components/schemas/PanelTask"},{"type":"null"}]},"figures":{"items":{"$ref":"#/components/schemas/PanelFigure"},"type":"array","title":"Figures"},"line":{"anyOf":[{"$ref":"#/components/schemas/PanelLine"},{"type":"null"}]},"note":{"anyOf":[{"$ref":"#/components/schemas/PanelLine"},{"type":"null"}]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caption"}},"type":"object","required":["id","day","round","seq_from","seq_to","key_seq","weight","layer","kind","where","figures","line","note","caption"],"title":"Panel"},"PanelChoice":{"properties":{"member":{"type":"string","title":"Member"},"choice":{"type":"string","title":"Choice"}},"type":"object","required":["member","choice"],"title":"PanelChoice","description":"Wave D: what one character chose in a task, in words."},"PanelFeedbackOut":{"properties":{"actor_name":{"type":"string","minLength":1,"title":"Actor Name"},"text":{"type":"string","minLength":1,"title":"Text"}},"additionalProperties":false,"type":"object","required":["actor_name","text"],"title":"PanelFeedbackOut"},"PanelFigure":{"properties":{"member":{"type":"string","title":"Member"},"look":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Look"},"frame":{"type":"string","enum":["idle","talking","thinking","writing","pleased","angry","shocked","pointing"],"title":"Frame"},"facing":{"type":"string","enum":["left","right"],"title":"Facing"},"speaking":{"type":"boolean","title":"Speaking"}},"type":"object","required":["member","look","frame","facing","speaking"],"title":"PanelFigure"},"PanelLine":{"properties":{"member":{"type":"string","title":"Member"},"text":{"type":"string","title":"Text"},"seq":{"type":"integer","title":"Seq"},"to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To"},"where":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Where"},"mood":{"anyOf":[{"type":"string","enum":["idle","talking","thinking","writing","pleased","angry","shocked","pointing"]},{"type":"null"}],"title":"Mood"}},"type":"object","required":["member","text","seq"],"title":"PanelLine"},"PanelMember":{"properties":{"actor_id":{"type":"string","title":"Actor Id"},"name":{"type":"string","title":"Name"},"archetype":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Archetype"}},"type":"object","required":["actor_id","name"],"title":"PanelMember"},"PanelScene":{"properties":{"meeting":{"type":"string","title":"Meeting"},"number":{"type":"integer","title":"Number"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"}},"type":"object","required":["meeting","number"],"title":"PanelScene","description":"PR 15: the scene a panel is in, so the video pipeline can cut by scene."},"PanelTask":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"beat":{"type":"string","enum":["briefing","choice","result"],"title":"Beat"},"choices":{"items":{"$ref":"#/components/schemas/PanelChoice"},"type":"array","title":"Choices","default":[]},"winners":{"items":{"type":"string"},"type":"array","title":"Winners","default":[]},"losers":{"items":{"type":"string"},"type":"array","title":"Losers","default":[]}},"type":"object","required":["id","name","beat"],"title":"PanelTask","description":"Wave D: a task's beat, when the panel is one of a task's three."},"PaperOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"pages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pages"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"added_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Added By"},"added_at":{"type":"string","format":"date-time","title":"Added At"}},"type":"object","required":["id","name","status","error","pages","size_bytes","added_by","added_at"],"title":"PaperOut","description":"One of the group's papers: its name and where its reading stands. Never\nits appraisal, which is the panel's preparation."},"PaperUploadOut":{"properties":{"paper":{"$ref":"#/components/schemas/PaperOut"},"upload_url":{"type":"string","title":"Upload Url"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"max_bytes":{"type":"integer","title":"Max Bytes"}},"type":"object","required":["paper","upload_url","expires_at","max_bytes"],"title":"PaperUploadOut"},"PapersOut":{"properties":{"papers":{"items":{"$ref":"#/components/schemas/PaperOut"},"type":"array","title":"Papers"},"max_papers":{"type":"integer","title":"Max Papers"},"max_bytes":{"type":"integer","title":"Max Bytes"}},"type":"object","required":["papers","max_papers","max_bytes"],"title":"PapersOut"},"Participant":{"properties":{"kind":{"type":"string","title":"Kind"},"model":{"type":"string","title":"Model"},"effort":{"type":"string","title":"Effort"},"runner":{"type":"string","title":"Runner"},"prompt":{"type":"string","title":"Prompt"},"policy":{"type":"string","title":"Policy"},"note":{"type":"string","title":"Note"}},"additionalProperties":false,"type":"object","required":["kind","model","effort","runner","prompt","policy","note"],"title":"Participant"},"PatternIn":{"properties":{"scope_kind":{"type":"string","title":"Scope Kind"},"scope_value":{"type":"string","maxLength":200,"minLength":1,"title":"Scope Value"},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Note"}},"type":"object","required":["scope_kind","scope_value"],"title":"PatternIn"},"PendingActionRetry":{"properties":{"kind":{"type":"string","const":"action","title":"Kind","default":"action"},"action_id":{"type":"string","title":"Action Id"},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Note"}},"type":"object","required":["action_id"],"title":"PendingActionRetry"},"PendingItemOut":{"properties":{"attempt_id":{"type":"integer","title":"Attempt Id"},"student_name":{"type":"string","title":"Student Name"},"case_title":{"type":"string","title":"Case Title"},"version":{"type":"integer","title":"Version"},"criteria_count":{"type":"integer","title":"Criteria Count"},"job":{"anyOf":[{"$ref":"#/components/schemas/GradingJobOut"},{"type":"null"}]},"calls_done":{"type":"integer","title":"Calls Done"},"calls_expected":{"type":"integer","title":"Calls Expected"}},"additionalProperties":false,"type":"object","required":["attempt_id","student_name","case_title","version","criteria_count","calls_done","calls_expected"],"title":"PendingItemOut","description":"An ended attempt the council has not finished with, and where its run stands."},"PendingTurnRetry":{"properties":{"kind":{"type":"string","const":"turn","title":"Kind","default":"turn"},"client_msg_id":{"type":"string","maxLength":160,"title":"Client Msg Id"},"text":{"type":"string","maxLength":4000,"title":"Text"},"citations":{"items":{"$ref":"#/components/schemas/Citation"},"type":"array","maxItems":6,"title":"Citations"}},"type":"object","required":["client_msg_id","text"],"title":"PendingTurnRetry"},"Person":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["id","name"],"title":"Person"},"PersonaCreate":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"The actor's name: the student sees it, the other actors and the grader read it, and events name the actor by it. Keep it under 160 characters."},"archetype":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Archetype","description":"What drives the personality: the role this person plays, e.g. a cautious CFO. The student sees it by the name; every actor and the reader of each turn read it. Under 160 characters."},"personality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Personality","description":"Who this person is and what they notice first, and why — the lens, the past behind it, a clash with a colleague. The live actor reads all of it every turn; the grader doesn't. At most 600 characters."},"voice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice","description":"How this person speaks (register, pace, habits), for the actor alone; it is not a speech voice. At most 600 characters."},"traits":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Traits","description":"Who this person is and how they push back: background, temperament, values, resistance, each at most 300 characters; other keys are extra traits. In the actor's character every turn."}},"type":"object","required":["name"],"title":"PersonaCreate"},"PersonaOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"archetype":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Archetype"},"personality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Personality"},"voice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice"},"traits":{"additionalProperties":true,"type":"object","title":"Traits"},"usage_count":{"type":"integer","title":"Usage Count"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","name","archetype","personality","voice","traits","usage_count","created_at"],"title":"PersonaOut"},"PersonaUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"archetype":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Archetype"},"personality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Personality"},"voice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice"},"traits":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Traits"}},"type":"object","title":"PersonaUpdate"},"PickableCase":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"criteria":{"type":"integer","title":"Criteria"},"presentation_criteria":{"type":"integer","title":"Presentation Criteria","default":0},"mine":{"type":"boolean","title":"Mine"}},"type":"object","required":["id","title","criteria","mine"],"title":"PickableCase"},"PitchPatch":{"properties":{"clientName":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Clientname"},"shortName":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Shortname"},"website":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Website"},"tagline":{"anyOf":[{"type":"string","maxLength":140},{"type":"null"}],"title":"Tagline"},"signer":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Signer"},"selection":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Selection"},"outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome"},"sentAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sentat"},"outcomeAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Outcomeat"}},"type":"object","title":"PitchPatch"},"PointerIn":{"properties":{"doc_id":{"type":"string","title":"Doc Id"},"page":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page"}},"additionalProperties":false,"type":"object","required":["doc_id"],"title":"PointerIn"},"PointerOut":{"properties":{"doc_id":{"type":"string","title":"Doc Id"},"title":{"type":"string","title":"Title"},"page":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page"},"image":{"type":"boolean","title":"Image","default":false}},"additionalProperties":false,"type":"object","required":["doc_id","title"],"title":"PointerOut","description":"A place in the packet the student should have gone: a document, and a page."},"Preflight":{"properties":{"ok":{"type":"boolean","title":"Ok"},"problems":{"items":{"type":"string"},"type":"array","title":"Problems"},"bots_only":{"type":"boolean","title":"Bots Only"},"first_round_worst_usd":{"type":"number","title":"First Round Worst Usd"},"month_spent_usd":{"type":"number","title":"Month Spent Usd"},"month_committed_usd":{"type":"number","title":"Month Committed Usd"},"month_limit_usd":{"type":"number","title":"Month Limit Usd"},"credit_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Credit Usd"}},"type":"object","required":["ok","problems","bots_only","first_round_worst_usd","month_spent_usd","month_committed_usd","month_limit_usd","credit_usd"],"title":"Preflight"},"PresentationCitationV3":{"properties":{"kind":{"type":"string","enum":["clip","slide","source"],"title":"Kind"},"from_seconds":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"From Seconds"},"to_seconds":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"To Seconds"},"slide":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Slide"},"source_id":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Source Id"},"source_name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Source Name"},"page":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Page"}},"additionalProperties":false,"type":"object","required":["kind"],"title":"PresentationCitationV3","description":"In a presentation viva: what a panel question is about, checked by the server\n(app/presentation/clips.py). A clip of the recording, from and to in seconds,\nsnapped to the speech it overlaps; a slide of the deck, numbered from 1; or a page\nof one of the professor's sources (app/presentation/sources.py), by its id, its\nname as it was then, and its page in the file, numbered from 1."},"PresentationGroupOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"members":{"items":{"$ref":"#/components/schemas/MemberOut"},"type":"array","title":"Members"},"who_did_what":{"additionalProperties":{"type":"string"},"type":"object","title":"Who Did What"},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url"},"video_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Video Seconds"},"transcript":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Transcript"},"brief":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Brief"},"brief_case_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Brief Case Version"},"processing":{"items":{"$ref":"#/components/schemas/StepOut"},"type":"array","title":"Processing"},"can_retry":{"type":"boolean","title":"Can Retry"},"papers":{"items":{"$ref":"#/components/schemas/ProfessorPaperOut"},"type":"array","title":"Papers","default":[]},"presentation_mark":{"anyOf":[{"$ref":"#/components/schemas/MarkSummaryOut"},{"type":"null"}]}},"type":"object","required":["id","assignment_id","name","status","error","members","who_did_what","video_url","video_seconds","transcript","brief","brief_case_version","processing","can_retry"],"title":"PresentationGroupOut"},"PresentationMarksOut":{"properties":{"group_id":{"type":"string","format":"uuid","title":"Group Id"},"group_name":{"type":"string","title":"Group Name"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"case_title":{"type":"string","title":"Case Title"},"status":{"type":"string","enum":["no_criteria","waiting","marking","failed","draft","signed_off"],"title":"Status"},"message":{"type":"string","title":"Message"},"slides":{"type":"integer","title":"Slides"},"recording_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Recording Seconds"},"criteria":{"items":{"$ref":"#/components/schemas/CriterionMarkOut"},"type":"array","title":"Criteria"},"blockers":{"items":{"type":"string"},"type":"array","title":"Blockers"},"signoff":{"anyOf":[{"$ref":"#/components/schemas/app__presentation__marks__SignoffOut"},{"type":"null"}]},"job":{"anyOf":[{"$ref":"#/components/schemas/GradeJobOut"},{"type":"null"}]}},"type":"object","required":["group_id","group_name","assignment_id","case_title","status","message","slides","recording_seconds","criteria","blockers","signoff","job"],"title":"PresentationMarksOut"},"Problem":{"properties":{"path":{"type":"string","title":"Path"},"message":{"type":"string","title":"Message"}},"type":"object","required":["path","message"],"title":"Problem"},"ProfessorPaperOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"pages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pages"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"added_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Added By"},"added_at":{"type":"string","format":"date-time","title":"Added At"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","required":["id","name","status","error","pages","size_bytes","added_by","added_at","url"],"title":"ProfessorPaperOut","description":"One of the group's papers as its professor sees it: with a link to open\nthe PDF, good for MEDIA_TTL, once its file is in."},"ProfessorView":{"properties":{"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"case_title":{"type":"string","title":"Case Title"},"class_name":{"type":"string","title":"Class Name"},"stage":{"type":"string","enum":["forming","uploading","vivas"],"title":"Stage"},"groups_locked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Groups Locked At"},"upload_deadline":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Upload Deadline"},"closes_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closes At"},"settings":{"additionalProperties":true,"type":"object","title":"Settings"},"consent_text":{"type":"string","title":"Consent Text"},"groups":{"items":{"$ref":"#/components/schemas/app__presentation__groups__GroupOut"},"type":"array","title":"Groups"},"no_group":{"items":{"$ref":"#/components/schemas/Person"},"type":"array","title":"No Group"}},"type":"object","required":["assignment_id","case_title","class_name","stage","groups_locked_at","upload_deadline","closes_at","settings","consent_text","groups","no_group"],"title":"ProfessorView","description":"The professor's page for one presentation viva."},"ProjectIn":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,62}$","title":"Slug"}},"additionalProperties":false,"type":"object","required":["name","slug"],"title":"ProjectIn"},"QueueItem":{"properties":{"id":{"type":"string","title":"Id"},"attempt":{"type":"string","title":"Attempt"},"name":{"type":"string","title":"Name"},"steps":{"type":"integer","title":"Steps"},"due":{"type":"string","title":"Due"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action"}},"additionalProperties":false,"type":"object","required":["id","attempt","name","steps","due"],"title":"QueueItem"},"QueueItemOut":{"properties":{"attempt_id":{"type":"integer","title":"Attempt Id"},"student_name":{"type":"string","title":"Student Name"},"case_title":{"type":"string","title":"Case Title"},"version":{"type":"integer","title":"Version"},"closed_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closed Reason"},"criteria_count":{"type":"integer","title":"Criteria Count"},"flags":{"items":{"type":"string"},"type":"array","title":"Flags"},"inconclusive":{"type":"integer","title":"Inconclusive"},"cost_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cost Cents"}},"additionalProperties":false,"type":"object","required":["attempt_id","student_name","case_title","version","criteria_count","flags","inconclusive"],"title":"QueueItemOut"},"ReactionIn":{"properties":{"pitchId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Pitchid"},"pageSlug":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Pageslug"},"personName":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Personname"},"personTitle":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Persontitle"},"channel":{"type":"string","title":"Channel","default":"email"},"saidOn":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Saidon"},"wordsKind":{"type":"string","title":"Wordskind","default":"exact"},"verbatim":{"type":"string","maxLength":20000,"minLength":1,"title":"Verbatim"},"context":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Context"},"sourceLink":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Sourcelink"}},"type":"object","required":["verbatim"],"title":"ReactionIn"},"ReactionPatch":{"properties":{"pitchId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Pitchid"},"pageSlug":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Pageslug"},"personName":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Personname"},"personTitle":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Persontitle"},"channel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel"},"saidOn":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Saidon"},"wordsKind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wordskind"},"verbatim":{"anyOf":[{"type":"string","maxLength":20000,"minLength":1},{"type":"null"}],"title":"Verbatim"},"context":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Context"},"sourceLink":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Sourcelink"}},"type":"object","title":"ReactionPatch"},"RecordChatMessage":{"properties":{"from":{"type":"string","enum":["student","contact"],"title":"From"},"text":{"type":"string","title":"Text"}},"additionalProperties":false,"type":"object","required":["from","text"],"title":"RecordChatMessage","description":"One message of a private chat: the student's, or the person's."},"RecordChatThread":{"properties":{"contact_id":{"type":"string","title":"Contact Id"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role","default":""},"messages":{"items":{"$ref":"#/components/schemas/RecordChatMessage"},"type":"array","title":"Messages"}},"additionalProperties":false,"type":"object","required":["contact_id","name","messages"],"title":"RecordChatThread","description":"The student's private chat with one person off the panel."},"RecordIn":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ItemIn"},"type":"array","maxItems":60,"minItems":1,"title":"Items"}},"type":"object","required":["items"],"title":"RecordIn"},"RecordRow":{"properties":{"seq":{"type":"integer","title":"Seq"},"turn":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turn"},"kind":{"type":"string","enum":["student","actor","case","receipt","note","private_chat"],"title":"Kind"},"who":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Who"},"text":{"type":"string","title":"Text"},"did":{"items":{"type":"string"},"type":"array","title":"Did"},"board":{"anyOf":[{"$ref":"#/components/schemas/BoardOut"},{"type":"null"}]},"threads":{"anyOf":[{"items":{"$ref":"#/components/schemas/RecordChatThread"},"type":"array"},{"type":"null"}],"title":"Threads"},"presentation_citation":{"anyOf":[{"$ref":"#/components/schemas/PresentationCitationV3"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["seq","kind","text"],"title":"RecordRow","description":"One admitted row of the sealed record, as a reader sees it."},"RecoveryStep":{"properties":{"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"arg":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arg"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"args":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Args"}},"additionalProperties":false,"type":"object","title":"RecoveryStep"},"RedirectOut":{"properties":{"redirect_url":{"type":"string","title":"Redirect Url"}},"type":"object","required":["redirect_url"],"title":"RedirectOut"},"Regenerate":{"properties":{"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Note"}},"type":"object","title":"Regenerate"},"Rehearsal":{"properties":{"source":{"anyOf":[{"type":"string","maxLength":500000},{"type":"null"}],"title":"Source"},"document":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Document"},"seed":{"type":"integer","title":"Seed","default":1}},"additionalProperties":false,"type":"object","title":"Rehearsal"},"Rehearsed":{"properties":{"ok":{"type":"boolean","title":"Ok"},"problems":{"items":{"$ref":"#/components/schemas/Problem"},"type":"array","title":"Problems"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"rows":{"items":{"$ref":"#/components/schemas/FeedRow"},"type":"array","title":"Rows"},"turns":{"additionalProperties":{"type":"integer"},"type":"object","title":"Turns"},"seconds":{"type":"number","title":"Seconds"}},"type":"object","required":["ok","problems","error","rows","turns","seconds"],"title":"Rehearsed","description":"One day played by stand-ins at $0 (the dry run)."},"RemovedOut":{"properties":{"result":{"$ref":"#/components/schemas/CanvasRemoval"},"left":{"$ref":"#/components/schemas/LeftOut"}},"type":"object","required":["result","left"],"title":"RemovedOut"},"RenameIn":{"properties":{"name":{"type":"string","maxLength":60,"minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"RenameIn"},"ReportedReasoningAttachment":{"properties":{"source":{"type":"string","enum":["model_student_response","actor_question_considerations","participant_action_note","rejected_action_note"],"title":"Source"},"text":{"type":"string","maxLength":4000,"minLength":1,"title":"Text"}},"additionalProperties":false,"type":"object","required":["source","text"],"title":"ReportedReasoningAttachment","description":"A bounded public self-report, never hidden chain-of-thought."},"RerunIn":{"properties":{"attempts":{"anyOf":[{"items":{"type":"integer"},"type":"array","maxItems":8,"minItems":1},{"type":"null"}],"title":"Attempts"},"max_cost_usd":{"type":"number","maximum":1000.0,"exclusiveMinimum":0.0,"title":"Max Cost Usd"}},"additionalProperties":false,"type":"object","required":["max_cost_usd"],"title":"RerunIn","description":"Re-run some attempts of an ended run (contracts §19.5)."},"ResearchCorrectionsIn":{"properties":{"edits":{"additionalProperties":{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/FieldCorrection"},"type":"object"},"type":"object"},"type":"object","title":"Edits","default":{}},"removed":{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/EntryRemoval"},"type":"object"},"type":"object","title":"Removed","default":{}},"reviewed":{"additionalProperties":{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/FlagReviewed"},"type":"object"},"type":"object"},"type":"object","title":"Reviewed","default":{}},"approved":{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/EntryApproval"},"type":"object"},"type":"object","title":"Approved","default":{}}},"type":"object","title":"ResearchCorrectionsIn","description":"The whole corrections document, replacing what is stored."},"ResearchEntry":{"properties":{"layer":{"type":"string","title":"Layer"},"key":{"type":"string","title":"Key"},"reach":{"type":"string","title":"Reach"},"fields":{"additionalProperties":{"$ref":"#/components/schemas/FieldView"},"type":"object","title":"Fields","default":{}},"details":{"additionalProperties":true,"type":"object","title":"Details","default":{}},"removed":{"type":"boolean","title":"Removed","default":false},"removable":{"type":"boolean","title":"Removable","default":false},"editable_fields":{"items":{"type":"string"},"type":"array","title":"Editable Fields","default":[]},"outside_fact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outside Fact"},"approved_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved By"},"approved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Approved At"}},"type":"object","required":["layer","key","reach"],"title":"ResearchEntry"},"ResearchFailure":{"properties":{"reason":{"type":"string","title":"Reason"},"failed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Failed At"}},"type":"object","required":["reason"],"title":"ResearchFailure","description":"The last research run failed. The case stays open to students on what\nit had; this says why, in plain words, and when."},"ResearchFlag":{"properties":{"kind":{"type":"string","title":"Kind"},"layer":{"type":"string","title":"Layer"},"key":{"type":"string","title":"Key"},"field":{"type":"string","title":"Field"},"text":{"type":"string","title":"Text"},"message":{"type":"string","title":"Message"},"sourced":{"type":"boolean","title":"Sourced","default":false},"reviewed_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewed By"},"reviewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reviewed At"}},"type":"object","required":["kind","layer","key","field","text","message"],"title":"ResearchFlag","description":"An advisory audit flag, pointing at the entry that carries it."},"ResearchOut":{"properties":{"version_id":{"type":"string","format":"uuid","title":"Version Id"},"status":{"type":"string","title":"Status"},"progress":{"anyOf":[{"$ref":"#/components/schemas/ResearchProgress"},{"type":"null"}]},"failure":{"anyOf":[{"$ref":"#/components/schemas/ResearchFailure"},{"type":"null"}]},"approved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Approved At"},"approved_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved By"},"attempt_count":{"type":"integer","title":"Attempt Count","default":0},"revision":{"type":"integer","title":"Revision","default":1},"attempts_by_revision":{"additionalProperties":{"type":"integer"},"type":"object","title":"Attempts By Revision","default":{}},"unapplied_changes":{"type":"boolean","title":"Unapplied Changes","default":false},"editable":{"type":"boolean","title":"Editable","default":false},"locked_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locked Reason"},"correction_count":{"type":"integer","title":"Correction Count","default":0},"needs_a_look":{"items":{"$ref":"#/components/schemas/ResearchFlag"},"type":"array","title":"Needs A Look","default":[]},"actors":{"items":{"$ref":"#/components/schemas/ActorResearch"},"type":"array","title":"Actors","default":[]},"expected_arguments":{"items":{"$ref":"#/components/schemas/DocumentGroup"},"type":"array","title":"Expected Arguments","default":[]},"landscape":{"items":{"$ref":"#/components/schemas/LandscapeGroup"},"type":"array","title":"Landscape","default":[]},"thesis":{"anyOf":[{"$ref":"#/components/schemas/ResearchEntry"},{"type":"null"}]},"exam_tradition":{"anyOf":[{"$ref":"#/components/schemas/ResearchEntry"},{"type":"null"}]},"tradition_notes":{"anyOf":[{"$ref":"#/components/schemas/ResearchEntry"},{"type":"null"}]},"figures":{"items":{"$ref":"#/components/schemas/FigureEntry"},"type":"array","title":"Figures","default":[]},"figures_notes":{"items":{"type":"string"},"type":"array","title":"Figures Notes","default":[]},"show_everything":{"additionalProperties":true,"type":"object","title":"Show Everything","default":{}}},"type":"object","required":["version_id","status"],"title":"ResearchOut"},"ResearchProgress":{"properties":{"started_minutes_ago":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Started Minutes Ago"},"stage":{"type":"string","title":"Stage"},"stage_of":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage Of"},"typical_minutes":{"type":"string","title":"Typical Minutes"}},"type":"object","required":["stage","typical_minutes"],"title":"ResearchProgress","description":"While the research is being prepared: how far along it is, in plain words."},"ResumeStart":{"properties":{"cost_cap_usd":{"anyOf":[{"type":"number","maximum":500.0,"minimum":0.0},{"type":"null"}],"title":"Cost Cap Usd"},"start_key":{"type":"string","maxLength":80,"minLength":8,"title":"Start Key"}},"additionalProperties":false,"type":"object","required":["start_key"],"title":"ResumeStart"},"RetryIn":{"properties":{"case_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Case Id"}},"type":"object","title":"RetryIn"},"RetryOut":{"properties":{"retried":{"type":"integer","title":"Retried"},"grades":{"$ref":"#/components/schemas/GradesOut"}},"type":"object","required":["retried","grades"],"title":"RetryOut"},"ReviewAssignmentCreate":{"properties":{"attempt_id":{"type":"integer","title":"Attempt Id"},"reviewer_user_id":{"type":"string","title":"Reviewer User Id"},"slot":{"type":"string","enum":["A","B"],"title":"Slot"}},"additionalProperties":false,"type":"object","required":["attempt_id","reviewer_user_id","slot"],"title":"ReviewAssignmentCreate"},"ReviewAssignmentOut":{"properties":{"attempt_id":{"type":"integer","title":"Attempt Id"},"slot":{"type":"string","enum":["A","B"],"title":"Slot"},"reviewer_user_id":{"type":"string","title":"Reviewer User Id"},"name":{"type":"string","title":"Name","default":""},"email":{"type":"string","title":"Email","default":""},"reviewer_is_author":{"type":"boolean","title":"Reviewer Is Author","default":false},"status":{"type":"string","enum":["open","locked","settling","settled"],"title":"Status"},"locked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locked At"}},"additionalProperties":false,"type":"object","required":["attempt_id","slot","reviewer_user_id","status"],"title":"ReviewAssignmentOut","description":"Who may review attempt X. Reviewing is a per-attempt grant, not a role."},"ReviewBundle":{"properties":{"attempt":{"$ref":"#/components/schemas/AttemptRef"},"case":{"$ref":"#/components/schemas/ReviewCase"},"rows":{"items":{"$ref":"#/components/schemas/ReviewRow"},"type":"array","title":"Rows"},"reviewers":{"additionalProperties":{"$ref":"#/components/schemas/ReviewerProfile"},"propertyNames":{"enum":["A","B"]},"type":"object","title":"Reviewers"},"me":{"type":"string","enum":["A","B"],"title":"Me"},"reviews":{"additionalProperties":{"$ref":"#/components/schemas/ReviewState"},"propertyNames":{"enum":["A","B"]},"type":"object","title":"Reviews"},"answers":{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/AnswerOut"},"propertyNames":{"enum":["A","B"]},"type":"object"},"type":"object","title":"Answers"},"theirs_answered":{"items":{"type":"string"},"type":"array","title":"Theirs Answered","default":[]},"joint":{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/JointDecision"},"propertyNames":{"enum":["A","B"]},"type":"object"},"type":"object","title":"Joint"},"endorsements":{"additionalProperties":{"additionalProperties":{"$ref":"#/components/schemas/EndorsementOut"},"type":"object"},"type":"object","title":"Endorsements"},"additions":{"items":{"$ref":"#/components/schemas/AdditionOut"},"type":"array","title":"Additions"}},"additionalProperties":false,"type":"object","required":["attempt","case","rows","reviewers","me","reviews","answers","joint","endorsements","additions"],"title":"ReviewBundle","description":"Everything the desk needs for one attempt, for one reviewer.\n\nThe other reviewer's ``ReviewState`` is blanked (marks [], scores {},\nattempt {}, verdict \"\") until both have locked. That gate is the\nserver's, never the client's."},"ReviewCase":{"properties":{"name":{"type":"string","title":"Name"},"version":{"type":"string","title":"Version"},"attempt_id":{"type":"string","title":"Attempt Id"},"env_version":{"type":"string","title":"Env Version"},"outcome":{"type":"string","title":"Outcome"},"closed_by":{"type":"string","title":"Closed By"},"brief":{"type":"string","title":"Brief"},"participant":{"$ref":"#/components/schemas/Participant"},"docs":{"items":{"$ref":"#/components/schemas/CaseDoc"},"type":"array","title":"Docs"},"actors":{"items":{"$ref":"#/components/schemas/CaseActor"},"type":"array","title":"Actors"},"actions":{"items":{"$ref":"#/components/schemas/CaseAction"},"type":"array","title":"Actions"},"event_rules":{"items":{"$ref":"#/components/schemas/CaseRule"},"type":"array","title":"Event Rules"},"consequence_rules":{"items":{"$ref":"#/components/schemas/CaseRule"},"type":"array","title":"Consequence Rules"},"rubric":{"items":{"$ref":"#/components/schemas/Criterion"},"type":"array","title":"Rubric"},"taxonomy":{"items":{"type":"string"},"type":"array","title":"Taxonomy"}},"additionalProperties":false,"type":"object","required":["name","version","attempt_id","env_version","outcome","closed_by","brief","participant","docs","actors","actions","event_rules","consequence_rules","rubric","taxonomy"],"title":"ReviewCase"},"ReviewDocument":{"properties":{"doc_id":{"type":"string","title":"Doc Id"},"name":{"type":"string","title":"Name"},"page":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page"},"src":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Src"}},"additionalProperties":false,"type":"object","required":["doc_id","name"],"title":"ReviewDocument","description":"A case document the attempt read or was shown, linked for the reviewer.\n\n``src`` is the same assignment-authorized image route as ``ReviewImage`` —\na rendered page the desk can open — so an expert can look at the document\nthe participant acted on without leaving the annotation flow."},"ReviewImage":{"properties":{"doc_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doc Id"},"doc_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doc Label"},"page":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page"},"src":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Src"},"question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question"},"reading":{"type":"string","title":"Reading"}},"additionalProperties":false,"type":"object","required":["reading"],"title":"ReviewImage","description":"The picture a model looked at, plus its full recorded read.\n\n``src`` is a review-scoped, assignment-authorized image route the desk can\nput straight into an ``<img>``; ``reading`` is the model's complete\nobservation, unclipped, so the expert judges the whole thing rather than a\n400-character preview."},"ReviewIn":{"properties":{"decision":{"type":"string","enum":["approve","changes","unsure"],"title":"Decision"},"notes":{"type":"string","maxLength":50000,"title":"Notes","default":""},"checklist":{"additionalProperties":true,"type":"object","title":"Checklist"}},"additionalProperties":false,"type":"object","required":["decision"],"title":"ReviewIn"},"ReviewRow":{"properties":{"anchor_id":{"type":"string","title":"Anchor Id"},"anchor":{"$ref":"#/components/schemas/AnchorSnapshot"},"display_turn_no":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Turn No"},"target":{"type":"string","title":"Target"},"seq":{"type":"integer","title":"Seq"},"kind":{"type":"string","enum":["state","tool","note","responder","actor","event","action","rejected","consequence"],"title":"Kind"},"family":{"anyOf":[{"type":"string","enum":["turn","search","actorTurn","boundary","env"]},{"type":"string","const":"none"}],"title":"Family"},"time":{"type":"string","title":"Time"},"label":{"type":"string","title":"Label"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"turn":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turn"},"actor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor"},"tool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool"},"tool_args":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tool Args"},"tool_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tool Status"},"environment_state_applied":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Environment State Applied"},"reported_reasoning":{"anyOf":[{"$ref":"#/components/schemas/ReportedReasoningAttachment"},{"type":"null"}]},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"hits":{"anyOf":[{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array"},{"type":"null"}],"title":"Hits"},"doc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doc"},"page":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page"},"repeat_of":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeat Of"},"action_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action Id"},"cite":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cite"},"cite_valid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cite Valid"},"actor_call":{"anyOf":[{"$ref":"#/components/schemas/ActorCall"},{"type":"null"}]},"by":{"anyOf":[{"type":"string","enum":["participant","actor","environment"]},{"type":"null"}],"title":"By"},"image":{"anyOf":[{"$ref":"#/components/schemas/ReviewImage"},{"type":"null"}]},"is_terminal":{"type":"boolean","title":"Is Terminal","default":false},"documents":{"items":{"$ref":"#/components/schemas/ReviewDocument"},"type":"array","title":"Documents","default":[]},"board":{"anyOf":[{"$ref":"#/components/schemas/BoardOut"},{"type":"null"}]},"compute_checks":{"items":{"$ref":"#/components/schemas/ComputeCheckOut"},"type":"array","title":"Compute Checks","default":[]},"glance":{"items":{"$ref":"#/components/schemas/GlanceRow"},"type":"array","title":"Glance"},"trace":{"items":{"$ref":"#/components/schemas/TraceGroup"},"type":"array","title":"Trace"}},"additionalProperties":false,"type":"object","required":["anchor_id","anchor","target","seq","kind","family","time","label","glance","trace"],"title":"ReviewRow","description":"One row per thing an expert can judge. Actor tool calls are rows too."},"ReviewState":{"properties":{"rev":{"type":"string","enum":["A","B"],"title":"Rev"},"marks":{"items":{"$ref":"#/components/schemas/Mark"},"type":"array","title":"Marks"},"scores":{"additionalProperties":{"$ref":"#/components/schemas/ScoreDraft"},"type":"object","title":"Scores"},"attempt":{"$ref":"#/components/schemas/AttemptJudgment"},"verdict":{"type":"string","title":"Verdict"},"locked":{"type":"boolean","title":"Locked"},"locked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locked At"},"charter_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Charter Version"}},"additionalProperties":false,"type":"object","required":["rev","marks","scores","attempt","verdict","locked"],"title":"ReviewState"},"ReviewableAttempt":{"properties":{"attempt_id":{"type":"integer","title":"Attempt Id"},"case":{"type":"string","title":"Case"},"version":{"type":"integer","title":"Version"},"kind":{"type":"string","title":"Kind"},"status":{"type":"string","title":"Status"},"steps":{"type":"integer","title":"Steps"},"when":{"type":"string","title":"When"},"participant":{"type":"string","title":"Participant"},"slots":{"items":{"$ref":"#/components/schemas/ReviewAssignmentOut"},"type":"array","title":"Slots"}},"additionalProperties":false,"type":"object","required":["attempt_id","case","version","kind","status","steps","when","participant"],"title":"ReviewableAttempt","description":"A finished attempt and who is reviewing it. Synthetic runs are listed\nbeside human ones: the desk reviews a trajectory, not a person."},"ReviewerOption":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email"},"role":{"type":"string","title":"Role"},"authors":{"items":{"type":"integer"},"type":"array","title":"Authors"}},"additionalProperties":false,"type":"object","required":["id","name","email","role"],"title":"ReviewerOption","description":"Someone who may be given a slot. `authors` lists the attempts whose case\nthis person wrote — the author may hold one slot, never both, so the picker\ncan say why rather than let the server refuse."},"ReviewerProfile":{"properties":{"name":{"type":"string","title":"Name"},"domain":{"type":"string","title":"Domain"},"years":{"type":"integer","title":"Years"},"credential":{"type":"string","title":"Credential"}},"additionalProperties":false,"type":"object","required":["name","domain","years","credential"],"title":"ReviewerProfile"},"ReviewerProfileIn":{"properties":{"domain":{"type":"string","title":"Domain"},"years":{"type":"integer","maximum":80.0,"minimum":0.0,"title":"Years","default":0},"credential":{"type":"string","title":"Credential","default":""}},"additionalProperties":false,"type":"object","required":["domain"],"title":"ReviewerProfileIn"},"ReviewerProfileOut":{"properties":{"user_id":{"type":"string","title":"User Id"},"name":{"type":"string","title":"Name"},"domain":{"type":"string","title":"Domain"},"years":{"type":"integer","title":"Years"},"credential":{"type":"string","title":"Credential"}},"additionalProperties":false,"type":"object","required":["user_id","name","domain","years","credential"],"title":"ReviewerProfileOut"},"RevisionOut":{"properties":{"reasoning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning"},"evidence":{"items":{"$ref":"#/components/schemas/app__schemas__grading__CiteOut"},"type":"array","title":"Evidence"},"by":{"type":"string","title":"By"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"}},"additionalProperties":false,"type":"object","required":["by"],"title":"RevisionOut","description":"The author changed this criterion. The student reads why, never the old number."},"RosterIn":{"properties":{"text":{"anyOf":[{"type":"string","maxLength":200000},{"type":"null"}],"title":"Text"},"students":{"items":{"$ref":"#/components/schemas/StudentIn"},"type":"array","maxItems":1000,"title":"Students"},"preview":{"type":"boolean","title":"Preview","default":false}},"type":"object","title":"RosterIn","description":"Pasted text (emails separated by new lines, commas, semicolons or\nspaces, or written `Name <email>`), or a list. With `preview`, nothing is\nsaved: the report says what adding would do."},"RosterReport":{"properties":{"added":{"items":{"type":"string"},"type":"array","title":"Added"},"already":{"items":{"type":"string"},"type":"array","title":"Already"},"invalid":{"items":{"$ref":"#/components/schemas/app__classes__Skipped"},"type":"array","title":"Invalid"},"repeated":{"items":{"type":"string"},"type":"array","title":"Repeated"}},"type":"object","required":["added","already","invalid"],"title":"RosterReport"},"RosterRow":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"type":"string","title":"Email"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"signed_in":{"type":"boolean","title":"Signed In"},"added_at":{"type":"string","format":"date-time","title":"Added At"},"left_canvas":{"type":"boolean","title":"Left Canvas","default":false}},"type":"object","required":["id","email","name","signed_in","added_at"],"title":"RosterRow"},"RoundTick":{"properties":{"day":{"type":"integer","title":"Day"},"round":{"type":"integer","title":"Round"},"phase":{"type":"string","enum":["talk","vote","night"],"title":"Phase"},"last_seq":{"type":"integer","title":"Last Seq"},"spend_usd":{"type":"number","title":"Spend Usd"},"moments":{"type":"integer","title":"Moments"}},"type":"object","required":["day","round","phase","last_seq","spend_usd","moments"],"title":"RoundTick","description":"The end of one round, as the timeline draws it (one per round checkpoint)."},"RubricAttach":{"properties":{"rubric_id":{"type":"string","format":"uuid","title":"Rubric Id"}},"type":"object","required":["rubric_id"],"title":"RubricAttach"},"RubricCopy":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","title":"RubricCopy"},"RubricCreate":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"The rubric's name, e.g. Strategic diagnosis, shown in the professor's screens; the student does not see it."}},"type":"object","required":["name"],"title":"RubricCreate"},"RubricDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"criteria_count":{"type":"integer","title":"Criteria Count"},"usage_count":{"type":"integer","title":"Usage Count"},"criteria":{"items":{"$ref":"#/components/schemas/CriterionOut"},"type":"array","title":"Criteria","default":[]}},"type":"object","required":["id","name","criteria_count","usage_count"],"title":"RubricDetail"},"RubricOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"criteria_count":{"type":"integer","title":"Criteria Count"},"usage_count":{"type":"integer","title":"Usage Count"}},"type":"object","required":["id","name","criteria_count","usage_count"],"title":"RubricOut"},"RubricRowOut":{"properties":{"name":{"type":"string","title":"Name"},"points":{"type":"number","title":"Points"},"ratings":{"items":{"type":"string"},"type":"array","title":"Ratings"},"outcome":{"type":"boolean","title":"Outcome","default":false}},"type":"object","required":["name","points","ratings"],"title":"RubricRowOut"},"RubricSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"criteria_count":{"type":"integer","title":"Criteria Count"}},"type":"object","required":["id","name","criteria_count"],"title":"RubricSummary","description":"What the scenario detail carries — enough for the rail and section header."},"RubricUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","title":"RubricUpdate"},"RunDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"world":{"$ref":"#/components/schemas/WorldRef"},"version":{"$ref":"#/components/schemas/VersionRef"},"label":{"type":"string","title":"Label"},"status":{"type":"string","enum":["queued","running","stopping","stopped","completed","failed","died"],"title":"Status"},"mode":{"type":"string","enum":["show","test"],"title":"Mode"},"spend_usd":{"type":"number","title":"Spend Usd"},"cost_cap_usd":{"type":"number","title":"Cost Cap Usd"},"clock":{"anyOf":[{"$ref":"#/components/schemas/Clock"},{"type":"null"}]},"parent_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Run Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"series":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Series"},"episode":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Episode"},"cast":{"items":{"$ref":"#/components/schemas/CastMember"},"type":"array","title":"Cast"},"lineup":{"additionalProperties":true,"type":"object","title":"Lineup"},"seed":{"type":"integer","title":"Seed"},"last_seq":{"type":"integer","title":"Last Seq"},"time":{"$ref":"#/components/schemas/RunTime"},"fork_at_seq":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fork At Seq"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"heartbeat_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Heartbeat At"},"stop_requested":{"anyOf":[{"type":"string","enum":["after_round","now"]},{"type":"null"}],"title":"Stop Requested"}},"type":"object","required":["id","world","version","label","status","mode","spend_usd","cost_cap_usd","clock","parent_run_id","created_at","finished_at","cast","lineup","seed","last_seq","time","fork_at_seq","reason","started_at","heartbeat_at","stop_requested"],"title":"RunDetail"},"RunPlan":{"properties":{"world_version_id":{"type":"string","format":"uuid","title":"World Version Id"},"lineup":{"$ref":"#/components/schemas/Lineup"},"mode":{"type":"string","enum":["show","test"],"title":"Mode"},"cost_cap_usd":{"type":"number","maximum":500.0,"minimum":0.0,"title":"Cost Cap Usd"}},"additionalProperties":false,"type":"object","required":["world_version_id","lineup","mode","cost_cap_usd"],"title":"RunPlan"},"RunStart":{"properties":{"world_version_id":{"type":"string","format":"uuid","title":"World Version Id"},"lineup":{"$ref":"#/components/schemas/Lineup"},"mode":{"type":"string","enum":["show","test"],"title":"Mode"},"cost_cap_usd":{"type":"number","maximum":500.0,"minimum":0.0,"title":"Cost Cap Usd"},"start_key":{"type":"string","maxLength":80,"minLength":8,"title":"Start Key"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed"},"label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Label"}},"additionalProperties":false,"type":"object","required":["world_version_id","lineup","mode","cost_cap_usd","start_key"],"title":"RunStart"},"RunSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"world":{"$ref":"#/components/schemas/WorldRef"},"version":{"$ref":"#/components/schemas/VersionRef"},"label":{"type":"string","title":"Label"},"status":{"type":"string","enum":["queued","running","stopping","stopped","completed","failed","died"],"title":"Status"},"mode":{"type":"string","enum":["show","test"],"title":"Mode"},"spend_usd":{"type":"number","title":"Spend Usd"},"cost_cap_usd":{"type":"number","title":"Cost Cap Usd"},"clock":{"anyOf":[{"$ref":"#/components/schemas/Clock"},{"type":"null"}]},"parent_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Run Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"series":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Series"},"episode":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Episode"}},"type":"object","required":["id","world","version","label","status","mode","spend_usd","cost_cap_usd","clock","parent_run_id","created_at","finished_at"],"title":"RunSummary"},"RunTime":{"properties":{"days":{"type":"integer","title":"Days"},"rounds_per_day":{"type":"integer","title":"Rounds Per Day"}},"type":"object","required":["days","rounds_per_day"],"title":"RunTime"},"SampleRequestIn":{"properties":{"email":{"type":"string","title":"Email","default":""},"website":{"type":"string","title":"Website","default":""},"who":{"type":"string","title":"Who","default":"direct"},"report":{"type":"string","title":"Report","default":""}},"type":"object","title":"SampleRequestIn"},"SavedVersion":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"number":{"type":"integer","title":"Number"},"title":{"type":"string","title":"Title"},"content_hash":{"type":"string","title":"Content Hash"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"new":{"type":"boolean","title":"New"}},"type":"object","required":["id","number","title","content_hash","created_at","new"],"title":"SavedVersion"},"ScenarioCreate":{"properties":{"title":{"type":"string","title":"Title"},"kind":{"type":"string","enum":["case","presentation_viva"],"title":"Kind","default":"case"}},"type":"object","required":["title"],"title":"ScenarioCreate"},"ScenarioDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"status":{"type":"string","title":"Status"},"version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Version Id"},"prep_status":{"type":"string","title":"Prep Status","default":"ready"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"brief":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brief"},"tuning":{"additionalProperties":true,"type":"object","title":"Tuning","default":{}},"counters":{"items":{"$ref":"#/components/schemas/CaseCounter"},"type":"array","title":"Counters","default":[]},"planted_mistakes":{"items":{"$ref":"#/components/schemas/CasePlantedMistake"},"type":"array","title":"Planted Mistakes","default":[]},"docs":{"items":{"$ref":"#/components/schemas/DocOut"},"type":"array","title":"Docs","default":[]},"castings":{"items":{"$ref":"#/components/schemas/CastingOut"},"type":"array","title":"Castings","default":[]},"actions":{"items":{"$ref":"#/components/schemas/app__schemas__studio__ActionOut"},"type":"array","title":"Actions","default":[]},"rubric":{"anyOf":[{"$ref":"#/components/schemas/RubricSummary"},{"type":"null"}]},"exemplar_count":{"type":"integer","title":"Exemplar Count","default":0},"research_to_reuse":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Research To Reuse"}},"type":"object","required":["id","title","status"],"title":"ScenarioDetail"},"ScenarioListItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"status":{"type":"string","title":"Status"},"version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Version Id"},"prep_status":{"type":"string","title":"Prep Status","default":"ready"},"kind":{"type":"string","enum":["case","presentation_viva"],"title":"Kind"}},"type":"object","required":["id","title","status","kind"],"title":"ScenarioListItem","description":"One case in the professor's list: with what it is made as, read from its\nlatest version's tuning (scenarios.py case_kind)."},"ScenarioOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"status":{"type":"string","title":"Status"},"version_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Version Id"},"prep_status":{"type":"string","title":"Prep Status","default":"ready"}},"type":"object","required":["id","title","status"],"title":"ScenarioOut"},"Scene":{"properties":{"id":{"type":"string","title":"Id"},"day":{"type":"integer","title":"Day"},"number":{"type":"integer","title":"Number"},"kind":{"type":"string","enum":["set_piece","called","directed","chat","public"],"title":"Kind"},"place":{"$ref":"#/components/schemas/ScenePlace"},"title":{"type":"string","title":"Title"},"slug":{"type":"string","title":"Slug"},"characters":{"items":{"type":"string"},"type":"array","title":"Characters"},"rows":{"items":{"type":"integer"},"type":"array","title":"Rows"},"first_row":{"type":"integer","title":"First Row"},"last_row":{"type":"integer","title":"Last Row"},"rounds":{"items":{"type":"integer"},"type":"array","title":"Rounds"},"open":{"type":"boolean","title":"Open"},"weight":{"type":"integer","title":"Weight"},"direction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Direction"},"asides":{"items":{"$ref":"#/components/schemas/SceneAside"},"type":"array","title":"Asides"}},"type":"object","required":["id","day","number","kind","place","title","slug","characters","rows","first_row","last_row","rounds","open","weight","direction","asides"],"title":"Scene"},"SceneAside":{"properties":{"row":{"type":"integer","title":"Row"},"character":{"type":"string","title":"Character"},"kind":{"type":"string","enum":["note","interview"],"title":"Kind"},"act":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Act"}},"type":"object","required":["row","character","kind"],"title":"SceneAside","description":"A private note or an interview, with the scene its writer was in."},"SceneList":{"properties":{"scenes":{"items":{"$ref":"#/components/schemas/Scene"},"type":"array","title":"Scenes"},"last_seq":{"type":"integer","title":"Last Seq"},"status":{"type":"string","enum":["queued","running","stopping","stopped","completed","failed","died"],"title":"Status"}},"type":"object","required":["scenes","last_seq","status"],"title":"SceneList"},"ScenePlace":{"properties":{"type":{"type":"string","enum":["room","chat","public"],"title":"Type"},"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["type","id","name"],"title":"ScenePlace"},"ScoreDraft":{"properties":{"score":{"anyOf":[{"type":"integer","enum":[1,2,3,4,5]},{"type":"null"}],"title":"Score"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"cites":{"items":{"type":"string"},"type":"array","title":"Cites"},"conf":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Conf"},"may_disagree":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"May Disagree"},"merits":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Merits"},"demerits":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Demerits"},"improve":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Improve"}},"additionalProperties":false,"type":"object","title":"ScoreDraft","description":"A score in progress: everything optional except the citations list."},"ScoreOut":{"properties":{"name":{"type":"string","title":"Name"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"}},"type":"object","required":["name","score"],"title":"ScoreOut"},"Screenplay":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"first_day":{"type":"integer","title":"First Day"},"last_day":{"type":"integer","title":"Last Day"},"upto_seq":{"type":"integer","title":"Upto Seq"},"minutes":{"type":"number","title":"Minutes"},"scenes":{"items":{"$ref":"#/components/schemas/Scene"},"type":"array","title":"Scenes"},"elements":{"items":{"$ref":"#/components/schemas/ScriptElement"},"type":"array","title":"Elements"}},"type":"object","required":["run_id","first_day","last_day","upto_seq","minutes","scenes","elements"],"title":"Screenplay","description":"Days of a take laid out by code (free): every scene, parallel ones cross-cut."},"Script":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"status":{"type":"string","enum":["making","ready","failed"],"title":"Status"},"step":{"anyOf":[{"type":"string","enum":["editing","writing"]},{"type":"null"}],"title":"Step"},"first_day":{"type":"integer","title":"First Day"},"last_day":{"type":"integer","title":"Last Day"},"minutes":{"type":"integer","title":"Minutes"},"editor_model":{"type":"string","title":"Editor Model"},"writer_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Writer Model"},"written_by":{"anyOf":[{"type":"string","enum":["writer","code"]},{"type":"null"}],"title":"Written By"},"upto_seq":{"type":"integer","title":"Upto Seq"},"cost_usd":{"type":"number","title":"Cost Usd"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"made_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Made At"},"edit":{"anyOf":[{"$ref":"#/components/schemas/Edit"},{"type":"null"}]},"elements":{"items":{"$ref":"#/components/schemas/ScriptElement"},"type":"array","title":"Elements"},"scenes":{"items":{"$ref":"#/components/schemas/Scene"},"type":"array","title":"Scenes"}},"type":"object","required":["id","run_id","status","step","first_day","last_day","minutes","editor_model","writer_model","written_by","upto_seq","cost_usd","error","created_at","made_at","edit","elements","scenes"],"title":"Script","description":"An episode cut: the editor's choice, with its reasons, and the screenplay."},"ScriptElement":{"properties":{"type":{"type":"string","enum":["heading","action","line","voice_over","interview"],"title":"Type"},"text":{"type":"string","title":"Text"},"rows":{"items":{"type":"integer"},"type":"array","title":"Rows"},"scene":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scene"},"back":{"type":"boolean","title":"Back"},"character":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Character"},"cue":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cue"},"extension":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extension"},"parenthetical":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parenthetical"}},"type":"object","required":["type","text","rows","scene","back","character","cue","extension","parenthetical"],"title":"ScriptElement","description":"One part of a script page."},"ScriptMake":{"properties":{"first_day":{"type":"integer","minimum":1.0,"title":"First Day"},"last_day":{"type":"integer","minimum":1.0,"title":"Last Day"},"minutes":{"anyOf":[{"type":"integer","maximum":240.0,"minimum":1.0},{"type":"null"}],"title":"Minutes"},"editor_model":{"type":"string","minLength":1,"title":"Editor Model"},"writer_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Writer Model"},"remake":{"type":"boolean","title":"Remake","default":false}},"additionalProperties":false,"type":"object","required":["first_day","last_day","editor_model"],"title":"ScriptMake"},"ScriptPlan":{"properties":{"first_day":{"type":"integer","minimum":1.0,"title":"First Day"},"last_day":{"type":"integer","minimum":1.0,"title":"Last Day"},"minutes":{"anyOf":[{"type":"integer","maximum":240.0,"minimum":1.0},{"type":"null"}],"title":"Minutes"},"editor_model":{"type":"string","minLength":1,"title":"Editor Model"},"writer_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Writer Model"}},"additionalProperties":false,"type":"object","required":["first_day","last_day","editor_model"],"title":"ScriptPlan","description":"An episode cut: which days, how long, and the models for the two passes. No silent\ndefault: the editor's model is required; no writer model means code lays out the cut.\nNo minutes: each day's length comes from the director's season shape (an error when the\nworld has none)."},"ScriptPreview":{"properties":{"ok":{"type":"boolean","title":"Ok"},"problems":{"items":{"type":"string"},"type":"array","title":"Problems"},"minutes":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minutes"},"budgets":{"items":{"$ref":"#/components/schemas/DayBudget"},"type":"array","title":"Budgets"},"scenes":{"type":"integer","title":"Scenes"},"candidate_minutes":{"type":"number","title":"Candidate Minutes"},"editor_worst_usd":{"type":"number","title":"Editor Worst Usd"},"writer_worst_usd":{"type":"number","title":"Writer Worst Usd"},"worst_usd":{"type":"number","title":"Worst Usd"},"existing":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Existing"}},"type":"object","required":["ok","problems","minutes","budgets","scenes","candidate_minutes","editor_worst_usd","writer_worst_usd","worst_usd","existing"],"title":"ScriptPreview"},"SecretState":{"properties":{"id":{"type":"string","title":"Id"},"text":{"type":"string","title":"Text"},"about":{"items":{"type":"string"},"type":"array","title":"About"},"known_by":{"items":{"type":"string"},"type":"array","title":"Known By"},"out":{"type":"boolean","title":"Out"}},"type":"object","required":["id","text","about","known_by","out"],"title":"SecretState"},"SeedEvent":{"properties":{"announce":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Announce"},"effects":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Effects","default":[]}},"additionalProperties":false,"type":"object","title":"SeedEvent","description":"Something that happens at the branch point: an announcement and its effects."},"SeedMessage":{"properties":{"to":{"type":"string","title":"To"},"from":{"type":"string","title":"From"},"text":{"type":"string","maxLength":2000,"minLength":1,"title":"Text"}},"additionalProperties":false,"type":"object","required":["to","from","text"],"title":"SeedMessage","description":"A private message at the branch point (decision D7: never from an existing\ncharacter, so the record never shows someone saying what they did not say)."},"SeedPack":{"properties":{"label":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Label"},"events":{"items":{"$ref":"#/components/schemas/SeedEvent"},"type":"array","title":"Events","default":[]},"messages":{"items":{"$ref":"#/components/schemas/SeedMessage"},"type":"array","title":"Messages","default":[]},"add_members":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Add Members","default":[]},"remove_members":{"items":{"type":"string"},"type":"array","title":"Remove Members","default":[]},"change_members":{"additionalProperties":{"$ref":"#/components/schemas/MemberChange"},"type":"object","title":"Change Members","default":{}},"world_changes":{"additionalProperties":true,"type":"object","title":"World Changes","default":{}}},"additionalProperties":false,"type":"object","title":"SeedPack","description":"What changes in a branch. Every part is optional; an empty pack resumes as is."},"Series":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"nodes":{"items":{"$ref":"#/components/schemas/SeriesNode"},"type":"array","title":"Nodes"}},"type":"object","required":["id","title","nodes"],"title":"Series"},"SeriesNode":{"properties":{"run":{"type":"string","format":"uuid","title":"Run"},"episode":{"type":"integer","title":"Episode"},"kind":{"type":"string","enum":["episode","branch"],"title":"Kind"},"parent":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent"},"label":{"type":"string","title":"Label"},"status":{"type":"string","enum":["queued","running","stopping","stopped","completed","failed","died"],"title":"Status"},"branch_point":{"anyOf":[{"$ref":"#/components/schemas/ForkPoint"},{"type":"null"}]}},"type":"object","required":["run","episode","kind","parent","label","status"],"title":"SeriesNode"},"SignInEmail":{"properties":{"ready":{"type":"boolean","title":"Ready"}},"type":"object","required":["ready"],"title":"SignInEmail"},"SignalCheckIn":{"properties":{"reactionId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reactionid"},"checkId":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Checkid"},"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Note"}},"type":"object","title":"SignalCheckIn"},"SignalIn":{"properties":{"kind":{"type":"string","title":"Kind"},"summary":{"type":"string","maxLength":300,"title":"Summary","default":""},"url":{"type":"string","maxLength":600,"minLength":8,"title":"Url"},"quote":{"type":"string","maxLength":600,"minLength":1,"title":"Quote"},"sourceDate":{"type":"string","maxLength":40,"title":"Sourcedate","default":"undated"},"fit":{"type":"string","title":"Fit","default":"neutral"},"fitReason":{"type":"string","maxLength":200,"title":"Fitreason","default":""},"reactionId":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reactionid"},"checkId":{"anyOf":[{"type":"string","maxLength":20},{"type":"null"}],"title":"Checkid"},"bearing":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bearing"}},"type":"object","required":["kind","url","quote"],"title":"SignalIn"},"SignalPatch":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"summary":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Summary"},"fit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fit"},"fitReason":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Fitreason"},"bearing":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bearing"}},"type":"object","title":"SignalPatch"},"SignatureOut":{"properties":{"by":{"type":"string","title":"By"},"at":{"type":"string","format":"date-time","title":"At"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","required":["by","at"],"title":"SignatureOut"},"SignedIn":{"properties":{"user":{"$ref":"#/components/schemas/UserOut"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"}},"type":"object","required":["user","next"],"title":"SignedIn"},"SignoffIn":{"properties":{"note":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Note"}},"additionalProperties":false,"type":"object","title":"SignoffIn"},"Slide":{"properties":{"page":{"type":"integer","title":"Page"},"url":{"type":"string","title":"Url"}},"type":"object","required":["page","url"],"title":"Slide"},"SourceFileIn":{"properties":{"filename":{"type":"string","maxLength":200,"minLength":1,"title":"Filename"},"bytes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Bytes"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"}},"type":"object","required":["filename"],"title":"SourceFileIn"},"SourceHit":{"properties":{"chunk_id":{"type":"string","title":"Chunk Id"},"doc_id":{"type":"string","format":"uuid","title":"Doc Id"},"asset_id":{"type":"string","format":"uuid","title":"Asset Id"},"doc_name":{"type":"string","title":"Doc Name"},"page":{"type":"integer","title":"Page"},"snippet":{"type":"string","title":"Snippet"}},"type":"object","required":["chunk_id","doc_id","asset_id","doc_name","page","snippet"],"title":"SourceHit"},"SourceOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"status":{"type":"string","title":"Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"pages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pages"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"added_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Added By"},"added_at":{"type":"string","format":"date-time","title":"Added At"},"appraisal":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Appraisal"},"can_retry":{"type":"boolean","title":"Can Retry"}},"type":"object","required":["id","name","status","error","pages","size_bytes","added_by","added_at","appraisal","can_retry"],"title":"SourceOut"},"SourceRef":{"properties":{"doc_name":{"type":"string","title":"Doc Name"},"page":{"type":"integer","title":"Page"},"asset_id":{"type":"string","format":"uuid","title":"Asset Id"},"snippet":{"type":"string","title":"Snippet"}},"type":"object","required":["doc_name","page","asset_id","snippet"],"title":"SourceRef","description":"Human-readable location of a fact's first source chunk — enough for a\ncitation pill and its hover preview (snippet + page thumbnail)."},"SourceSearch":{"properties":{"query":{"type":"string","minLength":1,"title":"Query"}},"type":"object","required":["query"],"title":"SourceSearch"},"SourceUploadOut":{"properties":{"source":{"$ref":"#/components/schemas/SourceOut"},"upload_url":{"type":"string","title":"Upload Url"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"max_bytes":{"type":"integer","title":"Max Bytes"}},"type":"object","required":["source","upload_url","expires_at","max_bytes"],"title":"SourceUploadOut"},"SourcesOut":{"properties":{"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"sources":{"items":{"$ref":"#/components/schemas/SourceOut"},"type":"array","title":"Sources"},"max_bytes":{"type":"integer","title":"Max Bytes"}},"type":"object","required":["assignment_id","sources","max_bytes"],"title":"SourcesOut"},"StageCues":{"properties":{"present":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Present"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker"},"frames":{"additionalProperties":{"type":"string","enum":["idle","talking","thinking","writing","pleased","angry","shocked","pointing"]},"type":"object","title":"Frames"},"weight":{"type":"integer","title":"Weight"}},"type":"object","required":["present","speaker","frames","weight"],"title":"StageCues"},"StartAttempt":{"properties":{"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"resume_existing":{"type":"boolean","title":"Resume Existing","default":false},"expected_attempts_used":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Expected Attempts Used"}},"type":"object","required":["assignment_id"],"title":"StartAttempt"},"StateAt":{"properties":{"at_seq":{"type":"integer","title":"At Seq"},"clock":{"$ref":"#/components/schemas/Clock"},"last_seq":{"type":"integer","title":"Last Seq"},"members":{"items":{"$ref":"#/components/schemas/MemberState"},"type":"array","title":"Members"},"posts":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object","title":"Posts"},"numbers":{"additionalProperties":true,"type":"object","title":"Numbers"},"secrets":{"items":{"$ref":"#/components/schemas/SecretState"},"type":"array","title":"Secrets"}},"type":"object","required":["at_seq","clock","last_seq","members","posts","numbers","secrets"],"title":"StateAt","description":"Where everyone stands at a row: the checkpoint at or before it."},"StepOut":{"properties":{"kind":{"type":"string","title":"Kind"},"status":{"type":"string","title":"Status"},"attempts":{"type":"integer","title":"Attempts"},"max_attempts":{"type":"integer","title":"Max Attempts"},"next_try_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Try At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["kind","status","attempts","max_attempts","next_try_at","error"],"title":"StepOut","description":"The newest run of one step: slides (read the slides), transcribe, brief or grade."},"StopRequest":{"properties":{"when":{"type":"string","enum":["after_round","now"],"title":"When"}},"additionalProperties":false,"type":"object","required":["when"],"title":"StopRequest"},"Storyboard":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"status":{"type":"string","enum":["making","ready","failed"],"title":"Status"},"captions":{"type":"string","enum":["model","none"],"title":"Captions"},"caption_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caption Model"},"upto_seq":{"type":"integer","title":"Upto Seq"},"cost_usd":{"type":"number","title":"Cost Usd"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"made_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Made At"},"days":{"items":{"$ref":"#/components/schemas/StoryboardDay"},"type":"array","title":"Days"},"cast":{"items":{"$ref":"#/components/schemas/CastFigure"},"type":"array","title":"Cast","default":[]}},"type":"object","required":["run_id","status","captions","caption_model","upto_seq","cost_usd","error","made_at","days"],"title":"Storyboard"},"StoryboardDay":{"properties":{"day":{"type":"integer","title":"Day"},"panels":{"items":{"$ref":"#/components/schemas/Panel"},"type":"array","title":"Panels"},"scenes":{"items":{"$ref":"#/components/schemas/StoryboardScene"},"type":"array","title":"Scenes","default":[]}},"type":"object","required":["day","panels"],"title":"StoryboardDay"},"StoryboardMake":{"properties":{"captions":{"type":"string","enum":["model","none"],"title":"Captions"},"caption_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caption Model"},"remake":{"type":"boolean","title":"Remake","default":false}},"additionalProperties":false,"type":"object","required":["captions"],"title":"StoryboardMake"},"StoryboardScene":{"properties":{"meeting":{"type":"string","title":"Meeting"},"number":{"type":"integer","title":"Number"},"name":{"type":"string","title":"Name"},"brief":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brief"},"present":{"items":{"type":"string"},"type":"array","title":"Present"},"seq_from":{"type":"integer","title":"Seq From"},"seq_to":{"type":"integer","title":"Seq To"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"type":"object","required":["meeting","number","name","brief","present","seq_from","seq_to"],"title":"StoryboardScene","description":"PR 15: one scene of a day, as its heading shows it."},"StreamHeader":{"properties":{"run":{"$ref":"#/components/schemas/StreamRun"},"cast":{"items":{"$ref":"#/components/schemas/CastFigure"},"type":"array","title":"Cast"},"layers":{"additionalProperties":{"type":"integer"},"type":"object","title":"Layers"}},"type":"object","required":["run","cast","layers"],"title":"StreamHeader"},"StreamLink":{"properties":{"token":{"type":"string","title":"Token"},"path":{"type":"string","title":"Path"},"run_id":{"type":"string","format":"uuid","title":"Run Id"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"policy":{"additionalProperties":true,"type":"object","title":"Policy"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"}},"type":"object","required":["token","path","run_id","label","policy","created_at","revoked_at"],"title":"StreamLink"},"StreamLinkCreate":{"properties":{"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Label"},"policy":{"$ref":"#/components/schemas/StreamPolicy"}},"additionalProperties":false,"type":"object","title":"StreamLinkCreate"},"StreamLinkUpdate":{"properties":{"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Label"},"policy":{"$ref":"#/components/schemas/StreamPolicy"}},"additionalProperties":false,"type":"object","required":["policy"],"title":"StreamLinkUpdate"},"StreamPolicy":{"properties":{"layers":{"additionalProperties":{"type":"integer"},"propertyNames":{"enum":["public","backroom","notes","deals","confessionals","director"]},"type":"object","title":"Layers"}},"additionalProperties":false,"type":"object","title":"StreamPolicy"},"StreamRows":{"properties":{"rows":{"items":{"$ref":"#/components/schemas/FeedRow"},"type":"array","title":"Rows"},"cursor":{"type":"string","title":"Cursor"},"status":{"type":"string","enum":["queued","running","stopping","stopped","completed","failed","died"],"title":"Status"}},"type":"object","required":["rows","cursor","status"],"title":"StreamRows"},"StreamRun":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"label":{"type":"string","title":"Label"},"status":{"type":"string","enum":["queued","running","stopping","stopped","completed","failed","died"],"title":"Status"},"clock":{"anyOf":[{"$ref":"#/components/schemas/Clock"},{"type":"null"}]},"episode":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Episode"}},"type":"object","required":["id","title","label","status","clock"],"title":"StreamRun"},"StudentCriterionOut":{"properties":{"criterion_id":{"type":"string","format":"uuid","title":"Criterion Id"},"position":{"type":"integer","title":"Position"},"name":{"type":"string","title":"Name"},"scale":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Scale"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"},"why":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why"},"evidence":{"items":{"$ref":"#/components/schemas/app__presentation__marks__CiteOut"},"type":"array","title":"Evidence"}},"type":"object","required":["criterion_id","position","name","score","why","evidence"],"title":"StudentCriterionOut"},"StudentGradeOut":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email"},"status":{"type":"string","title":"Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"next_try_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Try At"},"sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sent At"}},"type":"object","required":["user_id","name","email","status"],"title":"StudentGradeOut"},"StudentIn":{"properties":{"email":{"type":"string","maxLength":320,"title":"Email"},"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Name"}},"type":"object","required":["email"],"title":"StudentIn"},"StudentMarksOut":{"properties":{"group_id":{"type":"string","format":"uuid","title":"Group Id"},"group_name":{"type":"string","title":"Group Name"},"case_title":{"type":"string","title":"Case Title"},"criteria":{"items":{"$ref":"#/components/schemas/StudentCriterionOut"},"type":"array","title":"Criteria"},"signed_at":{"type":"string","format":"date-time","title":"Signed At"}},"type":"object","required":["group_id","group_name","case_title","criteria","signed_at"],"title":"StudentMarksOut"},"StudentView":{"properties":{"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"case_title":{"type":"string","title":"Case Title"},"stage":{"type":"string","enum":["forming","uploading","vivas"],"title":"Stage"},"groups_locked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Groups Locked At"},"upload_deadline":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Upload Deadline"},"closes_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closes At"},"settings":{"additionalProperties":true,"type":"object","title":"Settings"},"consent_text":{"type":"string","title":"Consent Text"},"video_max_bytes":{"type":"integer","title":"Video Max Bytes"},"deck_max_bytes":{"type":"integer","title":"Deck Max Bytes"},"group":{"anyOf":[{"$ref":"#/components/schemas/app__presentation__groups__GroupOut"},{"type":"null"}]},"classmates":{"items":{"$ref":"#/components/schemas/Classmate"},"type":"array","title":"Classmates"}},"type":"object","required":["assignment_id","case_title","stage","groups_locked_at","upload_deadline","closes_at","settings","consent_text","video_max_bytes","deck_max_bytes","group","classmates"],"title":"StudentView","description":"A student's page for one presentation viva."},"StudioCriterionCreate":{"properties":{"name":{"type":"string","minLength":1,"title":"Name","description":"The criterion's name, e.g. Diagnose the problem. The grader scores it; the student sees it with their score."},"competency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Competency","description":"The skill it measures, e.g. Diagnosis. The grader reads it; the professor sees it on the cohort's scores."},"guidance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Guidance","description":"What a strong attempt does, for the grader, who is told the ladder decides the score. The professor sees it; the student does not."},"scale":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Scale","description":"The ladder: five rungs keyed 1 to 5, each what an attempt at that score does; all five or none. The grader scores by it; the student sees the rung they reached."},"applies_to":{"anyOf":[{"type":"string","enum":["presentation","viva"]},{"type":"null"}],"title":"Applies To"}},"type":"object","required":["name"],"title":"StudioCriterionCreate","description":"The Studio's new criterion. Kept apart from CriterionCreate, which the case\npackage's criterion extends with its own applies_to."},"SyncReport":{"properties":{"added":{"items":{"type":"string"},"type":"array","title":"Added"},"needs_email":{"items":{"$ref":"#/components/schemas/NeedsEmail"},"type":"array","title":"Needs Email"},"check_match":{"items":{"$ref":"#/components/schemas/CheckMatch"},"type":"array","title":"Check Match"},"no_longer_in_course":{"items":{"$ref":"#/components/schemas/Listed"},"type":"array","title":"No Longer In Course"},"back_in_course":{"items":{"type":"string"},"type":"array","title":"Back In Course"},"skipped":{"items":{"$ref":"#/components/schemas/app__canvas__roster__Skipped"},"type":"array","title":"Skipped"}},"type":"object","required":["added","needs_email","no_longer_in_course","back_in_course","skipped"],"title":"SyncReport"},"TakenOut":{"properties":{"removed_from":{"items":{"type":"string"},"type":"array","title":"Removed From"},"kept":{"items":{"$ref":"#/components/schemas/KeptCase"},"type":"array","title":"Kept"},"canvas":{"items":{"$ref":"#/components/schemas/CanvasRemoval"},"type":"array","title":"Canvas"},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","required":["removed_from","kept"],"title":"TakenOut","description":"What taking a case out (or a pack back) did, class by class."},"TelemetryEventIn":{"properties":{"type":{"type":"string","title":"Type"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"}},"type":"object","required":["type"],"title":"TelemetryEventIn"},"TelemetryIn":{"properties":{"events":{"items":{"$ref":"#/components/schemas/TelemetryEventIn"},"type":"array","maxItems":100,"title":"Events"}},"type":"object","title":"TelemetryIn","description":"A batch of client-side interaction traces (doc opens, focus shifts).\nOnly telemetry-class types are honoured; anything else is dropped."},"TimelineCard":{"properties":{"seq":{"type":"integer","title":"Seq"},"turn":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turn"},"weight":{"type":"integer","title":"Weight"},"text":{"type":"string","title":"Text"},"entries":{"items":{"$ref":"#/components/schemas/TimelineEntry"},"type":"array","title":"Entries"},"agreement":{"anyOf":[{"type":"string","enum":["both","A","B","chair","author"]},{"type":"null"}],"title":"Agreement"},"conflict":{"type":"boolean","title":"Conflict","default":false}},"additionalProperties":false,"type":"object","required":["seq","weight","text","entries"],"title":"TimelineCard","description":"One marked turn on the record: what happened there, and every criterion that said so.\n\nCards are made from `against` cites only — the misses and what to do instead.\n`for` cites stay on the criterion and render as marks on the turn, not cards."},"TimelineEntry":{"properties":{"criterion_id":{"type":"string","format":"uuid","title":"Criterion Id"},"criterion":{"type":"string","title":"Criterion"},"bearing":{"type":"string","enum":["for","against"],"title":"Bearing"},"note":{"type":"string","title":"Note"},"instead":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instead"},"pointer":{"anyOf":[{"$ref":"#/components/schemas/PointerOut"},{"type":"null"}]},"hint":{"anyOf":[{"$ref":"#/components/schemas/HintOut"},{"type":"null"}]},"action":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__grading__ActionOut"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["criterion_id","criterion","bearing","note"],"title":"TimelineEntry","description":"One criterion's word on one turn."},"TokenIn":{"properties":{"token":{"type":"string","maxLength":200,"minLength":1,"title":"Token"}},"type":"object","required":["token"],"title":"TokenIn"},"TraceGroup":{"properties":{"g":{"type":"string","title":"G"},"rows":{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array","title":"Rows"}},"additionalProperties":false,"type":"object","required":["g","rows"],"title":"TraceGroup"},"Tree":{"properties":{"root_run_id":{"type":"string","format":"uuid","title":"Root Run Id"},"nodes":{"items":{"$ref":"#/components/schemas/TreeNode"},"type":"array","title":"Nodes"}},"type":"object","required":["root_run_id","nodes"],"title":"Tree"},"TreeNode":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"parent_run_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Parent Run Id"},"label":{"type":"string","title":"Label"},"status":{"type":"string","enum":["queued","running","stopping","stopped","completed","failed","died"],"title":"Status"},"fork_at":{"anyOf":[{"$ref":"#/components/schemas/ForkPoint"},{"type":"null"}]},"seed_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Seed Summary"},"clock":{"anyOf":[{"$ref":"#/components/schemas/Clock"},{"type":"null"}]},"spend_usd":{"type":"number","title":"Spend Usd"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["run_id","parent_run_id","label","status","fork_at","seed_summary","clock","spend_usd","created_at"],"title":"TreeNode"},"TrialCreate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name","description":"The professor's name."},"prof_email":{"type":"string","format":"email","title":"Prof Email"},"student_email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Student Email","description":"Leave out for <prof>.student@trial.judgementlabs.app."},"case_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":20,"minItems":1,"title":"Case Ids"},"attempts":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Attempts","default":5},"expires_in_days":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Expires In Days","default":30}},"type":"object","required":["name","prof_email","case_ids"],"title":"TrialCreate"},"TrialCreatedOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"prof":{"$ref":"#/components/schemas/LoginOut"},"student":{"$ref":"#/components/schemas/LoginOut"},"cohort_name":{"type":"string","title":"Cohort Name"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"cases":{"items":{"$ref":"#/components/schemas/CopyOut"},"type":"array","title":"Cases"},"sign_in_url":{"type":"string","title":"Sign In Url"},"email_text":{"type":"string","title":"Email Text"}},"type":"object","required":["id","name","prof","student","cohort_name","expires_at","cases","sign_in_url","email_text"],"title":"TrialCreatedOut"},"TrialEndsOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["id","expires_at"],"title":"TrialEndsOut"},"TrialExtend":{"properties":{"days":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Days"}},"type":"object","required":["days"],"title":"TrialExtend"},"TrialOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"prof_email":{"type":"string","title":"Prof Email"},"student_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Student Email"},"cases":{"items":{"type":"string"},"type":"array","title":"Cases"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"ended":{"type":"boolean","title":"Ended"},"last_sign_in":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Sign In"},"attempts":{"type":"integer","title":"Attempts"},"cost_usd":{"type":"number","title":"Cost Usd"}},"type":"object","required":["id","name","prof_email","student_email","cases","created_at","expires_at","ended","last_sign_in","attempts","cost_usd"],"title":"TrialOut"},"Tripwire":{"properties":{"id":{"type":"string","title":"Id","description":"An id for the tripwire, e.g. tw-results. The panel tracks whether it has fired by it."},"title":{"type":"string","title":"Title","description":"A short label for the hot button; the reader of each turn sees it as a label. The actor and the grader don't.","default":""},"severity":{"type":"string","enum":["high","med","low"],"title":"Severity","description":"high, med or low (default med). When several fire at once, high gets the floor first; an unanswered high one keeps the panel from closing the session as resolved.","default":"med"},"when":{"type":"string","title":"When","description":"The exact student move that hits this actor's hot button, with any exception written in. Required. Checked after every turn, action and event; fires once.","default":""},"disarm_when":{"type":"string","title":"Disarm When","description":"Optional. Shown to the reader of each turn, but no rule acts on it — write any exception into when instead.","default":""},"seed":{"type":"string","title":"Seed","description":"The opening line this actor would use; shown to the professor in the Studio. The live panel does not read it.","default":""},"satisfied_when":{"type":"string","title":"Satisfied When","description":"When the actor's concern is dealt with: what the student's answer must show once it has fired. Required; the reader of each turn judges the answer against it.","default":""},"opens":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]}},"type":"object","required":["id"],"title":"Tripwire","description":"severity doubles as the spec's `priority`; `id` is client-generated and\nopaque to the server (React key / accordion identity)."},"TurnIn":{"properties":{"client_msg_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Msg Id"},"answers_seq":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Answers Seq"},"text":{"type":"string","maxLength":4000,"title":"Text","default":""},"thinking_ms":{"type":"integer","minimum":0.0,"title":"Thinking Ms","default":0},"citations":{"items":{"$ref":"#/components/schemas/Citation"},"type":"array","maxItems":6,"title":"Citations"},"pad_refs":{"items":{"type":"string"},"type":"array","maxItems":12,"title":"Pad Refs"}},"type":"object","title":"TurnIn"},"TurnOut":{"properties":{"events":{"items":{"$ref":"#/components/schemas/EventOut"},"type":"array","title":"Events"},"status":{"type":"string","title":"Status"},"student_ms":{"type":"integer","title":"Student Ms"},"elapsed_ms":{"type":"integer","title":"Elapsed Ms"},"clock_running":{"type":"boolean","title":"Clock Running"},"actions":{"anyOf":[{"items":{"$ref":"#/components/schemas/ActionCard"},"type":"array"},{"type":"null"}],"title":"Actions"},"counters":{"anyOf":[{"items":{"$ref":"#/components/schemas/CounterBalance"},"type":"array"},{"type":"null"}],"title":"Counters"},"answer_clock":{"anyOf":[{"$ref":"#/components/schemas/AnswerClock"},{"type":"null"}]}},"type":"object","required":["events","status","student_ms","elapsed_ms","clock_running"],"title":"TurnOut"},"UploadLinkOut":{"properties":{"filename":{"type":"string","title":"Filename"},"case_title":{"type":"string","title":"Case Title"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"type":"object","required":["filename","case_title","expires_at"],"title":"UploadLinkOut"},"UploadOut":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"deck_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deck Url"},"video_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Video Url"},"video_part_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Part Size"},"video_part_urls":{"items":{"type":"string"},"type":"array","title":"Video Part Urls"},"video_max_bytes":{"type":"integer","title":"Video Max Bytes"}},"type":"object","required":["session_id","expires_at","deck_url","video_url","video_part_size","video_part_urls","video_max_bytes"],"title":"UploadOut","description":"Where to PUT each file. Every link lasts until expires_at."},"Uploading":{"properties":{"by":{"type":"string","title":"By"},"mine":{"type":"boolean","title":"Mine"},"until":{"type":"string","format":"date-time","title":"Until"}},"type":"object","required":["by","mine","until"],"title":"Uploading","description":"An upload under way for the group."},"UserOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"role":{"type":"string","title":"Role"},"institution":{"$ref":"#/components/schemas/InstitutionOut"},"case_scope":{"type":"string","title":"Case Scope","default":"all"},"trial_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Trial Expires At"}},"type":"object","required":["id","email","name","role","institution"],"title":"UserOut"},"V3AnnotationDraftOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"annotation_object_id":{"type":"string","format":"uuid","title":"Annotation Object Id"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"phase":{"type":"string","enum":["blind","peer","final"],"title":"Phase"},"draft":{"$ref":"#/components/schemas/AnnotationPositionDraftIn"}},"additionalProperties":false,"type":"object","required":["id","annotation_object_id","assignment_id","phase","draft"],"title":"V3AnnotationDraftOut"},"V3AnnotationObjectOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"attempt_id":{"type":"integer","title":"Attempt Id"},"anchor_id":{"type":"string","title":"Anchor Id"},"display_turn_no":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Turn No"},"target_kind":{"type":"string","enum":["recorded_event","trajectory","attempt","rubric_criterion","candidate","candidate_pair"],"title":"Target Kind"},"target_id":{"type":"string","title":"Target Id"},"subject_type":{"type":"string","enum":["participant","actor","environment","trajectory","attempt"],"title":"Subject Type"},"subject_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Id"},"object_type":{"type":"string","enum":["utterance","tool_call","tool_result","action","action_sequence","trajectory_boundary","decision_space","rubric_criterion","actor_summary","conversation_summary","validity","attempt_outcome","reported_reasoning"],"title":"Object Type"},"dimension":{"type":"string","title":"Dimension"},"ontology_version":{"type":"string","title":"Ontology Version"},"immutable_context":{"additionalProperties":true,"type":"object","title":"Immutable Context"}},"additionalProperties":false,"type":"object","required":["id","attempt_id","anchor_id","display_turn_no","target_kind","target_id","subject_type","subject_id","object_type","dimension","ontology_version","immutable_context"],"title":"V3AnnotationObjectOut"},"V3AnnotationRevisionOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"annotation_object_id":{"type":"string","format":"uuid","title":"Annotation Object Id"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"phase":{"type":"string","enum":["blind","peer","final"],"title":"Phase"},"version":{"type":"integer","title":"Version"},"canonical_value":{"additionalProperties":true,"type":"object","title":"Canonical Value"},"rationale":{"type":"string","title":"Rationale"},"evidence_refs":{"items":{"type":"string"},"type":"array","title":"Evidence Refs"},"confidence":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Confidence"},"contestability":{"anyOf":[{"type":"string","enum":["expected_consensus","reasonable_disagreement","cannot_determine"]},{"type":"null"}],"title":"Contestability"},"causal_anchor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Causal Anchor Id"},"failure_families":{"items":{"type":"string"},"type":"array","title":"Failure Families"},"responds_to_revision_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Responds To Revision Id"},"response_stance":{"anyOf":[{"type":"string","enum":["agree","disagree"]},{"type":"null"}],"title":"Response Stance"},"ontology_version":{"type":"string","title":"Ontology Version"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","annotation_object_id","assignment_id","phase","version","canonical_value","rationale","evidence_refs","confidence","contestability","causal_anchor_id","failure_families","responds_to_revision_id","response_stance","ontology_version","created_at"],"title":"V3AnnotationRevisionOut"},"V3AssignmentOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"attempt_id":{"type":"integer","title":"Attempt Id"},"slot":{"type":"string","enum":["A","B"],"title":"Slot"},"reviewer_user_id":{"type":"string","format":"uuid","title":"Reviewer User Id"},"status":{"type":"string","enum":["open","locked"],"title":"Status"},"review_protocol_version":{"type":"string","title":"Review Protocol Version"}},"additionalProperties":false,"type":"object","required":["id","attempt_id","slot","reviewer_user_id","status","review_protocol_version"],"title":"V3AssignmentOut"},"V3CandidateOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"anchor_id":{"type":"string","title":"Anchor Id"},"prompted_by_annotation_object_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Prompted By Annotation Object Id"},"author_assignment_id":{"type":"string","format":"uuid","title":"Author Assignment Id"},"phase":{"type":"string","enum":["blind","peer"],"title":"Phase"},"candidate_kind":{"type":"string","enum":["alternative_answer","alternative_reported_reasoning","model_answer","known_bad_answer","alternative_tool_call","alternative_action","action_sequence","recovery_sequence","actor_question","actor_response"],"title":"Candidate Kind"},"state":{"type":"string","enum":["draft","locked"],"title":"State"},"typed_content":{"additionalProperties":true,"type":"object","title":"Typed Content"},"intended_goal":{"type":"string","title":"Intended Goal"},"required_evidence":{"items":{"type":"string"},"type":"array","title":"Required Evidence"},"derived_from_candidate_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Derived From Candidate Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["id","anchor_id","prompted_by_annotation_object_id","author_assignment_id","phase","candidate_kind","state","typed_content","intended_goal","required_evidence","derived_from_candidate_id","created_at","updated_at"],"title":"V3CandidateOut"},"V3CapabilitiesOut":{"properties":{"can_edit":{"type":"boolean","title":"Can Edit"},"can_edit_annotation":{"type":"boolean","title":"Can Edit Annotation"},"can_edit_coverage":{"type":"boolean","title":"Can Edit Coverage"},"can_create_annotation":{"type":"boolean","title":"Can Create Annotation"},"can_create_candidate":{"type":"boolean","title":"Can Create Candidate"},"can_create_note":{"type":"boolean","title":"Can Create Note"},"can_close_authorship":{"type":"boolean","title":"Can Close Authorship"},"can_submit":{"type":"boolean","title":"Can Submit"},"disabled_reasons":{"items":{"type":"string"},"type":"array","title":"Disabled Reasons"}},"additionalProperties":false,"type":"object","required":["can_edit","can_edit_annotation","can_edit_coverage","can_create_annotation","can_create_candidate","can_create_note","can_close_authorship","can_submit","disabled_reasons"],"title":"V3CapabilitiesOut"},"V3CoverageOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"phase":{"type":"string","enum":["blind","peer","final"],"title":"Phase"},"scope_key":{"type":"string","enum":["participant_turns","epistemic_tool_actions","actor_turns","trajectory_boundaries"],"title":"Scope Key"},"review_mode":{"type":"string","enum":["exception_only","exhaustive"],"title":"Review Mode"},"state":{"type":"string","enum":["reviewed_in_full","reviewed_in_part","not_reviewed","cannot_determine"],"title":"State"},"anchor_ids":{"items":{"type":"string"},"type":"array","title":"Anchor Ids"},"obligation_policy_version":{"type":"string","title":"Obligation Policy Version"},"locked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Locked At"}},"additionalProperties":false,"type":"object","required":["id","assignment_id","phase","scope_key","review_mode","state","anchor_ids","obligation_policy_version","locked_at"],"title":"V3CoverageOut"},"V3NoteOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"annotation_object_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Annotation Object Id"},"candidate_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Candidate Id"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"phase":{"type":"string","enum":["blind","peer","final"],"title":"Phase"},"note_kind":{"type":"string","enum":["clarification","additional_reasoning","disagreement","limitation","evidence_note"],"title":"Note Kind"},"state":{"type":"string","enum":["draft","locked"],"title":"State"},"body":{"type":"string","title":"Body"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["id","annotation_object_id","candidate_id","assignment_id","phase","note_kind","state","body","created_at","updated_at"],"title":"V3NoteOut"},"V3ObligationOut":{"properties":{"obligation_id":{"type":"string","title":"Obligation Id"},"assignment_id":{"type":"string","title":"Assignment Id"},"phase":{"type":"string","enum":["blind","peer","final"],"title":"Phase"},"kind":{"type":"string","enum":["annotation","candidate","coverage","workflow"],"title":"Kind"},"reason":{"type":"string","title":"Reason"},"deep_link":{"type":"string","title":"Deep Link"},"anchor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Anchor Id"},"annotation_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Annotation Object Id"},"candidate_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Candidate Id"},"scope_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope Key"},"target_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Kind"},"target_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Id"},"subject_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Type"},"subject_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Id"},"object_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Object Type"},"dimension":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dimension"},"candidate_kind":{"anyOf":[{"type":"string","enum":["alternative_answer","alternative_reported_reasoning","model_answer","known_bad_answer","alternative_tool_call","alternative_action","action_sequence","recovery_sequence","actor_question","actor_response"]},{"type":"null"}],"title":"Candidate Kind"}},"additionalProperties":false,"type":"object","required":["obligation_id","assignment_id","phase","kind","reason","deep_link"],"title":"V3ObligationOut"},"V3PeerAuthorshipClosureOut":{"properties":{"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"closed_at":{"type":"string","format":"date-time","title":"Closed At"}},"additionalProperties":false,"type":"object","required":["assignment_id","closed_at"],"title":"V3PeerAuthorshipClosureOut"},"V3PhaseSubmissionOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"phase":{"type":"string","enum":["blind","peer","final"],"title":"Phase"},"status":{"type":"string","enum":["submitted","not_required"],"title":"Status"},"submitted_at":{"type":"string","format":"date-time","title":"Submitted At"},"ontology_version":{"type":"string","title":"Ontology Version"}},"additionalProperties":false,"type":"object","required":["id","assignment_id","phase","status","submitted_at","ontology_version"],"title":"V3PhaseSubmissionOut"},"V3ProtocolOut":{"properties":{"protocol_version":{"type":"string","title":"Protocol Version"},"ontology_version":{"type":"string","title":"Ontology Version"},"copy_version":{"type":"string","title":"Copy Version"},"obligation_policy_version":{"type":"string","title":"Obligation Policy Version"},"resolver_version":{"type":"string","title":"Resolver Version"},"definitions":{"additionalProperties":true,"type":"object","title":"Definitions"}},"additionalProperties":false,"type":"object","required":["protocol_version","ontology_version","copy_version","obligation_policy_version","resolver_version","definitions"],"title":"V3ProtocolOut"},"V3ResolutionEventOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"annotation_object_id":{"type":"string","format":"uuid","title":"Annotation Object Id"},"event_type":{"type":"string","title":"Event Type"},"caused_by_revision_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Caused By Revision Ids"},"payload":{"additionalProperties":true,"type":"object","title":"Payload"},"resolver_version":{"type":"string","title":"Resolver Version"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["id","annotation_object_id","event_type","caused_by_revision_ids","payload","resolver_version","created_at"],"title":"V3ResolutionEventOut"},"V3ResolutionOut":{"properties":{"annotation_object_id":{"type":"string","format":"uuid","title":"Annotation Object Id"},"status":{"type":"string","title":"Status"},"checkpoint_phase":{"anyOf":[{"type":"string","enum":["blind","peer","final"]},{"type":"null"}],"title":"Checkpoint Phase"},"resolved_value":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Resolved Value"},"surviving_values":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Surviving Values"},"source_revision_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Source Revision Ids"},"resolver_version":{"type":"string","title":"Resolver Version"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["annotation_object_id","status","checkpoint_phase","resolved_value","surviving_values","source_revision_ids","resolver_version","updated_at"],"title":"V3ResolutionOut"},"V3ReviewBundleOut":{"properties":{"protocol":{"$ref":"#/components/schemas/V3ProtocolOut"},"attempt":{"$ref":"#/components/schemas/AttemptRef"},"case":{"$ref":"#/components/schemas/ReviewCase"},"current_assignment":{"$ref":"#/components/schemas/V3AssignmentOut"},"current_profile":{"$ref":"#/components/schemas/ReviewerProfileOut"},"authored_outcome_ids":{"items":{"type":"string"},"type":"array","title":"Authored Outcome Ids"},"outcome_contract_status":{"type":"string","enum":["known","missing"],"title":"Outcome Contract Status"},"rows":{"items":{"$ref":"#/components/schemas/ReviewRow"},"type":"array","title":"Rows"},"anchors":{"items":{"$ref":"#/components/schemas/AnchorSnapshot"},"type":"array","title":"Anchors"},"annotation_objects":{"items":{"$ref":"#/components/schemas/V3AnnotationObjectOut"},"type":"array","title":"Annotation Objects"},"drafts":{"items":{"$ref":"#/components/schemas/V3AnnotationDraftOut"},"type":"array","title":"Drafts"},"revisions":{"items":{"$ref":"#/components/schemas/V3AnnotationRevisionOut"},"type":"array","title":"Revisions"},"candidates":{"items":{"$ref":"#/components/schemas/V3CandidateOut"},"type":"array","title":"Candidates"},"notes":{"items":{"$ref":"#/components/schemas/V3NoteOut"},"type":"array","title":"Notes"},"coverage":{"items":{"$ref":"#/components/schemas/V3CoverageOut"},"type":"array","title":"Coverage"},"phase_submissions":{"items":{"$ref":"#/components/schemas/V3PhaseSubmissionOut"},"type":"array","title":"Phase Submissions"},"peer_authorship_closures":{"items":{"$ref":"#/components/schemas/V3PeerAuthorshipClosureOut"},"type":"array","title":"Peer Authorship Closures"},"obligations":{"items":{"$ref":"#/components/schemas/V3ObligationOut"},"type":"array","title":"Obligations"},"resolutions":{"items":{"$ref":"#/components/schemas/V3ResolutionOut"},"type":"array","title":"Resolutions"},"resolution_events":{"items":{"$ref":"#/components/schemas/V3ResolutionEventOut"},"type":"array","title":"Resolution Events"},"current_phase":{"anyOf":[{"type":"string","enum":["blind","peer","final"]},{"type":"null"}],"title":"Current Phase"},"queue_action":{"type":"string","enum":["continue_blind","waiting_for_partner","peer_review","final_positions","view_record"],"title":"Queue Action"},"blockers":{"items":{"$ref":"#/components/schemas/V3ObligationOut"},"type":"array","title":"Blockers"},"capabilities":{"$ref":"#/components/schemas/V3CapabilitiesOut"}},"additionalProperties":false,"type":"object","required":["protocol","attempt","case","current_assignment","current_profile","authored_outcome_ids","outcome_contract_status","rows","anchors","annotation_objects","drafts","revisions","candidates","notes","coverage","phase_submissions","peer_authorship_closures","obligations","resolutions","resolution_events","current_phase","queue_action","blockers","capabilities"],"title":"V3ReviewBundleOut"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerdictIn":{"properties":{"text":{"type":"string","title":"Text"}},"additionalProperties":false,"type":"object","required":["text"],"title":"VerdictIn"},"VersionCreate":{"properties":{"source":{"anyOf":[{"type":"string","maxLength":500000},{"type":"null"}],"title":"Source"}},"additionalProperties":false,"type":"object","title":"VersionCreate"},"VersionDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"number":{"type":"integer","title":"Number"},"title":{"type":"string","title":"Title"},"content_hash":{"type":"string","title":"Content Hash"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"document":{"additionalProperties":true,"type":"object","title":"Document"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"}},"type":"object","required":["id","number","title","content_hash","created_at","document","source"],"title":"VersionDetail"},"VersionRef":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"number":{"type":"integer","title":"Number"}},"type":"object","required":["id","number"],"title":"VersionRef"},"VersionSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"number":{"type":"integer","title":"Number"},"title":{"type":"string","title":"Title"},"content_hash":{"type":"string","title":"Content Hash"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","number","title","content_hash","created_at"],"title":"VersionSummary"},"VersionUpdate":{"properties":{"brief":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brief"},"tuning":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Tuning"},"counters":{"anyOf":[{"items":{"$ref":"#/components/schemas/CaseCounter"},"type":"array","maxItems":3},{"type":"null"}],"title":"Counters"},"planted_mistakes":{"anyOf":[{"items":{"$ref":"#/components/schemas/CasePlantedMistake"},"type":"array","maxItems":5},{"type":"null"}],"title":"Planted Mistakes"}},"type":"object","title":"VersionUpdate"},"VivaRoom":{"properties":{"group_id":{"type":"string","format":"uuid","title":"Group Id"},"assignment_id":{"type":"string","format":"uuid","title":"Assignment Id"},"answer_ms":{"type":"integer","title":"Answer Ms"},"pause_cap_ms":{"type":"integer","title":"Pause Cap Ms"}},"type":"object","required":["group_id","assignment_id","answer_ms","pause_cap_ms"],"title":"VivaRoom","description":"A presentation viva's room: the group whose presentation it shows (its slides and\nrecording come from /api/presentation/groups/{group_id}/media), the assignment to go\nback to, and the countdown settings the viva started with. With `student_ms` and\n`elapsed_ms` the room counts each answer down on the server's own clock: an answer's\nwindow is answer_ms, capped by the Q&A time left when the question landed."},"VivaSourceOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"pages":{"items":{"$ref":"#/components/schemas/Slide"},"type":"array","title":"Pages"},"by_group":{"type":"boolean","title":"By Group","default":false}},"type":"object","required":["id","name","pages"],"title":"VivaSourceOut","description":"One of the professor's sources, or one of the group's own papers, as a\nviva's room shows it: each page a link to its picture."},"VivaSourcesOut":{"properties":{"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"sources":{"items":{"$ref":"#/components/schemas/VivaSourceOut"},"type":"array","title":"Sources"}},"type":"object","required":["expires_at","sources"],"title":"VivaSourcesOut","description":"The viva's ready sources, links good until expires_at."},"WatchingIn":{"properties":{"playing":{"type":"boolean","title":"Playing"}},"type":"object","required":["playing"],"title":"WatchingIn","description":"The student started (true) or stopped (false) playing their recording or a clip."},"WatchingOut":{"properties":{"answer_clock":{"anyOf":[{"$ref":"#/components/schemas/AnswerClock"},{"type":"null"}]},"elapsed_ms":{"type":"integer","title":"Elapsed Ms"},"clock_running":{"type":"boolean","title":"Clock Running"}},"type":"object","required":["elapsed_ms","clock_running"],"title":"WatchingOut","description":"The countdown and the Q&A clock after a start or stop of watching."},"WorkingChainLineOut":{"properties":{"name":{"type":"string","title":"Name"},"meaning":{"type":"string","title":"Meaning","default":""},"working":{"type":"string","title":"Working","default":""},"value_text":{"type":"string","title":"Value Text","default":""},"source":{"type":"string","title":"Source","default":""},"theirs":{"type":"boolean","title":"Theirs","default":false}},"additionalProperties":false,"type":"object","required":["name"],"title":"WorkingChainLineOut","description":"One line of the case's own working for a quantity, as the check worked it out."},"WorkingFigureOut":{"properties":{"name":{"type":"string","title":"Name"},"label":{"type":"string","title":"Label"},"value_text":{"type":"string","title":"Value Text"},"document":{"type":"string","title":"Document"},"page":{"type":"integer","title":"Page"}},"additionalProperties":false,"type":"object","required":["name","label","value_text","document","page"],"title":"WorkingFigureOut","description":"A case figure a pad line uses: its name on the line, and where it is printed."},"WorkingLineOut":{"properties":{"line_id":{"type":"string","title":"Line Id"},"number":{"type":"integer","title":"Number"},"name":{"type":"string","title":"Name"},"formula":{"type":"string","title":"Formula"},"latex":{"type":"string","title":"Latex"},"value_text":{"type":"string","title":"Value Text","default":""},"working_latex":{"type":"string","title":"Working Latex","default":""},"error":{"type":"string","title":"Error","default":""},"figures":{"items":{"$ref":"#/components/schemas/WorkingFigureOut"},"type":"array","title":"Figures"},"shares":{"items":{"$ref":"#/components/schemas/WorkingShareOut"},"type":"array","title":"Shares"}},"additionalProperties":false,"type":"object","required":["line_id","number","name","formula","latex"],"title":"WorkingLineOut","description":"A line of the pad as it ended, worked out."},"WorkingOut":{"properties":{"lines":{"items":{"$ref":"#/components/schemas/WorkingLineOut"},"type":"array","title":"Lines"},"steps":{"items":{"$ref":"#/components/schemas/WorkingStepOut"},"type":"array","title":"Steps"}},"additionalProperties":false,"type":"object","required":["lines","steps"],"title":"WorkingOut","description":"The student's working pad: as it ended, and every step that built it."},"WorkingShareOut":{"properties":{"seq":{"type":"integer","title":"Seq"},"turn":{"type":"integer","title":"Turn"},"number":{"type":"integer","title":"Number"},"value_text":{"type":"string","title":"Value Text","default":""},"verdict":{"type":"string","title":"Verdict","default":""},"case_value":{"type":"string","title":"Case Value","default":""},"from_theirs":{"type":"string","title":"From Theirs","default":""},"chain":{"items":{"$ref":"#/components/schemas/WorkingChainLineOut"},"type":"array","title":"Chain"}},"additionalProperties":false,"type":"object","required":["seq","turn","number"],"title":"WorkingShareOut","description":"A pad line shared with a message: the turn, its value then, and the case's check\nof it (\"\" when the case has no check for it)."},"WorkingStepOut":{"properties":{"seq":{"type":"integer","title":"Seq"},"turn":{"type":"integer","title":"Turn"},"kind":{"type":"string","enum":["added","changed","removed","shared"],"title":"Kind"},"line_id":{"type":"string","title":"Line Id"},"number":{"type":"integer","title":"Number"},"name":{"type":"string","title":"Name"},"formula":{"type":"string","title":"Formula"},"latex":{"type":"string","title":"Latex"},"value_text":{"type":"string","title":"Value Text","default":""},"verdict":{"type":"string","title":"Verdict","default":""}},"additionalProperties":false,"type":"object","required":["seq","turn","kind","line_id","number","name","formula","latex"],"title":"WorkingStepOut","description":"One step that built the pad, with the line as it stood after it (before it, for a\nremoval). `turn`: the student's turns spoken by then; a share is that turn's."},"WorldCreate":{"properties":{"title":{"type":"string","maxLength":120,"minLength":1,"title":"Title"},"slug":{"anyOf":[{"type":"string","maxLength":64,"pattern":"^[a-z0-9_]+$"},{"type":"null"}],"title":"Slug"},"source":{"anyOf":[{"type":"string","maxLength":500000},{"type":"null"}],"title":"Source"}},"additionalProperties":false,"type":"object","required":["title"],"title":"WorldCreate"},"WorldDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"draft":{"$ref":"#/components/schemas/Draft"},"board":{"additionalProperties":true,"type":"object","title":"Board"},"versions":{"items":{"$ref":"#/components/schemas/VersionSummary"},"type":"array","title":"Versions"}},"type":"object","required":["id","slug","title","updated_at","draft","board","versions"],"title":"WorldDetail"},"WorldInput":{"properties":{"source":{"anyOf":[{"type":"string","maxLength":500000},{"type":"null"}],"title":"Source"},"document":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Document"}},"additionalProperties":false,"type":"object","title":"WorldInput","description":"A world to check: its text, or the document the cast board holds. Exactly one."},"WorldRef":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"}},"type":"object","required":["id","slug","title"],"title":"WorldRef"},"WorldSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"cast":{"items":{"$ref":"#/components/schemas/CastFigure"},"type":"array","title":"Cast"},"versions":{"type":"integer","title":"Versions"},"latest_version":{"anyOf":[{"$ref":"#/components/schemas/VersionSummary"},{"type":"null"}]},"runs":{"type":"integer","title":"Runs"}},"type":"object","required":["id","slug","title","updated_at","cast","versions","latest_version","runs"],"title":"WorldSummary"},"app__auth__oauth_api__ActionOut":{"properties":{"action":{"type":"string","title":"Action"},"case_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Case Title"},"at":{"type":"string","format":"date-time","title":"At"},"outcome":{"type":"string","title":"Outcome"}},"type":"object","required":["action","case_title","at","outcome"],"title":"ActionOut"},"app__auth__oauth_api__ConnectionOut":{"properties":{"client_id":{"type":"string","title":"Client Id"},"name":{"type":"string","title":"Name"},"connected_at":{"type":"string","format":"date-time","title":"Connected At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"recent_actions":{"items":{"$ref":"#/components/schemas/app__auth__oauth_api__ActionOut"},"type":"array","title":"Recent Actions"}},"type":"object","required":["client_id","name","connected_at","last_used_at","recent_actions"],"title":"ConnectionOut"},"app__bench__schemas__PartIn":{"properties":{"n":{"type":"integer","maximum":10000.0,"minimum":1.0,"title":"N"},"etag":{"type":"string","maxLength":200,"minLength":1,"title":"Etag"}},"additionalProperties":false,"type":"object","required":["n","etag"],"title":"PartIn"},"app__bench__schemas__UploadIn":{"properties":{"path":{"type":"string","maxLength":300,"minLength":1,"title":"Path"},"size":{"type":"integer","minimum":0.0,"title":"Size"},"content_type":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Content Type"},"role":{"anyOf":[{"type":"string","enum":["input","reference","test","fixture","solution"]},{"type":"null"}],"title":"Role"},"visibility":{"anyOf":[{"type":"string","enum":["agent","private"]},{"type":"null"}],"title":"Visibility"}},"additionalProperties":false,"type":"object","required":["path","size"],"title":"UploadIn"},"app__canvas__api__ConnectionOut":{"properties":{"ready":{"type":"boolean","title":"Ready"},"connected":{"type":"boolean","title":"Connected"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"token_last4":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Last4"},"last_checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Checked At"}},"type":"object","required":["ready","connected"],"title":"ConnectionOut"},"app__canvas__api__PublishIn":{"properties":{"outcome_id":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Outcome Id"},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","title":"PublishIn"},"app__canvas__api__PublishOut":{"properties":{"class_id":{"type":"string","format":"uuid","title":"Class Id"},"course_id":{"type":"string","title":"Course Id"},"host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host"},"dry_run":{"type":"boolean","title":"Dry Run"},"outcome":{"anyOf":[{"$ref":"#/components/schemas/OutcomeOut"},{"type":"null"}]},"cases":{"items":{"$ref":"#/components/schemas/CasePlan"},"type":"array","title":"Cases"},"roster":{"anyOf":[{"$ref":"#/components/schemas/SyncReport"},{"type":"null"}]}},"type":"object","required":["class_id","course_id","host","dry_run","outcome","cases"],"title":"PublishOut"},"app__canvas__roster__Skipped":{"properties":{"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["name","email","reason"],"title":"Skipped"},"app__classes__Skipped":{"properties":{"row":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Row"},"value":{"type":"string","title":"Value"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["value","reason"],"title":"Skipped"},"app__pitch__api__NoteIn":{"properties":{"step":{"type":"string","pattern":"^(client|research|deck|script|film|publish)$","title":"Step"},"text":{"type":"string","maxLength":20000,"title":"Text","default":""},"links":{"items":{"type":"string"},"type":"array","maxItems":30,"title":"Links"},"pastedText":{"type":"string","maxLength":60000,"title":"Pastedtext","default":""}},"type":"object","required":["step"],"title":"NoteIn"},"app__pitch__api__PublishIn":{"properties":{"slugPrefix":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Slugprefix"},"tagline":{"anyOf":[{"type":"string","maxLength":140},{"type":"null"}],"title":"Tagline"}},"type":"object","title":"PublishIn"},"app__pitch__api__SettingsIn":{"properties":{"models":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object","title":"Models","default":{}},"voice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice"},"signalSearches":{"anyOf":[{"type":"integer","maximum":20.0,"minimum":1.0},{"type":"null"}],"title":"Signalsearches"}},"type":"object","title":"SettingsIn"},"app__presentation__groups__GroupOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"members":{"items":{"$ref":"#/components/schemas/Member"},"type":"array","title":"Members"},"status":{"type":"string","title":"Status"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"who_did_what":{"additionalProperties":{"type":"string"},"type":"object","title":"Who Did What"},"slides":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Slides"},"uploaded_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uploaded By"},"uploaded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Uploaded At"},"uploading":{"anyOf":[{"$ref":"#/components/schemas/Uploading"},{"type":"null"}]},"submitted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submitted At"},"submitted_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Submitted By"},"reopened_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reopened At"},"papers":{"items":{},"type":"array","title":"Papers"},"presentation_mark":{"anyOf":[{},{"type":"null"}],"title":"Presentation Mark"}},"type":"object","required":["id","name","members","status","error","who_did_what","slides","uploaded_by","uploaded_at","uploading"],"title":"GroupOut"},"app__presentation__groups__PartIn":{"properties":{"n":{"type":"integer","minimum":1.0,"title":"N"},"etag":{"type":"string","maxLength":200,"minLength":1,"title":"Etag"}},"type":"object","required":["n","etag"],"title":"PartIn"},"app__presentation__groups__SettingsIn":{"properties":{"upload_deadline":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Upload Deadline"},"qa_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Qa Minutes"},"answer_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Answer Seconds"},"video_retention_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Retention Days"}},"type":"object","title":"SettingsIn","description":"What to change; what is left out stays as it is."},"app__presentation__groups__UploadIn":{"properties":{"deck":{"anyOf":[{"$ref":"#/components/schemas/FileIn"},{"type":"null"}]},"video":{"anyOf":[{"$ref":"#/components/schemas/FileIn"},{"type":"null"}]}},"type":"object","title":"UploadIn"},"app__presentation__marks__CiteOut":{"properties":{"slide":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Slide"},"from_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"From Seconds"},"to_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"To Seconds"},"document":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"page":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page"},"bearing":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bearing"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","title":"CiteOut"},"app__presentation__marks__CorrectionIn":{"properties":{"score":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Score"},"reason":{"type":"string","maxLength":4000,"title":"Reason"},"evidence":{"items":{"$ref":"#/components/schemas/MarkCite"},"type":"array","maxItems":20,"title":"Evidence"}},"additionalProperties":false,"type":"object","required":["score","reason"],"title":"CorrectionIn"},"app__presentation__marks__CorrectionOut":{"properties":{"score":{"type":"integer","title":"Score"},"reasoning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning"},"evidence":{"items":{"$ref":"#/components/schemas/app__presentation__marks__CiteOut"},"type":"array","title":"Evidence"},"by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"By"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"}},"type":"object","required":["score","reasoning","evidence","by","at"],"title":"CorrectionOut"},"app__presentation__marks__SeatOut":{"properties":{"label":{"type":"string","enum":["A","B","chair"],"title":"Label"},"verdict":{"$ref":"#/components/schemas/app__presentation__marks__VerdictOut"},"retried":{"type":"boolean","title":"Retried","default":false},"refused":{"type":"boolean","title":"Refused","default":false}},"type":"object","required":["label","verdict"],"title":"SeatOut"},"app__presentation__marks__SignoffOut":{"properties":{"signed_by":{"type":"string","title":"Signed By"},"signed_at":{"type":"string","format":"date-time","title":"Signed At"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"overrides":{"type":"integer","title":"Overrides"},"criteria_count":{"type":"integer","title":"Criteria Count"},"policy_version":{"type":"string","title":"Policy Version"}},"type":"object","required":["signed_by","signed_at","note","overrides","criteria_count","policy_version"],"title":"SignoffOut"},"app__presentation__marks__VerdictOut":{"properties":{"why":{"type":"string","title":"Why"},"evidence":{"items":{"$ref":"#/components/schemas/app__presentation__marks__CiteOut"},"type":"array","title":"Evidence"},"abstain_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Abstain Reason"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"}},"type":"object","required":["why","evidence"],"title":"VerdictOut"},"app__schemas__engine__ActionCost":{"properties":{"counter_id":{"type":"string","title":"Counter Id"},"label":{"type":"string","title":"Label"},"amount":{"type":"integer","title":"Amount"},"text":{"type":"string","title":"Text"}},"type":"object","required":["counter_id","label","amount","text"],"title":"ActionCost","description":"What taking an action spends from one running total, ready to show:\n`text` is the amount with its unit (\"$600\")."},"app__schemas__engine__NoteIn":{"properties":{"doc":{"type":"string","pattern":"^(notes|action:[0-9a-f-]{36})$","title":"Doc"},"data":{"type":"string","title":"Data"}},"type":"object","required":["doc","data"],"title":"NoteIn","description":"One Yjs update to a group's shared note, base64. `doc` names the note:\n\"notes\", the group's notepad, or \"action:<id>\", the draft of that action's note."},"app__schemas__engine__PersonOut":{"properties":{"contact_id":{"type":"string","title":"Contact Id"},"name":{"type":"string","title":"Name"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"}},"type":"object","required":["contact_id","name"],"title":"PersonOut","description":"Someone off the panel the student can talk to privately: who they are, never\nwhat they know."},"app__schemas__grading__ActionOut":{"properties":{"action_id":{"type":"string","title":"Action Id"},"name":{"type":"string","title":"Name"},"terminal":{"type":"boolean","title":"Terminal","default":false}},"additionalProperties":false,"type":"object","required":["action_id","name"],"title":"ActionOut","description":"An action of the case: the move the student should have made, by name."},"app__schemas__grading__CiteOut":{"properties":{"seq":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seq"},"turn":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turn"},"bearing":{"type":"string","enum":["for","against"],"title":"Bearing"},"note":{"type":"string","title":"Note"},"instead":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instead"},"pointer":{"anyOf":[{"$ref":"#/components/schemas/PointerOut"},{"type":"null"}]},"hint":{"anyOf":[{"$ref":"#/components/schemas/HintOut"},{"type":"null"}]},"action":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__grading__ActionOut"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["bearing","note"],"title":"CiteOut"},"app__schemas__grading__CohortOut":{"properties":{"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"title":{"type":"string","title":"Title"},"cohorts":{"items":{"type":"string"},"type":"array","title":"Cohorts"},"counts":{"$ref":"#/components/schemas/CohortCountsOut"},"criteria":{"items":{"$ref":"#/components/schemas/CohortCriterionOut"},"type":"array","title":"Criteria"},"distribution":{"items":{"$ref":"#/components/schemas/CohortDistributionOut"},"type":"array","title":"Distribution"},"council":{"$ref":"#/components/schemas/CohortCouncilOut"},"attempts":{"items":{"$ref":"#/components/schemas/CohortAttemptOut"},"type":"array","title":"Attempts"}},"additionalProperties":false,"type":"object","required":["scenario_id","title","cohorts","counts","criteria","distribution","council","attempts"],"title":"CohortOut"},"app__schemas__grading__CorrectionIn":{"properties":{"score":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Score"},"reasoning":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Reasoning"},"evidence_seqs":{"items":{"type":"integer"},"type":"array","title":"Evidence Seqs"}},"additionalProperties":false,"type":"object","required":["score"],"title":"CorrectionIn"},"app__schemas__grading__CorrectionOut":{"properties":{"score":{"type":"integer","title":"Score"},"reasoning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning"},"evidence_seqs":{"items":{"type":"integer"},"type":"array","title":"Evidence Seqs"},"by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"By"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"}},"additionalProperties":false,"type":"object","required":["score"],"title":"CorrectionOut"},"app__schemas__grading__PersonOut":{"properties":{"name":{"type":"string","title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"additionalProperties":false,"type":"object","required":["name"],"title":"PersonOut"},"app__schemas__grading__SeatOut":{"properties":{"label":{"type":"string","enum":["A","B"],"title":"Label"},"procedure":{"type":"string","title":"Procedure"},"verdict":{"$ref":"#/components/schemas/app__schemas__grading__VerdictOut"},"retried":{"type":"boolean","title":"Retried"},"refused":{"type":"boolean","title":"Refused"}},"additionalProperties":false,"type":"object","required":["label","procedure","verdict","retried","refused"],"title":"SeatOut"},"app__schemas__grading__SignoffOut":{"properties":{"signed_by":{"type":"string","title":"Signed By"},"signed_at":{"type":"string","format":"date-time","title":"Signed At"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"overrides":{"type":"integer","title":"Overrides"},"criteria_count":{"type":"integer","title":"Criteria Count"},"policy_version":{"type":"string","title":"Policy Version"}},"additionalProperties":false,"type":"object","required":["signed_by","signed_at","overrides","criteria_count","policy_version"],"title":"SignoffOut"},"app__schemas__grading__VerdictOut":{"properties":{"why":{"type":"string","title":"Why"},"evidence":{"items":{"$ref":"#/components/schemas/app__schemas__grading__CiteOut"},"type":"array","title":"Evidence"},"improve":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__grading__CiteOut"},{"type":"null"}]},"abstain_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Abstain Reason"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"}},"additionalProperties":false,"type":"object","required":["why","evidence"],"title":"VerdictOut"},"app__schemas__groups__CohortOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"students":{"type":"integer","title":"Students"},"groups":{"type":"integer","title":"Groups"}},"type":"object","required":["id","name","students","groups"],"title":"CohortOut"},"app__schemas__groups__GroupOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"member_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Member Ids"},"attempted":{"type":"boolean","title":"Attempted","default":false},"live":{"type":"boolean","title":"Live","default":false}},"type":"object","required":["id","name","member_ids"],"title":"GroupOut"},"app__schemas__publish__PublishOut":{"properties":{"version_id":{"type":"string","format":"uuid","title":"Version Id"},"version":{"type":"integer","title":"Version"},"published_at":{"type":"string","format":"date-time","title":"Published At"},"warnings":{"items":{"$ref":"#/components/schemas/CompileIssue"},"type":"array","title":"Warnings","default":[]},"research_notes":{"items":{"type":"string"},"type":"array","title":"Research Notes","default":[]}},"type":"object","required":["version_id","version","published_at"],"title":"PublishOut"},"app__schemas__studio__ActionCost":{"properties":{"counter_id":{"type":"string","minLength":1,"title":"Counter Id"},"amount":{"type":"integer","maximum":1000000000000.0,"minimum":1.0,"title":"Amount"}},"additionalProperties":false,"type":"object","required":["counter_id","amount"],"title":"ActionCost","description":"What taking an action spends from one running total, by its counter_id."},"app__schemas__studio__ActionOut":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"output_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Text"},"is_terminal":{"type":"boolean","title":"Is Terminal"},"result":{"$ref":"#/components/schemas/ActionResult","default":{"time_skip":"","note":"","reveal_doc_ids":[]}},"requires_student_note":{"type":"boolean","title":"Requires Student Note"},"opens":{"anyOf":[{"$ref":"#/components/schemas/Condition"},{"type":"null"}]},"costs":{"items":{"$ref":"#/components/schemas/app__schemas__studio__ActionCost"},"type":"array","title":"Costs","default":[]},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","name","output_text","is_terminal","requires_student_note","created_at"],"title":"ActionOut"}}}}